Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/sys/rsm/
H A Drsm_in.h146 kmutex_t rsmrc_lock; /* sync on resource */ member
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
/titanic_41/usr/src/uts/common/io/rsm/
H A Drsm.c611 rw_init(&rsm_resource.rsmrc_lock, NULL, RW_DRIVER, NULL); in _init()
696 rw_destroy(&rsm_resource.rsmrc_lock); in _fini()
854 mutex_init(&p->rsmrc_lock, NULL, MUTEX_DRIVER, (void *) NULL); in rsm_attach()
984 mutex_destroy(&p->rsmrc_lock); in rsm_detach()
1127 rw_enter(&rsm_resource.rsmrc_lock, RW_WRITER); in rsmresource_alloc()
1144 rsmrc_lock); in rsmresource_alloc()
1162 rw_exit(&rsm_resource.rsmrc_lock); in rsmresource_alloc()
1192 rw_exit(&rsm_resource.rsmrc_lock); in rsmresource_alloc()
1240 rw_exit(&rsm_resource.rsmrc_lock); in rsmresource_alloc()
1249 rw_exit(&rsm_resource.rsmrc_lock); in rsmresource_alloc()
[all …]