Lines Matching refs:lock
871 CRITICAL_SECTION lock; member
890 InitializeCriticalSection( &buffer->lock ); in bip_buffer_init()
912 DeleteCriticalSection( &bip->lock ); in bip_buffer_done()
926 EnterCriticalSection( &bip->lock ); in bip_buffer_write()
930 LeaveCriticalSection( &bip->lock ); in bip_buffer_write()
946 EnterCriticalSection( &bip->lock ); in bip_buffer_write()
999 LeaveCriticalSection( &bip->lock ); in bip_buffer_write()
1014 EnterCriticalSection( &bip->lock ); in bip_buffer_read()
1018 LeaveCriticalSection( &bip->lock ); in bip_buffer_read()
1023 LeaveCriticalSection( &bip->lock ); in bip_buffer_read()
1039 EnterCriticalSection( &bip->lock ); in bip_buffer_read()
1092 LeaveCriticalSection( &bip->lock ); in bip_buffer_read()