Lines Matching refs:LOCK_READ
155 case LOCK_READ: return "Read"; in lockd_type()
480 case LOCK_READ: in try_lock()
481 if (lock_wanted.type == LOCK_READ) { in try_lock()
496 if (lock_wanted.type == LOCK_READ) { in try_lock()
500 the_lock.type = LOCK_READ; in try_lock()
638 case LOCK_READ: in lock_stat()
715 the_lock.type == LOCK_READ) && in local_lock()
781 if (the_lock.type == LOCK_READ) { in local_unlock()
842 case LOCK_READ: in lockedby()
843 send_lockmsg(LOCK_READ, the_lock.holding_pid[0], d, seq); in lockedby()
979 case LOCK_READ: in dispatch()
982 local_lock(LOCK_READ, mp, host); in dispatch()