Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libc/port/threads/
H A Drwlock.c31 #define READ_LOCK 0 macro
33 #define READ_LOCK_TRY (READ_LOCK | TRY_FLAG)
513 ASSERT(rd_wr == READ_LOCK || rd_wr == WRITE_LOCK); in shared_rwlock_lock()
526 if (rd_wr == READ_LOCK) { in shared_rwlock_lock()
551 if (rd_wr == READ_LOCK) { in shared_rwlock_lock()
589 ASSERT(rd_wr == READ_LOCK || rd_wr == WRITE_LOCK); in rwlock_lock()
599 if (rd_wr == READ_LOCK) { in rwlock_lock()
747 error = shared_rwlock_lock(rwlp, tsp, READ_LOCK); in rw_rdlock_impl()
749 error = rwlock_lock(rwlp, tsp, READ_LOCK); in rw_rdlock_impl()
758 DTRACE_PROBE2(plockstat, rw__acquire, rwlp, READ_LOCK); in rw_rdlock_impl()
[all …]
/titanic_41/usr/src/lib/libfru/libfru/
H A Dlibfru.cc102 typedef enum { WRITE_LOCK, READ_LOCK } lock_mode_t; enumerator
251 case READ_LOCK: in lock_container()
837 if (lock_container(READ_LOCK, container) != FRU_SUCCESS) { in fru_list_segments()
951 if (lock_container(READ_LOCK, container) != FRU_SUCCESS) { in fru_get_segment_def()
1008 if (lock_container(READ_LOCK, container) != FRU_SUCCESS) { in fru_list_elems_in()
1085 if (lock_container(READ_LOCK, container) != FRU_SUCCESS) { in fru_for_each_segment()
1640 if (lock_container(READ_LOCK, container) != FRU_SUCCESS) { in fru_read_field()
1795 if (lock_container(READ_LOCK, container) != FRU_SUCCESS) { in fru_get_num_iterations()
/titanic_41/usr/src/cmd/avs/dscfglockd/
H A Ddscfglockd.c104 #define READ_LOCK 0x11 macro
182 case READ_LOCK: return "ReadLock"; in lockd_msg()
978 case READ_LOCK: in dispatch()
/titanic_41/usr/src/uts/common/syscall/
H A Dlwp_sobj.c2217 #define READ_LOCK 0 macro
2220 #define READ_LOCK_TRY (READ_LOCK | TRY_FLAG)
2396 if ((rd_wr != READ_LOCK) && (rd_wr != WRITE_LOCK)) { in lwp_rwlock_lock()
2486 if (rd_wr == READ_LOCK) { in lwp_rwlock_lock()
2493 } else if (rd_wr == READ_LOCK) { in lwp_rwlock_lock()
2785 return (lwp_rwlock_lock(rwlp, tsp, READ_LOCK)); in lwp_rwlock_sys()