Home
last modified time | relevance | path

Searched refs:pppt_global (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/common/io/comstar/port/pppt/
H A Dpppt.c114 pppt_global_t pppt_global; variable
149 mutex_init(&pppt_global.global_lock, NULL, MUTEX_DEFAULT, NULL); in _init()
150 mutex_init(&pppt_global.global_door_lock, NULL, MUTEX_DEFAULT, NULL); in _init()
151 pppt_global.global_svc_state = PSS_DETACHED; in _init()
154 mutex_destroy(&pppt_global.global_door_lock); in _init()
155 mutex_destroy(&pppt_global.global_lock); in _init()
176 mutex_destroy(&pppt_global.global_lock); in _fini()
177 mutex_destroy(&pppt_global.global_door_lock); in _fini()
196 *result = pppt_global.global_dip; in pppt_drv_getinfo()
230 pppt_global.global_svc_state = PSS_DISABLED; in pppt_drv_attach()
[all …]
H A Dpppt.h34 #define PPPT_GLOBAL_LOCK() mutex_enter(&pppt_global.global_lock)
35 #define PPPT_GLOBAL_UNLOCK() mutex_exit(&pppt_global.global_lock)
190 atomic_inc_64(&pppt_global.global_error_stats.stat_field);
221 extern pppt_global_t pppt_global;
H A Dpppt_msg.c122 if (pppt_global.global_svc_state != PSS_ENABLED) { in pppt_msg_tgt_register()
148 avl_add(&pppt_global.global_target_list, result); in pppt_msg_tgt_register()
166 if (pppt_global.global_svc_state != PSS_ENABLED) { in pppt_msg_tgt_deregister()
182 avl_remove(&pppt_global.global_target_list, tgt); in pppt_msg_tgt_deregister()
H A Dpppt_tgt.c173 lport->lport_pp = pppt_global.global_pp; in pppt_tgt_create()
174 lport->lport_ds = pppt_global.global_dbuf_store; in pppt_tgt_create()
233 result = avl_find(&pppt_global.global_target_list, &tmptgt, NULL); in pppt_tgt_lookup_locked()
757 (void) taskq_dispatch(pppt_global.global_dispatch_taskq, in pppt_tgt_offline()
804 if (taskq_dispatch(pppt_global.global_dispatch_taskq, in pppt_tgt_dereg_retry()
H A Dalua_ic_if.c381 mutex_enter(&pppt_global.global_door_lock); in stmf_ic_transmit()
382 if (pppt_global.global_door == NULL) { in stmf_ic_transmit()
384 mutex_exit(&pppt_global.global_door_lock); in stmf_ic_transmit()
387 door = pppt_global.global_door; in stmf_ic_transmit()
389 mutex_exit(&pppt_global.global_door_lock); in stmf_ic_transmit()