Home
last modified time | relevance | path

Searched refs:p_ctxt (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_sa_pkey_record.c68 IN osm_pkey_search_ctxt_t * p_ctxt, in sa_pkey_create() argument
110 cl_qlist_insert_tail(p_ctxt->p_list, &p_rec_item->list_item); in sa_pkey_create()
117 osm_pkey_search_ctxt_t * p_ctxt) in sa_pkey_check_physp() argument
119 ib_net64_t comp_mask = p_ctxt->comp_mask; in sa_pkey_check_physp()
126 sa_pkey_create(sa, p_physp, p_ctxt, p_ctxt->block_num); in sa_pkey_check_physp()
132 sa_pkey_create(sa, p_physp, p_ctxt, block); in sa_pkey_check_physp()
139 osm_pkey_search_ctxt_t * p_ctxt) in sa_pkey_by_comp_mask() argument
150 p_rcvd_rec = p_ctxt->p_rcvd_rec; in sa_pkey_by_comp_mask()
151 comp_mask = p_ctxt->comp_mask; in sa_pkey_by_comp_mask()
153 p_req_physp = p_ctxt->p_req_physp; in sa_pkey_by_comp_mask()
[all …]
H A Dosm_sa_vlarb_record.c75 IN osm_vl_arb_search_ctxt_t * p_ctxt, in sa_vl_arb_create() argument
108 cl_qlist_insert_tail(p_ctxt->p_list, &p_rec_item->list_item); in sa_vl_arb_create()
115 osm_vl_arb_search_ctxt_t * p_ctxt) in sa_vl_arb_check_physp() argument
117 ib_net64_t comp_mask = p_ctxt->comp_mask; in sa_vl_arb_check_physp()
125 || block == p_ctxt->block_num) in sa_vl_arb_check_physp()
126 sa_vl_arb_create(sa, p_physp, p_ctxt, block); in sa_vl_arb_check_physp()
133 osm_vl_arb_search_ctxt_t * p_ctxt) in sa_vl_arb_by_comp_mask() argument
144 p_rcvd_rec = p_ctxt->p_rcvd_rec; in sa_vl_arb_by_comp_mask()
145 comp_mask = p_ctxt->comp_mask; in sa_vl_arb_by_comp_mask()
147 p_req_physp = p_ctxt->p_req_physp; in sa_vl_arb_by_comp_mask()
[all …]
H A Dosm_sa_portinfo_record.c77 IN osm_pir_search_ctxt_t * p_ctxt, in pir_rcv_new_pir() argument
105 if (p_ctxt->comp_mask & IB_PIR_COMPMASK_OPTIONS) in pir_rcv_new_pir()
106 p_rec_item->resp.port_rec.options = p_ctxt->p_rcvd_rec->options; in pir_rcv_new_pir()
107 if ((p_ctxt->comp_mask & IB_PIR_COMPMASK_OPTIONS) == 0 || in pir_rcv_new_pir()
108 (p_ctxt->p_rcvd_rec->options & 0x80) == 0) { in pir_rcv_new_pir()
133 cl_qlist_insert_tail(p_ctxt->p_list, &p_rec_item->list_item); in pir_rcv_new_pir()
141 IN osm_pir_search_ctxt_t * p_ctxt) in sa_pir_create() argument
164 if (p_ctxt->comp_mask & IB_PIR_COMPMASK_LID) { in sa_pir_create()
165 match_lid_ho = cl_ntoh16(p_ctxt->p_rcvd_rec->lid); in sa_pir_create()
178 pir_rcv_new_pir(sa, p_physp, p_ctxt, cl_hton16(base_lid_ho)); in sa_pir_create()
[all …]
H A Dosm_sa_slvl_record.c75 IN osm_slvl_search_ctxt_t * p_ctxt, in sa_slvl_create() argument
111 cl_qlist_insert_tail(p_ctxt->p_list, &p_rec_item->list_item); in sa_slvl_create()
118 osm_slvl_search_ctxt_t * p_ctxt) in sa_slvl_by_comp_mask() argument
131 p_rcvd_rec = p_ctxt->p_rcvd_rec; in sa_slvl_by_comp_mask()
132 comp_mask = p_ctxt->comp_mask; in sa_slvl_by_comp_mask()
138 p_req_physp = p_ctxt->p_req_physp; in sa_slvl_by_comp_mask()
148 sa_slvl_create(sa, p_out_physp, p_ctxt, 0); in sa_slvl_by_comp_mask()
183 sa_slvl_create(sa, p_out_physp, p_ctxt, in sa_slvl_by_comp_mask()
194 osm_slvl_search_ctxt_t *p_ctxt = cxt; in sa_slvl_by_comp_mask_cb() local
196 sa_slvl_by_comp_mask(p_ctxt->sa, p_port, p_ctxt); in sa_slvl_by_comp_mask_cb()
H A Dosm_sa_sw_info_record.c168 const osm_sir_search_ctxt_t *p_ctxt = cxt; in sir_rcv_by_comp_mask() local
170 const ib_switch_info_record_t *const p_rcvd_rec = p_ctxt->p_rcvd_rec; in sir_rcv_by_comp_mask()
171 const osm_physp_t *const p_req_physp = p_ctxt->p_req_physp; in sir_rcv_by_comp_mask()
172 osm_sa_t *sa = p_ctxt->sa; in sir_rcv_by_comp_mask()
173 ib_net64_t const comp_mask = p_ctxt->comp_mask; in sir_rcv_by_comp_mask()
176 OSM_LOG_ENTER(p_ctxt->sa->p_log); in sir_rcv_by_comp_mask()
178 osm_dump_switch_info_v2(p_ctxt->sa->p_log, &p_sw->switch_info, in sir_rcv_by_comp_mask()
187 sir_rcv_create_sir(sa, p_sw, p_ctxt->p_list, match_lid, p_req_physp); in sir_rcv_by_comp_mask()
190 OSM_LOG_EXIT(p_ctxt->sa->p_log); in sir_rcv_by_comp_mask()
H A Dosm_sa_node_record.c195 const osm_nr_search_ctxt_t *p_ctxt = context; in nr_rcv_by_comp_mask() local
197 const ib_node_record_t *const p_rcvd_rec = p_ctxt->p_rcvd_rec; in nr_rcv_by_comp_mask()
198 const osm_physp_t *const p_req_physp = p_ctxt->p_req_physp; in nr_rcv_by_comp_mask()
199 osm_sa_t *sa = p_ctxt->sa; in nr_rcv_by_comp_mask()
200 ib_net64_t comp_mask = p_ctxt->comp_mask; in nr_rcv_by_comp_mask()
205 OSM_LOG_ENTER(p_ctxt->sa->p_log); in nr_rcv_by_comp_mask()
207 osm_dump_node_info_v2(p_ctxt->sa->p_log, &p_node->node_info, in nr_rcv_by_comp_mask()
277 nr_rcv_create_nr(sa, p_node, p_ctxt->p_list, match_port_guid, in nr_rcv_by_comp_mask()
281 OSM_LOG_EXIT(p_ctxt->sa->p_log); in nr_rcv_by_comp_mask()
H A Dosm_sa_sminfo_record.c119 osm_smir_search_ctxt_t * p_ctxt) in sa_smir_by_comp_mask() argument
121 const ib_sminfo_record_t *const p_rcvd_rec = p_ctxt->p_rcvd_rec; in sa_smir_by_comp_mask()
122 const osm_physp_t *const p_req_physp = p_ctxt->p_req_physp; in sa_smir_by_comp_mask()
123 ib_net64_t const comp_mask = p_ctxt->comp_mask; in sa_smir_by_comp_mask()
154 smir_rcv_new_smir(sa, p_port, p_ctxt->p_list, in sa_smir_by_comp_mask()
165 osm_smir_search_ctxt_t *p_ctxt = cxt; in sa_smir_by_comp_mask_cb() local
167 sa_smir_by_comp_mask(p_ctxt->sa, p_rem_sm, p_ctxt); in sa_smir_by_comp_mask_cb()
H A Dosm_sa_lft_record.c111 const osm_lftr_search_ctxt_t *p_ctxt = cxt; in lftr_rcv_by_comp_mask() local
113 const ib_lft_record_t *const p_rcvd_rec = p_ctxt->p_rcvd_rec; in lftr_rcv_by_comp_mask()
114 osm_sa_t *sa = p_ctxt->sa; in lftr_rcv_by_comp_mask()
115 ib_net64_t const comp_mask = p_ctxt->comp_mask; in lftr_rcv_by_comp_mask()
116 const osm_physp_t *const p_req_physp = p_ctxt->p_req_physp; in lftr_rcv_by_comp_mask()
172 lftr_rcv_new_lftr(sa, p_sw, p_ctxt->p_list, in lftr_rcv_by_comp_mask()
H A Dosm_sa_mft_record.c116 const osm_mftr_search_ctxt_t *p_ctxt = cxt; in mftr_rcv_by_comp_mask() local
118 const ib_mft_record_t *const p_rcvd_rec = p_ctxt->p_rcvd_rec; in mftr_rcv_by_comp_mask()
119 osm_sa_t *sa = p_ctxt->sa; in mftr_rcv_by_comp_mask()
120 ib_net64_t const comp_mask = p_ctxt->comp_mask; in mftr_rcv_by_comp_mask()
121 const osm_physp_t *const p_req_physp = p_ctxt->p_req_physp; in mftr_rcv_by_comp_mask()
204 mftr_rcv_new_mftr(sa, p_sw, p_ctxt->p_list, in mftr_rcv_by_comp_mask()
H A Dosm_sa_informinfo.c241 osm_iir_search_ctxt_t * p_ctxt) in sa_inform_info_rec_by_comp_mask() argument
252 comp_mask = p_ctxt->comp_mask; in sa_inform_info_rec_by_comp_mask()
253 p_req_physp = p_ctxt->p_req_physp; in sa_inform_info_rec_by_comp_mask()
257 &p_ctxt->subscriber_gid, in sa_inform_info_rec_by_comp_mask()
262 p_infr->inform_record.subscriber_enum != p_ctxt->subscriber_enum) in sa_inform_info_rec_by_comp_mask()
304 if (p_ctxt->sm_key == 0) in sa_inform_info_rec_by_comp_mask()
307 cl_qlist_insert_tail(p_ctxt->p_list, &p_rec_item->list_item); in sa_inform_info_rec_by_comp_mask()
317 osm_iir_search_ctxt_t *p_ctxt = context; in sa_inform_info_rec_by_comp_mask_cb() local
319 sa_inform_info_rec_by_comp_mask(p_ctxt->sa, p_infr, p_ctxt); in sa_inform_info_rec_by_comp_mask_cb()
H A Dosm_sa_guidinfo_record.c224 const osm_gir_search_ctxt_t *p_ctxt = cxt; in sa_gir_by_comp_mask_cb() local
226 const ib_guidinfo_record_t *const p_rcvd_rec = p_ctxt->p_rcvd_rec; in sa_gir_by_comp_mask_cb()
227 const osm_physp_t *const p_req_physp = p_ctxt->p_req_physp; in sa_gir_by_comp_mask_cb()
228 osm_sa_t *sa = p_ctxt->sa; in sa_gir_by_comp_mask_cb()
230 ib_net64_t const comp_mask = p_ctxt->comp_mask; in sa_gir_by_comp_mask_cb()
235 OSM_LOG_ENTER(p_ctxt->sa->p_log); in sa_gir_by_comp_mask_cb()
287 sa_gir_create_gir(sa, p_node, p_ctxt->p_list, match_port_guid, in sa_gir_by_comp_mask_cb()
291 OSM_LOG_EXIT(p_ctxt->sa->p_log); in sa_gir_by_comp_mask_cb()
H A Dosm_sa_service_record.c220 osm_sr_search_ctxt_t *p_ctxt = context; in get_matching_sr() local
223 osm_sr_match_item_t *p_sr_item = p_ctxt->p_sr_item; in get_matching_sr()
225 const osm_physp_t *p_req_physp = p_ctxt->p_req_physp; in get_matching_sr()