Lines Matching refs:nholders
113 int nholders; member
259 return ((the_lock.nholders > 0) && the_lock.remote_daemon != NULL && in addr_is_holder()
435 the_lock.nholders = 1; in check_for_write_lock()
482 i = the_lock.nholders++; in try_lock()
486 the_lock.nholders)); in try_lock()
499 the_lock.nholders = 1; in try_lock()
528 the_lock.nholders = 1; in try_lock()
647 the_lock.nholders); in lock_stat()
648 if (the_lock.nholders > 0) { in lock_stat()
649 for (i = 0; i < the_lock.nholders; i++) in lock_stat()
765 the_lock.nholders = 0; in xxunlock()
783 for (i = 0; i < the_lock.nholders; i++) { in local_unlock()
786 the_lock.nholders)); in local_unlock()
787 --the_lock.nholders; in local_unlock()
791 for (; i < the_lock.nholders; i++) { in local_unlock()
794 if (the_lock.nholders > 0) in local_unlock()
898 (void) printf(" no. holders: %d\n", the_lock.nholders); in keepalive()
902 for (i = 0; i < the_lock.nholders; i++) { in keepalive()