Searched refs:oplmsu_uinst (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/sun4u/opl/io/oplmsu/
H A Doplmsu_ioctl_lrp.c61 rw_enter(&oplmsu_uinst->lock, RW_READER);
64 mutex_enter(&oplmsu_uinst->u_lock);
65 mutex_enter(&oplmsu_uinst->l_lock);
71 mutex_exit(&oplmsu_uinst->l_lock);
72 mutex_exit(&oplmsu_uinst->u_lock);
87 rw_exit(&oplmsu_uinst->lock);
150 rw_exit(&oplmsu_uinst->lock);
155 mutex_enter(&oplmsu_uinst->u_lock);
158 mutex_exit(&oplmsu_uinst->u_lock);
159 rw_exit(&oplmsu_uinst
[all...]
H A Doplmsu_cmn_func.c57 ASSERT(RW_WRITE_HELD(&oplmsu_uinst->lock));
58 ASSERT(MUTEX_HELD(&oplmsu_uinst->u_lock));
60 if (oplmsu_uinst->first_upath == NULL) {
61 oplmsu_uinst->first_upath = add_upath;
66 last_upath = oplmsu_uinst->last_upath;
71 oplmsu_uinst->last_upath = add_upath;
89 ASSERT(RW_WRITE_HELD(&oplmsu_uinst->lock));
91 first = &oplmsu_uinst->first_upath;
92 last = &oplmsu_uinst->last_upath;
131 ASSERT(RW_WRITE_HELD(&oplmsu_uinst
[all...]
H A Doplmsu_ioctl_uwp.c67 rw_enter(&oplmsu_uinst->lock, RW_WRITER);
76 rw_exit(&oplmsu_uinst->lock);
84 rw_exit(&oplmsu_uinst->lock);
98 rw_exit(&oplmsu_uinst->lock);
112 lpath->abt_char = oplmsu_uinst->abts; /* Set abort character seq */
118 rw_exit(&oplmsu_uinst->lock);
148 rw_enter(&oplmsu_uinst->lock, RW_WRITER);
157 rw_exit(&oplmsu_uinst->lock);
162 mutex_enter(&oplmsu_uinst->u_lock);
163 mutex_enter(&oplmsu_uinst
[all...]
H A Doplmsu.c161 uinst_t *oplmsu_uinst = &oplmsu_uinst_local; variable
224 rw_init(&oplmsu_uinst->lock, "uinst rwlock", RW_DRIVER, NULL);
227 mutex_init(&oplmsu_uinst->u_lock, "upath lock", MUTEX_DRIVER, NULL);
230 mutex_init(&oplmsu_uinst->l_lock, "lpath lock", MUTEX_DRIVER, NULL);
233 mutex_init(&oplmsu_uinst->c_lock, "ctrl lock", MUTEX_DRIVER, NULL);
245 mutex_destroy(&oplmsu_uinst->c_lock);
246 mutex_destroy(&oplmsu_uinst->l_lock);
247 mutex_destroy(&oplmsu_uinst->u_lock);
248 rw_destroy(&oplmsu_uinst->lock);
262 mutex_destroy(&oplmsu_uinst
[all...]
/illumos-gate/usr/src/uts/sun4u/opl/sys/oplmsu/
H A Doplmsu.h296 if (rw_tryupgrade(&oplmsu_uinst->lock) == 0) { \
297 rw_exit(&oplmsu_uinst->lock); \
298 rw_enter(&oplmsu_uinst->lock, RW_WRITER); \
H A Doplmsu_proto.h147 extern uinst_t *oplmsu_uinst;

Completed in 49 milliseconds