Home
last modified time | relevance | path

Searched refs:svcinfop (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_utils.c1236 ibcm_svc_info_t *svcinfop; in ibcm_create_svc_entry() local
1240 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*svcinfop)) in ibcm_create_svc_entry()
1243 svcinfop = kmem_zalloc(sizeof (*svcinfop), KM_SLEEP); in ibcm_create_svc_entry()
1244 svcinfop->svc_id = sid; in ibcm_create_svc_entry()
1245 svcinfop->svc_num_sids = num_sids; in ibcm_create_svc_entry()
1257 kmem_free(svcinfop, sizeof (*svcinfop)); in ibcm_create_svc_entry()
1260 avl_insert(&ibcm_svc_avl_tree, (void *)svcinfop, where); in ibcm_create_svc_entry()
1263 _NOTE(NOW_VISIBLE_TO_OTHER_THREADS(*svcinfop)) in ibcm_create_svc_entry()
1265 return (svcinfop); in ibcm_create_svc_entry()
H A Dibcm_ti.c2462 ibcm_svc_info_t *svcinfop; in ibt_register_service() local
2468 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*svcinfop)) in ibt_register_service()
2493 svcinfop = ibcm_create_svc_entry(sid, num_sids); in ibt_register_service()
2495 if (svcinfop == NULL) { in ibt_register_service()
2504 svcinfop->svc_flags = srv->sd_flags; in ibt_register_service()
2505 svcinfop->svc_rc_handler = srv->sd_handler; in ibt_register_service()
2506 svcinfop->svc_ud_handler = srv->sd_ud_handler; in ibt_register_service()
2511 *srv_hdl = svcinfop; in ibt_register_service()
2517 svcinfop, sid); in ibt_register_service()
2519 _NOTE(NOW_VISIBLE_TO_OTHER_THREADS(*svcinfop)) in ibt_register_service()
/titanic_41/usr/src/uts/common/sys/ib/mgt/ibcm/
H A Dibcm_impl.h789 #define IBCM_SVC_INCR(svcinfop) (svcinfop)->svc_ref_cnt++ argument
790 #define IBCM_SVC_DECR(svcinfop) \ argument
791 if (--((svcinfop)->svc_ref_cnt) == 0 && \
792 (svcinfop)->svc_to_delete) \
794 ASSERT(svcinfop->svc_ref_cnt >= 0);