Home
last modified time | relevance | path

Searched refs:hold_count (Results 1 – 4 of 4) sorted by relevance

/netbsd-src/external/bsd/unbound/dist/testcode/
H A Dchecklocks.c359 if(e->hold_count != 0) in checklock_destroy()
407 lock->hold_count ++; in finish_acquire_lock()
455 if(exclusive && lock->hold_count > 0 && lock->holder == thr) in checklock_lockit()
480 if(exclusive && lock->hold_count > 0) in checklock_lockit()
602 if(lock->hold_count <= 0) in checklock_unlock()
607 lock->hold_count --; in checklock_unlock()
779 lock->hold_count, lock->wait_count); in lock_debug_info()
H A Dchecklocks.h140 int hold_count; member
/netbsd-src/sys/nfs/
H A Dnfs_iod.c225 int hold_count; in nfs_set_niothreads() local
227 KERNEL_UNLOCK_ALL(curlwp, &hold_count); in nfs_set_niothreads()
271 KERNEL_LOCK(hold_count, curlwp); in nfs_set_niothreads()
/netbsd-src/sys/dev/ieee1394/
H A Dfirewire.c71 int firewire_debug = 0, try_bmr = 1, hold_count = 0; variable
104 NULL, 0, &hold_count,
2079 fwdev->rcnt, hold_count); in fw_attach_dev()
2098 if (fwdev->rcnt > 0 && fwdev->rcnt > hold_count) { in fw_attach_dev()