Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/avs/dscfglockd/
H A Ddscfglockd.c100 #define lock_wanted lock_queue[0] macro
410 send_lockmsg(ackmessage, (pid_t)0, &lock_wanted.remote, 0); in take_lock()
422 if (lock_wanted.state != STATE_ASKED) in check_for_write_lock()
432 if (wait == 0 && lock_wanted.type == LOCK_WRITE) { in check_for_write_lock()
434 the_lock.holding_pid[0] = lock_wanted.pid; in check_for_write_lock()
481 if (lock_wanted.type == LOCK_READ) { in try_lock()
483 the_lock.holding_pid[i] = lock_wanted.pid; in try_lock()
496 if (lock_wanted.type == LOCK_READ) { in try_lock()
498 the_lock.holding_pid[0] = lock_wanted.pid; in try_lock()
506 if (islocalhost(&lock_wanted.remote)) { in try_lock()
[all …]