Searched refs:rsmrc_lock (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/rsm/
H A Drsm_in.h146 kmutex_t rsmrc_lock; /* sync on resource */ member in struct:rsm_resource
179 #define RSMRC_LOCK(p) mutex_enter(&(p)->rsmrc_lock)
180 #define RSMRC_UNLOCK(p) mutex_exit(&(p)->rsmrc_lock)
181 #define RSMRC_HELD(p) MUTEX_HELD(&(p)->rsmrc_lock)
182 #define RSMRC_TRY(p) mutex_tryenter(&(p)->rsmrc_lock)
253 #define s_lock s_hdr.rsmrc_lock
326 krwlock_t rsmrc_lock; member in struct:rsmresource_table
/illumos-gate/usr/src/uts/common/io/rsm/
H A Drsm.c138 * has a lock associated with it. The lock is the resource mutex, rsmrc_lock.
148 * called rsmrc_lock.
611 rw_init(&rsm_resource.rsmrc_lock, NULL, RW_DRIVER, NULL);
696 rw_destroy(&rsm_resource.rsmrc_lock);
854 mutex_init(&p->rsmrc_lock, NULL, MUTEX_DRIVER, (void *) NULL);
984 mutex_destroy(&p->rsmrc_lock);
1127 rw_enter(&rsm_resource.rsmrc_lock, RW_WRITER);
1144 rsmrc_lock);
1162 rw_exit(&rsm_resource.rsmrc_lock);
1192 rw_exit(&rsm_resource.rsmrc_lock);
[all...]

Completed in 52 milliseconds