Lines Matching refs:LOCK_WRITE
156 case LOCK_WRITE: return "Write"; in lockd_type()
393 if (the_lock.type == LOCK_WRITE && the_lock.remote_daemon == NULL) in daemon_alive()
432 if (wait == 0 && lock_wanted.type == LOCK_WRITE) { in check_for_write_lock()
433 the_lock.type = LOCK_WRITE; in check_for_write_lock()
449 the_lock.type == LOCK_WRITE) { in lock_granted()
461 if ((the_lock.type != LOCK_WRITE && in lock_granted()
463 (the_lock.type == LOCK_WRITE && in lock_granted()
492 case LOCK_WRITE: in try_lock()
526 the_lock.type = LOCK_WRITE; in try_lock()
623 if (the_lock.type != LOCK_WRITE) in queue_lock()
641 case LOCK_WRITE: in lock_stat()
714 (the_lock.type == LOCK_WRITE || in local_lock()
733 queue_lock(LOCK_WRITE, msg, (daemonaddr_t *)remote); in remote_lock()
822 if (lrp->type == LOCK_WRITE && in remote_unlock()
845 case LOCK_WRITE: in lockedby()
846 send_lockmsg(LOCK_WRITE, the_lock.holding_pid[0], d, seq); in lockedby()
928 if (the_lock.type == LOCK_WRITE && in keepalive()
984 case LOCK_WRITE: in dispatch()
987 local_lock(LOCK_WRITE, mp, host); in dispatch()