pthread_rwlock_t
static pthread_rwlock_t mmio_rwlock;
pthread_rwlock_t aobjmap_rwlock;
pthread_rwlock_t ipmgmt_dbconf_lock = PTHREAD_RWLOCK_INITIALIZER;
extern pthread_rwlock_t ipmgmt_dbconf_lock;
pthread_rwlock_t object_list_lock;
static pthread_rwlock_t dlmgmt_avl_lock = PTHREAD_RWLOCK_INITIALIZER;
static pthread_rwlock_t dlmgmt_dlconf_lock = PTHREAD_RWLOCK_INITIALIZER;
pthread_rwlock_t d_log_lock; /* log pointer lock (r=use, w=rotate) */
pthread_rwlock_t d_hvilog_lock; /* log pointer lock (r=use, w=rotate) */
pthread_rwlock_t d_ilog_lock; /* log pointer lock (r=use, w=rotate) */
pthread_rwlock_t ah_lock; /* r/w lock protecting hash contents */
pthread_rwlock_t ch_lock; /* lock protecting case hash */
pthread_rwlock_t cf_lock;
pthread_rwlock_t dq_lock; /* lock for event dispatch queue */
pthread_rwlock_t mh_lock; /* r/w lock to protect hash */
pthread_rwlock_t *lockp;
pthread_rwlock_t sch_rwlock; /* rwlock protecting scheme hash */
pthread_rwlock_t us_lock; /* lock protecting ustat collection */
pthread_rwlock_t *lockp;
static pthread_rwlock_t envd_rwlock = PTHREAD_RWLOCK_INITIALIZER;
static pthread_rwlock_t envpicl_rwlock = PTHREAD_RWLOCK_INITIALIZER;
pthread_rwlock_t rwlock;
extern int pthread_rwlock_init(pthread_rwlock_t *_RESTRICT_KYWD,
extern int pthread_rwlock_destroy(pthread_rwlock_t *);
extern int pthread_rwlock_rdlock(pthread_rwlock_t *);
extern int pthread_rwlock_clockrdlock(pthread_rwlock_t *_RESTRICT_KYWD,
extern int pthread_rwlock_timedrdlock(pthread_rwlock_t *_RESTRICT_KYWD,
extern int pthread_rwlock_relclockrdlock_np(pthread_rwlock_t *_RESTRICT_KYWD,
extern int pthread_rwlock_reltimedrdlock_np(pthread_rwlock_t *_RESTRICT_KYWD,
extern int pthread_rwlock_tryrdlock(pthread_rwlock_t *);
extern int pthread_rwlock_wrlock(pthread_rwlock_t *);
extern int pthread_rwlock_clockwrlock(pthread_rwlock_t *_RESTRICT_KYWD,
extern int pthread_rwlock_timedwrlock(pthread_rwlock_t *_RESTRICT_KYWD,
extern int pthread_rwlock_relclockwrlock_np(pthread_rwlock_t *_RESTRICT_KYWD,
extern int pthread_rwlock_reltimedwrlock_np(pthread_rwlock_t *_RESTRICT_KYWD,
extern int pthread_rwlock_trywrlock(pthread_rwlock_t *);
extern int pthread_rwlock_unlock(pthread_rwlock_t *);
static pthread_rwlock_t fmd_msg_rwlock = PTHREAD_RWLOCK_INITIALIZER;
pthread_rwlock_t ht_rwlock;
pthread_rwlock_init(pthread_rwlock_t *_RESTRICT_KYWD rwlock,
pthread_rwlock_relclockrdlock_np(pthread_rwlock_t *restrict rwlp,
pthread_rwlock_reltimedrdlock_np(pthread_rwlock_t *restrict rwlp,
pthread_rwlock_clockrdlock(pthread_rwlock_t *restrict rwlp, clockid_t clock,
pthread_rwlock_timedrdlock(pthread_rwlock_t *restrict rwlp,
pthread_rwlock_relclockwrlock_np(pthread_rwlock_t *restrict rwlp,
pthread_rwlock_reltimedwrlock_np(pthread_rwlock_t *restrict rwlp,
pthread_rwlock_clockwrlock(pthread_rwlock_t *rwlp, clockid_t clock,
pthread_rwlock_timedwrlock(pthread_rwlock_t *rwlp, const timespec_t *abstime)
pthread_rwlock_t lock;
pthread_rwlock_t lock;
pthread_rwlock_t object_list_lock;
pthread_rwlock_t session_lock;
pthread_rwlock_t object_list_lock;
pthread_rwlock_t object_lock;
pthread_rwlock_t attribute_lock;
pthread_rwlock_t tokenobject_list_lock;
static pthread_rwlock_t mechlist_lock = PTHREAD_RWLOCK_INITIALIZER;
pthread_rwlock_t *list_lock;
pthread_rwlock_t *list_lock;
extern pthread_rwlock_t meta_sessionlist_lock;
pthread_rwlock_t *list_lock;
static pthread_rwlock_t meta_objectclose_lock;
static pthread_rwlock_t tokenobject_list_lock;
extern pthread_rwlock_t meta_sessionlist_lock;
pthread_rwlock_t meta_sessionlist_lock;
static pthread_rwlock_t meta_sessionclose_lock;
extern pthread_rwlock_t obj_list_rw_mutex;
extern pthread_rwlock_t obj_list_rw_mutex;
pthread_rwlock_t obj_list_rw_mutex = PTHREAD_RWLOCK_INITIALIZER;
pthread_rwlock_t *rwl = prim;
pthread_rwlock_t *rwl = prim;
pthread_rwlock_t *rwl = prim;
pthread_rwlock_t *rwl = prim;
pthread_rwlock_t *rwl = prim;
pthread_rwlock_t *rw;
rw = calloc(1, sizeof (pthread_rwlock_t));
pthread_rwlock_t *rwl = prim;
pthread_rwlock_t *rwl = prim;