Searched refs:lock_state (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dplock.c50 static int lock_state = 0; /* lock state */ variable
71 lock_state = 0;
85 if (lock_state == 0) {
95 lock_state = 0;
109 if ((lock_state & TXTLOCK) || (lock_state & PROCLOCK)) {
122 lock_state |= TXTLOCK;
136 if ((lock_state & DATLOCK) || (lock_state & PROCLOCK)) {
173 lock_state |
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dplock.c60 static int lock_state = 0; /* lock state */ variable
175 lock_state = 0;
189 if (lock_state == 0) {
196 lock_state = 0;
209 if ((lock_state & TXTLOCK) || (lock_state & PROCLOCK)) {
222 lock_state |= TXTLOCK;
235 if ((lock_state & DATLOCK) || (lock_state & PROCLOCK)) {
291 lock_state |
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dlockinst.c80 static unsigned int lock_state; variable
136 lock_state = ST_OK;
140 lock_name, lock_pkg, lock_place, &lock_state);
219 if (lock_state != 0) {
/illumos-gate/usr/src/uts/common/os/
H A Dflock.c3641 * associated with a particular set of identifiers. If lock_state != 0, then
3642 * only locks that match the lock_state are returned. If lock_state == 0, then
3660 get_lock_list(int list_type, int lock_state, int sysid, boolean_t use_sysid, argument
3714 if (lock_state && !(lock_state & lock->l_state))

Completed in 58 milliseconds