Lines Matching refs:lock
878 CRITICAL_SECTION lock; member
897 InitializeCriticalSection( &buffer->lock ); in bip_buffer_init()
919 DeleteCriticalSection( &bip->lock ); in bip_buffer_done()
933 EnterCriticalSection( &bip->lock ); in bip_buffer_write()
937 LeaveCriticalSection( &bip->lock ); in bip_buffer_write()
953 EnterCriticalSection( &bip->lock ); in bip_buffer_write()
1006 LeaveCriticalSection( &bip->lock ); in bip_buffer_write()
1021 EnterCriticalSection( &bip->lock ); in bip_buffer_read()
1025 LeaveCriticalSection( &bip->lock ); in bip_buffer_read()
1030 LeaveCriticalSection( &bip->lock ); in bip_buffer_read()
1046 EnterCriticalSection( &bip->lock ); in bip_buffer_read()
1099 LeaveCriticalSection( &bip->lock ); in bip_buffer_read()