/freebsd/contrib/ofed/opensm/include/opensm/ |
H A D | osm_sa.h | 219 } osm_sa_t; typedef 272 void osm_sa_construct(IN osm_sa_t * p_sa); 301 void osm_sa_shutdown(IN osm_sa_t * p_sa); 324 void osm_sa_destroy(IN osm_sa_t * p_sa); 352 ib_api_status_t osm_sa_init(IN osm_sm_t * p_sm, IN osm_sa_t * p_sa, 407 ib_api_status_t osm_sa_bind(IN osm_sa_t * p_sa, IN ib_net64_t port_guid); 435 ib_api_status_t osm_sa_send(osm_sa_t *sa, IN osm_madw_t * p_madw, 448 void osm_sa_send_error(IN osm_sa_t * sa, IN const osm_madw_t * p_madw, 475 void osm_sa_respond(osm_sa_t *sa, osm_madw_t *madw, size_t attr_size, 552 osm_mgrp_t *osm_mcmr_rcv_find_or_create_new_mgrp(IN osm_sa_t * sa, [all …]
|
H A D | osm_guid.h | 62 int osm_queue_guidinfo(IN osm_sa_t *sa, IN osm_port_t *p_port,
|
H A D | osm_inform.h | 101 osm_sa_t *sa;
|
H A D | osm_opensm.h | 215 osm_sa_t sa;
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_sa_sw_info_record.c | 66 osm_sa_t *sa; 70 static ib_api_status_t sir_rcv_new_sir(IN osm_sa_t * sa, in sir_rcv_new_sir() 103 static void sir_rcv_create_sir(IN osm_sa_t * sa, IN const osm_switch_t * p_sw, in sir_rcv_create_sir() 172 osm_sa_t *sa = p_ctxt->sa; in sir_rcv_by_comp_mask() 195 osm_sa_t *sa = ctx; in osm_sir_rcv_process()
|
H A D | osm_sa_informinfo.c | 77 osm_sa_t *sa; 89 static boolean_t validate_ports_access_rights(IN osm_sa_t * sa, in validate_ports_access_rights() 187 static boolean_t validate_infr(IN osm_sa_t * sa, IN osm_infr_t * p_infr_rec) in validate_infr() 209 static void infr_rcv_respond(IN osm_sa_t * sa, IN osm_madw_t * p_madw) in infr_rcv_respond() 239 static void sa_inform_info_rec_by_comp_mask(IN osm_sa_t * sa, in sa_inform_info_rec_by_comp_mask() 325 static void infr_rcv_process_get_method(osm_sa_t * sa, IN osm_madw_t * p_madw) in infr_rcv_process_get_method() 404 static void infr_rcv_process_set_method(osm_sa_t * sa, IN osm_madw_t * p_madw) in infr_rcv_process_set_method() 590 osm_sa_t *sa = context; in osm_infr_rcv_process() 618 osm_sa_t *sa = context; in osm_infir_rcv_process()
|
H A D | osm_sa_vlarb_record.c | 70 osm_sa_t *sa; 74 static void sa_vl_arb_create(IN osm_sa_t * sa, IN osm_physp_t * p_physp, in sa_vl_arb_create() 114 static void sa_vl_arb_check_physp(IN osm_sa_t * sa, IN osm_physp_t * p_physp, in sa_vl_arb_check_physp() 132 static void sa_vl_arb_by_comp_mask(osm_sa_t * sa, IN const osm_port_t * p_port, in sa_vl_arb_by_comp_mask() 208 osm_sa_t *sa = ctx; in osm_vlarb_rec_rcv_process()
|
H A D | osm_sa_service_record.c | 71 osm_sa_t *sa; 80 match_service_pkey_with_ports_pkey(IN osm_sa_t * sa, in match_service_pkey_with_ports_pkey() 143 match_name_to_key_association(IN osm_sa_t * sa, in match_name_to_key_association() 161 static boolean_t validate_sr(IN osm_sa_t * sa, IN const osm_madw_t * p_madw) in validate_sr() 197 static void sr_rcv_respond(IN osm_sa_t * sa, IN osm_madw_t * p_madw, in sr_rcv_respond() 444 static void sr_rcv_process_get_method(osm_sa_t * sa, IN osm_madw_t * p_madw) in sr_rcv_process_get_method() 509 static void sr_rcv_process_set_method(osm_sa_t * sa, IN osm_madw_t * p_madw) in sr_rcv_process_set_method() 607 static void sr_rcv_process_delete_method(osm_sa_t * sa, IN osm_madw_t * p_madw) in sr_rcv_process_delete_method() 668 osm_sa_t *sa = context; in osm_sr_rcv_process() 726 osm_sa_t *sa = context; in osm_sr_rcv_lease_cb()
|
H A D | osm_sa_pkey_record.c | 63 osm_sa_t *sa; 67 static void sa_pkey_create(IN osm_sa_t * sa, IN osm_physp_t * p_physp, in sa_pkey_create() 116 static void sa_pkey_check_physp(IN osm_sa_t * sa, IN osm_physp_t * p_physp, in sa_pkey_check_physp() 138 static void sa_pkey_by_comp_mask(IN osm_sa_t * sa, IN const osm_port_t * p_port, in sa_pkey_by_comp_mask() 214 osm_sa_t *sa = ctx; in osm_pkey_rec_rcv_process()
|
H A D | osm_sa_lft_record.c | 66 osm_sa_t *sa; 70 static ib_api_status_t lftr_rcv_new_lftr(IN osm_sa_t * sa, in lftr_rcv_new_lftr() 114 osm_sa_t *sa = p_ctxt->sa; in lftr_rcv_by_comp_mask() 178 osm_sa_t *sa = ctx; in osm_lftr_rcv_process()
|
H A D | osm_sa_mft_record.c | 66 osm_sa_t *sa; 70 static ib_api_status_t mftr_rcv_new_mftr(IN osm_sa_t * sa, in mftr_rcv_new_mftr() 119 osm_sa_t *sa = p_ctxt->sa; in mftr_rcv_by_comp_mask() 211 osm_sa_t *sa = ctx; in osm_mftr_rcv_process()
|
H A D | osm_sa_node_record.c | 66 osm_sa_t *sa; 70 static ib_api_status_t nr_rcv_new_nr(osm_sa_t * sa, in nr_rcv_new_nr() 113 static void nr_rcv_create_nr(IN osm_sa_t * sa, IN osm_node_t * p_node, in nr_rcv_create_nr() 199 osm_sa_t *sa = p_ctxt->sa; in nr_rcv_by_comp_mask() 286 osm_sa_t *sa = ctx; in osm_nr_rcv_process()
|
H A D | osm_sa_guidinfo_record.c | 77 osm_sa_t *sa; 81 static ib_api_status_t gir_rcv_new_gir(IN osm_sa_t * sa, in gir_rcv_new_gir() 124 static void sa_gir_create_gir(IN osm_sa_t * sa, IN osm_node_t * p_node, in sa_gir_create_gir() 228 osm_sa_t *sa = p_ctxt->sa; in sa_gir_by_comp_mask_cb() 324 static void guidinfo_respond(IN osm_sa_t *sa, IN osm_madw_t *p_madw, in guidinfo_respond() 350 static void gir_respond(IN osm_sa_t *sa, IN osm_madw_t *p_madw) in gir_respond() 378 static void del_guidinfo(IN osm_sa_t *sa, IN osm_madw_t *p_madw, in del_guidinfo() 491 static void set_guidinfo(IN osm_sa_t *sa, IN osm_madw_t *p_madw, in set_guidinfo() 719 static void get_guidinfo(IN osm_sa_t *sa, IN osm_madw_t *p_madw, in get_guidinfo() 750 osm_sa_t *sa = ctx; in osm_gir_rcv_process()
|
H A D | osm_sa_slvl_record.c | 70 osm_sa_t *sa; 74 static void sa_slvl_create(IN osm_sa_t * sa, IN const osm_physp_t * p_physp, in sa_slvl_create() 117 static void sa_slvl_by_comp_mask(IN osm_sa_t * sa, IN const osm_port_t * p_port, in sa_slvl_by_comp_mask() 201 osm_sa_t *sa = ctx; in osm_slvl_rec_rcv_process()
|
H A D | osm_sa_mcmember_record.c | 119 static void free_mlid(IN osm_sa_t * sa, IN uint16_t mlid) in free_mlid() 157 static ib_net16_t get_new_mlid(osm_sa_t * sa, ib_member_rec_t * mcmr) in get_new_mlid() 201 static void mcmr_rcv_respond(IN osm_sa_t * sa, IN osm_madw_t * p_madw, in mcmr_rcv_respond() 382 static boolean_t validate_modify(IN osm_sa_t * sa, IN osm_mgrp_t * p_mgrp, in validate_modify() 477 static boolean_t validate_delete(IN osm_sa_t * sa, IN osm_mgrp_t * p_mgrp, in validate_delete() 567 static boolean_t validate_requested_mgid(IN osm_sa_t * sa, in validate_requested_mgid() 654 static boolean_t mgrp_request_is_realizable(IN osm_sa_t * sa, in mgrp_request_is_realizable() 785 static unsigned build_new_mgid(osm_sa_t * sa, ib_net64_t comp_mask, in build_new_mgid() 820 static ib_api_status_t mcmr_rcv_create_new_mgrp(IN osm_sa_t * sa, in mcmr_rcv_create_new_mgrp() 943 osm_mgrp_t *osm_mcmr_rcv_find_or_create_new_mgrp(IN osm_sa_t * sa, in osm_mcmr_rcv_find_or_create_new_mgrp() [all …]
|
H A D | osm_sa_link_record.c | 63 static void lr_rcv_build_physp_link(IN osm_sa_t * sa, IN ib_net16_t from_lid, in lr_rcv_build_physp_link() 96 static void lr_rcv_get_physp_link(IN osm_sa_t * sa, in lr_rcv_get_physp_link() 198 static void lr_rcv_get_port_links(IN osm_sa_t * sa, in lr_rcv_get_port_links() 353 static ib_net16_t lr_rcv_get_end_points(IN osm_sa_t * sa, in lr_rcv_get_end_points() 417 osm_sa_t *sa = context; in osm_lr_rcv_process()
|
H A D | osm_sa_sminfo_record.c | 75 osm_sa_t *sa; 79 static ib_api_status_t smir_rcv_new_smir(IN osm_sa_t * sa, in smir_rcv_new_smir() 117 static void sa_smir_by_comp_mask(IN osm_sa_t * sa, in sa_smir_by_comp_mask() 172 osm_sa_t *sa = ctx; in osm_smir_rcv_process()
|
H A D | osm_sa_portinfo_record.c | 70 osm_sa_t *sa; 75 static ib_api_status_t pir_rcv_new_pir(IN osm_sa_t * sa, in pir_rcv_new_pir() 140 static void sa_pir_create(IN osm_sa_t * sa, IN const osm_physp_t * p_physp, in sa_pir_create() 184 static void sa_pir_check_physp(IN osm_sa_t * sa, IN const osm_physp_t * p_physp, in sa_pir_check_physp() 449 static void sa_pir_by_comp_mask(IN osm_sa_t * sa, IN osm_node_t * p_node, in sa_pir_by_comp_mask() 508 osm_sa_t *sa = ctx; in osm_pir_rcv_process()
|
H A D | osm_guid_mgr.c | 58 static void guidinfo_set(IN osm_sa_t *sa, IN osm_port_t *p_port, in guidinfo_set() 109 int osm_queue_guidinfo(IN osm_sa_t *sa, IN osm_port_t *p_port, in osm_queue_guidinfo()
|
H A D | osm_sa_path_record.c | 146 static ib_api_status_t pr_rcv_get_path_parms(IN osm_sa_t * sa, in pr_rcv_get_path_parms() 855 ib_api_status_t osm_get_path_params(IN osm_sa_t * sa, in osm_get_path_params() 879 static void pr_rcv_build_pr(IN osm_sa_t * sa, in pr_rcv_build_pr() 943 static osm_sa_item_t *pr_rcv_get_lid_pair_path(IN osm_sa_t * sa, in pr_rcv_get_lid_pair_path() 1014 static void pr_rcv_get_port_pair_paths(IN osm_sa_t * sa, in pr_rcv_get_port_pair_paths() 1243 static ib_net64_t find_router(const osm_sa_t *sa, ib_net64_t prefix) in find_router() 1275 ib_net16_t osm_pr_get_end_points(IN osm_sa_t * sa, in osm_pr_get_end_points() 1413 static void pr_rcv_process_world(IN osm_sa_t * sa, IN const ib_sa_mad_t * sa_mad, in pr_rcv_process_world() 1458 void osm_pr_process_half(IN osm_sa_t * sa, IN const ib_sa_mad_t * sa_mad, in osm_pr_process_half() 1513 void osm_pr_process_pair(IN osm_sa_t * sa, IN const ib_sa_mad_t * sa_mad, in osm_pr_process_pair() [all …]
|
H A D | osm_sa_class_port_info.c | 72 static void cpi_rcv_respond(IN osm_sa_t * sa, IN const osm_madw_t * p_madw) in cpi_rcv_respond() 193 osm_sa_t *sa = context; in osm_cpi_rcv_process()
|
H A D | osm_sa_multipath_record.c | 137 static ib_api_status_t mpr_rcv_get_path_parms(IN osm_sa_t * sa, in mpr_rcv_get_path_parms() 827 static void mpr_rcv_build_pr(IN osm_sa_t * sa, in mpr_rcv_build_pr() 875 static osm_sa_item_t *mpr_rcv_get_lid_pair_path(IN osm_sa_t * sa, in mpr_rcv_get_lid_pair_path() 953 static uint32_t mpr_rcv_get_port_pair_paths(IN osm_sa_t * sa, in mpr_rcv_get_port_pair_paths() 1144 static osm_sa_item_t *mpr_rcv_get_apm_port_pair_paths(IN osm_sa_t * sa, in mpr_rcv_get_apm_port_pair_paths() 1225 static ib_net16_t mpr_rcv_get_gids(IN osm_sa_t * sa, IN const ib_gid_t * gids, in mpr_rcv_get_gids() 1282 static ib_net16_t mpr_rcv_get_end_points(IN osm_sa_t * sa, in mpr_rcv_get_end_points() 1337 static void mpr_rcv_get_apm_paths(IN osm_sa_t * sa, in mpr_rcv_get_apm_paths() 1490 static void mpr_rcv_process_pairs(IN osm_sa_t * sa, in mpr_rcv_process_pairs() 1535 osm_sa_t *sa = context; in osm_mpr_rcv_process()
|
H A D | osm_sa.c | 97 void osm_sa_construct(IN osm_sa_t * p_sa) in osm_sa_construct() 106 void osm_sa_shutdown(IN osm_sa_t * p_sa) in osm_sa_shutdown() 148 void osm_sa_destroy(IN osm_sa_t * p_sa) in osm_sa_destroy() 159 ib_api_status_t osm_sa_init(IN osm_sm_t * p_sm, IN osm_sa_t * p_sa, in osm_sa_init() 327 ib_api_status_t osm_sa_bind(IN osm_sa_t * p_sa, IN ib_net64_t port_guid) in osm_sa_bind() 347 ib_api_status_t osm_sa_send(osm_sa_t *sa, IN osm_madw_t * p_madw, in osm_sa_send() 363 void osm_sa_send_error(IN osm_sa_t * sa, IN const osm_madw_t * p_madw, in osm_sa_send_error() 424 void osm_sa_respond(osm_sa_t *sa, osm_madw_t *madw, size_t attr_size, in osm_sa_respond()
|
H A D | osm_sa_mad_ctrl.c | 507 IN osm_sa_t * sa, in osm_sa_mad_ctrl_init()
|
H A D | osm_prtn.c | 255 osm_sa_t *p_sa = &p_subn->p_osm->sa; in osm_prtn_add_mcgroup()
|