Searched refs:holding_pid (Results 1 – 1 of 1) sorted by relevance
117 pid_t holding_pid[MAX_LOCAL]; member434 the_lock.holding_pid[0] = lock_wanted.pid; in check_for_write_lock()483 the_lock.holding_pid[i] = lock_wanted.pid; in try_lock()498 the_lock.holding_pid[0] = lock_wanted.pid; in try_lock()651 the_lock.holding_pid[i]); in lock_stat()716 the_lock.holding_pid[0] == msg->pid) { in local_lock()784 if (the_lock.holding_pid[i] == pid) { in local_unlock()792 the_lock.holding_pid[i] = the_lock.holding_pid[i+1]; in local_unlock()798 if (pid != the_lock.holding_pid[0]) in local_unlock()800 the_lock.holding_pid[0] = (pid_t)0; in local_unlock()[all …]