Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/io/ib/clients/ibd/
H A Dibd_cm.c55 extern ibd_global_state_t ibd_gstate;
2380 mutex_enter(&ibd_gstate.ig_mutex); in ibd_register_service()
2381 for (p = ibd_gstate.ig_service_list; p != NULL; p = p->is_link) { in ibd_register_service()
2386 mutex_exit(&ibd_gstate.ig_mutex); in ibd_register_service()
2390 status = ibt_register_service(ibd_gstate.ig_ibt_hdl, srv, sid, in ibd_register_service()
2397 p->is_link = ibd_gstate.ig_service_list; in ibd_register_service()
2398 ibd_gstate.ig_service_list = p; in ibd_register_service()
2400 mutex_exit(&ibd_gstate.ig_mutex); in ibd_register_service()
2410 mutex_enter(&ibd_gstate.ig_mutex); in ibd_deregister_service()
2411 for (pp = &ibd_gstate.ig_service_list; *pp != NULL; in ibd_deregister_service()
[all …]
H A Dibd.c255 ibd_global_state_t ibd_gstate; variable
1004 mutex_init(&ibd_gstate.ig_mutex, NULL, MUTEX_DRIVER, NULL); in _NOTE()
1005 mutex_enter(&ibd_gstate.ig_mutex); in _NOTE()
1006 ibd_gstate.ig_ibt_hdl = NULL; in _NOTE()
1007 ibd_gstate.ig_ibt_hdl_ref_cnt = 0; in _NOTE()
1008 ibd_gstate.ig_service_list = NULL; in _NOTE()
1009 mutex_exit(&ibd_gstate.ig_mutex); in _NOTE()
1044 mutex_destroy(&ibd_gstate.ig_mutex); in _fini()
2627 mutex_enter(&ibd_gstate.ig_mutex); in ibd_part_unattach()
2636 ibd_gstate.ig_ibt_hdl_ref_cnt--; in ibd_part_unattach()
[all …]