Home
last modified time | relevance | path

Searched refs:lock_sem (Results 1 – 2 of 2) sorted by relevance

/haiku/src/add-ons/kernel/busses/scsi/usb/
H A Dusb_scsi.c302 udi->lock_sem =
305 if((udi->lock_sem = create_sem(0, name)) >= 0){
309 release_sem(udi->lock_sem);
314 status = udi->lock_sem;
318 if(udi->lock_sem >= 0)
319 delete_sem(udi->lock_sem);
342 delete_sem(udi->lock_sem);
473 acquire_sem(udi->lock_sem); /* wait for possible I/O operation complete */
753 if((status = acquire_sem(udi->lock_sem)) != B_OK){
782 release_sem(udi->lock_sem);
[all …]
H A Ddevice_info.h36 sem_id lock_sem; /**/ member