Searched defs:READ_LOCK (Results 1 - 4 of 4) sorted by relevance
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | rwlock.c | 31 #define READ_LOCK 0 macro 33 #define READ_LOCK_TRY (READ_LOCK | TRY_FLAG) 513 ASSERT(rd_wr == READ_LOCK || rd_wr == WRITE_LOCK); 526 if (rd_wr == READ_LOCK) { 551 if (rd_wr == READ_LOCK) { 589 ASSERT(rd_wr == READ_LOCK || rd_wr == WRITE_LOCK); 599 if (rd_wr == READ_LOCK) { 747 error = shared_rwlock_lock(rwlp, tsp, READ_LOCK); 749 error = rwlock_lock(rwlp, tsp, READ_LOCK); 758 DTRACE_PROBE2(plockstat, rw__acquire, rwlp, READ_LOCK); [all...] |
/illumos-gate/usr/src/cmd/avs/dscfglockd/ |
H A D | dscfglockd.c | 104 #define READ_LOCK 0x11 macro 182 case READ_LOCK: return "ReadLock"; 978 case READ_LOCK: 980 DPF((stderr, "received READ_LOCK\n"));
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | lwp_sobj.c | 2233 #define READ_LOCK 0 macro 2236 #define READ_LOCK_TRY (READ_LOCK | TRY_FLAG) 2412 if ((rd_wr != READ_LOCK) && (rd_wr != WRITE_LOCK)) { 2502 if (rd_wr == READ_LOCK) { 2509 } else if (rd_wr == READ_LOCK) { 2801 return (lwp_rwlock_lock(rwlp, tsp, READ_LOCK));
|
/illumos-gate/usr/src/lib/libfru/libfru/ |
H A D | libfru.cc | 102 typedef enum { WRITE_LOCK, READ_LOCK } lock_mode_t; enumerator in enum:__anon3247 251 case READ_LOCK: 837 if (lock_container(READ_LOCK, container) != FRU_SUCCESS) { 951 if (lock_container(READ_LOCK, container) != FRU_SUCCESS) { 1008 if (lock_container(READ_LOCK, container) != FRU_SUCCESS) { 1085 if (lock_container(READ_LOCK, container) != FRU_SUCCESS) { 1640 if (lock_container(READ_LOCK, container) != FRU_SUCCESS) { 1795 if (lock_container(READ_LOCK, container) != FRU_SUCCESS) {
|
Completed in 73 milliseconds