ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

lock.c
Go to the documentation of this file.
00001 /*
00002  * COPYRIGHT:   See COPYING in the top level directory
00003  * PROJECT:     ReactOS TCP/IP protocol driver
00004  * FILE:        tcpip/lock.c
00005  * PURPOSE:     Locking and unlocking
00006  * PROGRAMMERS: Art Yerkes
00007  * REVISIONS:
00008  */
00009 #include "precomp.h"
00010 
00011 KIRQL TcpipGetCurrentIrql() { return KeGetCurrentIrql(); }
00012 
00013 VOID TcpipInitializeSpinLock( PKSPIN_LOCK SpinLock ) {
00014     KeInitializeSpinLock( SpinLock );
00015 }
00016 
00017 VOID TcpipAcquireSpinLock( PKSPIN_LOCK SpinLock, PKIRQL Irql ) {
00018     KeAcquireSpinLock( SpinLock, Irql );
00019 }
00020 
00021 VOID TcpipAcquireSpinLockAtDpcLevel( PKSPIN_LOCK SpinLock ) {
00022     KeAcquireSpinLockAtDpcLevel( SpinLock );
00023 }
00024 
00025 VOID TcpipReleaseSpinLock( PKSPIN_LOCK SpinLock, KIRQL Irql ) {
00026     KeReleaseSpinLock( SpinLock, Irql );
00027 }
00028 
00029 VOID TcpipReleaseSpinLockFromDpcLevel( PKSPIN_LOCK SpinLock ) {
00030     KeReleaseSpinLockFromDpcLevel( SpinLock );
00031 }
00032 
00033 VOID TcpipInterlockedInsertTailList( PLIST_ENTRY ListHead,
00034                      PLIST_ENTRY Item,
00035                      PKSPIN_LOCK Lock ) {
00036     ExInterlockedInsertTailList( ListHead, Item, Lock );
00037 }
00038 
00039 VOID TcpipAcquireFastMutex( PFAST_MUTEX Mutex ) {
00040     ExAcquireFastMutex( Mutex );
00041 }
00042 
00043 VOID TcpipReleaseFastMutex( PFAST_MUTEX Mutex ) {
00044     ExReleaseFastMutex( Mutex );
00045 }
00046 

Generated on Sat May 26 2012 04:22:58 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.