| /trueos/contrib/ofed/management/opensm/opensm/ |
| HD | osm_sa_pkey_record.c | 72 IN osm_pkey_search_ctxt_t * const p_ctxt, in __osm_sa_pkey_create() argument 108 cl_qlist_insert_tail(p_ctxt->p_list, &p_rec_item->list_item); in __osm_sa_pkey_create() 119 osm_pkey_search_ctxt_t * const p_ctxt) in __osm_sa_pkey_check_physp() argument 121 ib_net64_t comp_mask = p_ctxt->comp_mask; in __osm_sa_pkey_check_physp() 128 __osm_sa_pkey_create(sa, p_physp, p_ctxt, p_ctxt->block_num); in __osm_sa_pkey_check_physp() 134 __osm_sa_pkey_create(sa, p_physp, p_ctxt, block); in __osm_sa_pkey_check_physp() 146 osm_pkey_search_ctxt_t * const p_ctxt) in __osm_sa_pkey_by_comp_mask() argument 157 p_rcvd_rec = p_ctxt->p_rcvd_rec; in __osm_sa_pkey_by_comp_mask() 158 comp_mask = p_ctxt->comp_mask; in __osm_sa_pkey_by_comp_mask() 160 p_req_physp = p_ctxt->p_req_physp; in __osm_sa_pkey_by_comp_mask() [all …]
|
| HD | osm_sa_vlarb_record.c | 79 IN osm_vl_arb_search_ctxt_t * const p_ctxt, in __osm_sa_vl_arb_create() argument 114 cl_qlist_insert_tail(p_ctxt->p_list, &p_rec_item->list_item); in __osm_sa_vl_arb_create() 125 osm_vl_arb_search_ctxt_t * const p_ctxt) in __osm_sa_vl_arb_check_physp() argument 127 ib_net64_t comp_mask = p_ctxt->comp_mask; in __osm_sa_vl_arb_check_physp() 135 || block == p_ctxt->block_num) { in __osm_sa_vl_arb_check_physp() 136 __osm_sa_vl_arb_create(sa, p_physp, p_ctxt, block); in __osm_sa_vl_arb_check_physp() 148 osm_vl_arb_search_ctxt_t * const p_ctxt) in __osm_sa_vl_arb_by_comp_mask() argument 159 p_rcvd_rec = p_ctxt->p_rcvd_rec; in __osm_sa_vl_arb_by_comp_mask() 160 comp_mask = p_ctxt->comp_mask; in __osm_sa_vl_arb_by_comp_mask() 162 p_req_physp = p_ctxt->p_req_physp; in __osm_sa_vl_arb_by_comp_mask() [all …]
|
| HD | osm_sa_slvl_record.c | 79 IN osm_slvl_search_ctxt_t * const p_ctxt, in __osm_sa_slvl_create() argument 115 cl_qlist_insert_tail(p_ctxt->p_list, &p_rec_item->list_item); in __osm_sa_slvl_create() 126 osm_slvl_search_ctxt_t * const p_ctxt) in __osm_sa_slvl_by_comp_mask() argument 139 p_rcvd_rec = p_ctxt->p_rcvd_rec; in __osm_sa_slvl_by_comp_mask() 140 comp_mask = p_ctxt->comp_mask; in __osm_sa_slvl_by_comp_mask() 146 p_req_physp = p_ctxt->p_req_physp; in __osm_sa_slvl_by_comp_mask() 156 __osm_sa_slvl_create(sa, p_out_physp, p_ctxt, 0); in __osm_sa_slvl_by_comp_mask() 191 __osm_sa_slvl_create(sa, p_out_physp, p_ctxt, in __osm_sa_slvl_by_comp_mask() 206 osm_slvl_search_ctxt_t *const p_ctxt = in __osm_sa_slvl_by_comp_mask_cb() local 209 __osm_sa_slvl_by_comp_mask(p_ctxt->sa, p_port, p_ctxt); in __osm_sa_slvl_by_comp_mask_cb()
|
| HD | osm_sa_portinfo_record.c | 119 IN osm_pir_search_ctxt_t * const p_ctxt) in __osm_sa_pir_create() argument 143 if (p_ctxt->comp_mask & IB_PIR_COMPMASK_LID) { in __osm_sa_pir_create() 144 match_lid_ho = cl_ntoh16(p_ctxt->p_rcvd_rec->lid); in __osm_sa_pir_create() 157 __osm_pir_rcv_new_pir(sa, p_physp, p_ctxt->p_list, in __osm_sa_pir_create() 169 osm_pir_search_ctxt_t * const p_ctxt) in __osm_sa_pir_check_physp() argument 178 p_rcvd_rec = p_ctxt->p_rcvd_rec; in __osm_sa_pir_check_physp() 179 comp_mask = p_ctxt->comp_mask; in __osm_sa_pir_check_physp() 211 if (p_ctxt->is_enhanced_comp_mask) { in __osm_sa_pir_check_physp() 390 __osm_sa_pir_create(sa, p_physp, p_ctxt); in __osm_sa_pir_check_physp() 401 osm_pir_search_ctxt_t * const p_ctxt) in __osm_sa_pir_by_comp_mask() argument [all …]
|
| HD | osm_sa_sw_info_record.c | 178 const osm_sir_search_ctxt_t *const p_ctxt = in __osm_sir_rcv_by_comp_mask() local 181 const ib_switch_info_record_t *const p_rcvd_rec = p_ctxt->p_rcvd_rec; in __osm_sir_rcv_by_comp_mask() 182 const osm_physp_t *const p_req_physp = p_ctxt->p_req_physp; in __osm_sir_rcv_by_comp_mask() 183 osm_sa_t *sa = p_ctxt->sa; in __osm_sir_rcv_by_comp_mask() 184 ib_net64_t const comp_mask = p_ctxt->comp_mask; in __osm_sir_rcv_by_comp_mask() 187 OSM_LOG_ENTER(p_ctxt->sa->p_log); in __osm_sir_rcv_by_comp_mask() 189 osm_dump_switch_info(p_ctxt->sa->p_log, in __osm_sir_rcv_by_comp_mask() 198 __osm_sir_rcv_create_sir(sa, p_sw, p_ctxt->p_list, in __osm_sir_rcv_by_comp_mask() 202 OSM_LOG_EXIT(p_ctxt->sa->p_log); in __osm_sir_rcv_by_comp_mask()
|
| HD | osm_sa_node_record.c | 194 const osm_nr_search_ctxt_t *const p_ctxt = in __osm_nr_rcv_by_comp_mask() local 197 const ib_node_record_t *const p_rcvd_rec = p_ctxt->p_rcvd_rec; in __osm_nr_rcv_by_comp_mask() 198 const osm_physp_t *const p_req_physp = p_ctxt->p_req_physp; in __osm_nr_rcv_by_comp_mask() 199 osm_sa_t *sa = p_ctxt->sa; in __osm_nr_rcv_by_comp_mask() 200 ib_net64_t const comp_mask = p_ctxt->comp_mask; in __osm_nr_rcv_by_comp_mask() 204 OSM_LOG_ENTER(p_ctxt->sa->p_log); in __osm_nr_rcv_by_comp_mask() 206 osm_dump_node_info(p_ctxt->sa->p_log, in __osm_nr_rcv_by_comp_mask() 283 __osm_nr_rcv_create_nr(sa, p_node, p_ctxt->p_list, in __osm_nr_rcv_by_comp_mask() 287 OSM_LOG_EXIT(p_ctxt->sa->p_log); in __osm_nr_rcv_by_comp_mask()
|
| HD | osm_sa_sminfo_record.c | 123 osm_smir_search_ctxt_t * const p_ctxt) in __osm_sa_smir_by_comp_mask() argument 125 const ib_sminfo_record_t *const p_rcvd_rec = p_ctxt->p_rcvd_rec; in __osm_sa_smir_by_comp_mask() 126 const osm_physp_t *const p_req_physp = p_ctxt->p_req_physp; in __osm_sa_smir_by_comp_mask() 127 ib_net64_t const comp_mask = p_ctxt->comp_mask; in __osm_sa_smir_by_comp_mask() 150 __osm_smir_rcv_new_smir(sa, p_rem_sm->p_port, p_ctxt->p_list, in __osm_sa_smir_by_comp_mask() 166 osm_smir_search_ctxt_t *const p_ctxt = in __osm_sa_smir_by_comp_mask_cb() local 169 __osm_sa_smir_by_comp_mask(p_ctxt->sa, p_rem_sm, p_ctxt); in __osm_sa_smir_by_comp_mask_cb()
|
| HD | osm_sa_guidinfo_record.c | 224 const osm_gir_search_ctxt_t *const p_ctxt = in __osm_sa_gir_by_comp_mask_cb() local 227 const ib_guidinfo_record_t *const p_rcvd_rec = p_ctxt->p_rcvd_rec; in __osm_sa_gir_by_comp_mask_cb() 228 const osm_physp_t *const p_req_physp = p_ctxt->p_req_physp; in __osm_sa_gir_by_comp_mask_cb() 229 osm_sa_t *sa = p_ctxt->sa; in __osm_sa_gir_by_comp_mask_cb() 231 ib_net64_t const comp_mask = p_ctxt->comp_mask; in __osm_sa_gir_by_comp_mask_cb() 236 OSM_LOG_ENTER(p_ctxt->sa->p_log); in __osm_sa_gir_by_comp_mask_cb() 288 __osm_sa_gir_create_gir(sa, p_node, p_ctxt->p_list, in __osm_sa_gir_by_comp_mask_cb() 293 OSM_LOG_EXIT(p_ctxt->sa->p_log); in __osm_sa_gir_by_comp_mask_cb()
|
| HD | osm_sa_lft_record.c | 118 const osm_lftr_search_ctxt_t *const p_ctxt = in __osm_lftr_rcv_by_comp_mask() local 121 const ib_lft_record_t *const p_rcvd_rec = p_ctxt->p_rcvd_rec; in __osm_lftr_rcv_by_comp_mask() 122 osm_sa_t *sa = p_ctxt->sa; in __osm_lftr_rcv_by_comp_mask() 123 ib_net64_t const comp_mask = p_ctxt->comp_mask; in __osm_lftr_rcv_by_comp_mask() 124 const osm_physp_t *const p_req_physp = p_ctxt->p_req_physp; in __osm_lftr_rcv_by_comp_mask() 179 __osm_lftr_rcv_new_lftr(sa, p_sw, p_ctxt->p_list, in __osm_lftr_rcv_by_comp_mask()
|
| HD | osm_sa_mft_record.c | 123 const osm_mftr_search_ctxt_t *const p_ctxt = in __osm_mftr_rcv_by_comp_mask() local 126 const ib_mft_record_t *const p_rcvd_rec = p_ctxt->p_rcvd_rec; in __osm_mftr_rcv_by_comp_mask() 127 osm_sa_t *sa = p_ctxt->sa; in __osm_mftr_rcv_by_comp_mask() 128 ib_net64_t const comp_mask = p_ctxt->comp_mask; in __osm_mftr_rcv_by_comp_mask() 129 const osm_physp_t *const p_req_physp = p_ctxt->p_req_physp; in __osm_mftr_rcv_by_comp_mask() 211 __osm_mftr_rcv_new_mftr(sa, p_sw, p_ctxt->p_list, in __osm_mftr_rcv_by_comp_mask()
|
| HD | osm_sa_informinfo.c | 253 osm_iir_search_ctxt_t * const p_ctxt) in __osm_sa_inform_info_rec_by_comp_mask() argument 265 p_rcvd_rec = p_ctxt->p_rcvd_rec; in __osm_sa_inform_info_rec_by_comp_mask() 266 comp_mask = p_ctxt->comp_mask; in __osm_sa_inform_info_rec_by_comp_mask() 267 p_req_physp = p_ctxt->p_req_physp; in __osm_sa_inform_info_rec_by_comp_mask() 271 &p_ctxt->subscriber_gid, in __osm_sa_inform_info_rec_by_comp_mask() 276 p_infr->inform_record.subscriber_enum != p_ctxt->subscriber_enum) in __osm_sa_inform_info_rec_by_comp_mask() 311 cl_qlist_insert_tail(p_ctxt->p_list, &p_rec_item->list_item); in __osm_sa_inform_info_rec_by_comp_mask() 324 osm_iir_search_ctxt_t *const p_ctxt = (osm_iir_search_ctxt_t *) context; in __osm_sa_inform_info_rec_by_comp_mask_cb() local 326 __osm_sa_inform_info_rec_by_comp_mask(p_ctxt->sa, p_infr, p_ctxt); in __osm_sa_inform_info_rec_by_comp_mask_cb()
|
| HD | osm_sa_service_record.c | 235 osm_sr_search_ctxt_t *const p_ctxt = (osm_sr_search_ctxt_t *) context; in __get_matching_sr() local 238 osm_sr_match_item_t *p_sr_item = p_ctxt->p_sr_item; in __get_matching_sr() 240 const osm_physp_t *p_req_physp = p_ctxt->p_req_physp; in __get_matching_sr()
|
| /trueos/contrib/ofed/management/opensm/osmtest/ |
| HD | osmtest.c | 549 osmtest_req_context_t *const p_ctxt = in osmtest_query_res_cb() local 551 osmtest_t *const p_osmt = p_ctxt->p_osmt; in osmtest_query_res_cb() 555 p_ctxt->result = *p_rec; in osmtest_query_res_cb()
|