Searched refs:svcinfop (Results 1 – 3 of 3) sorted by relevance
1236 ibcm_svc_info_t *svcinfop; in ibcm_create_svc_entry() local1240 _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()
2462 ibcm_svc_info_t *svcinfop; in ibt_register_service() local2468 _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()
789 #define IBCM_SVC_INCR(svcinfop) (svcinfop)->svc_ref_cnt++ argument790 #define IBCM_SVC_DECR(svcinfop) \ argument791 if (--((svcinfop)->svc_ref_cnt) == 0 && \792 (svcinfop)->svc_to_delete) \794 ASSERT(svcinfop->svc_ref_cnt >= 0);