Searched refs:p_mgrp (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_multicast.c | 82 CL_ASSERT(p_mgrp); in mgrp_delete() 104 free(p_mgrp); in mgrp_delete() 122 osm_mgrp_t *p_mgrp; in osm_mgrp_new() local 125 p_mgrp = (osm_mgrp_t *) malloc(sizeof(*p_mgrp)); in osm_mgrp_new() 126 if (!p_mgrp) in osm_mgrp_new() 129 memset(p_mgrp, 0, sizeof(*p_mgrp)); in osm_mgrp_new() 132 p_mgrp->mlid = mlid; in osm_mgrp_new() 133 p_mgrp->mcmember_rec = *mcmr; in osm_mgrp_new() 137 free(p_mgrp); in osm_mgrp_new() 145 &p_mgrp->map_item); in osm_mgrp_new() [all …]
|
H A D | osm_sa_mcmember_record.c | 91 osm_mgrp_t * p_mgrp, 964 osm_mgrp_t *p_mgrp; in mcmr_rcv_leave_mgrp() local 1010 if (!p_mgrp) { in mcmr_rcv_leave_mgrp() 1051 osm_mgrp_t * p_mgrp, in validate_other_comp_fields() argument 1137 osm_mgrp_t *p_mgrp = NULL; in mcmr_rcv_join_mgrp() local 1239 if (!p_mgrp) { in mcmr_rcv_join_mgrp() 1280 p_physp, &p_mgrp); in mcmr_rcv_join_mgrp() 1313 CL_ASSERT(p_mgrp); in mcmr_rcv_join_mgrp() 1553 cl_ntoh16(p_mgrp->mlid)); in mcmr_by_comp_mask() 1591 osm_mgrp_t *p_mgrp; in mcmr_query_mgrp() local [all …]
|
H A D | osm_sa.c | 635 cl_ntoh16(p_mgrp->mlid), in sa_dump_one_mgrp() 643 p_mgrp->mcmember_rec.mtu, in sa_dump_one_mgrp() 798 osm_mgrp_t *p_mgrp; in sa_dump_all_sa() local 808 p_mgrp = (osm_mgrp_t *) cl_fmap_next(&p_mgrp->map_item)) in sa_dump_all_sa() 841 osm_mgrp_t *p_mgrp; in load_mcgroup() local 846 if (p_mgrp) { in load_mcgroup() 855 p_mgrp = NULL; in load_mcgroup() 870 p_mgrp = NULL; in load_mcgroup() 876 return p_mgrp; in load_mcgroup() 1094 osm_mgrp_t * p_mgrp) in sa_db_file_load_handle_mgrp() argument [all …]
|
H A D | osm_sa_path_record.c | 1531 IN const osm_mgrp_t * p_mgrp) in pr_match_mgrp_attributes() argument 1543 if ((comp_mask & IB_PR_COMPMASK_DLID) && p_mgrp->mlid != p_pr->dlid) { in pr_match_mgrp_attributes() 1546 cl_ntoh16(p_pr->dlid), cl_ntoh16(p_mgrp->mlid)); in pr_match_mgrp_attributes() 1552 if (!osm_mgrp_get_mcm_alias_guid(p_mgrp, in pr_match_mgrp_attributes() 1565 if (!port || !osm_mgrp_get_mcm_port(p_mgrp, port->guid)) { in pr_match_mgrp_attributes() 1576 p_pr->pkey != p_mgrp->mcmember_rec.pkey) { in pr_match_mgrp_attributes() 1580 cl_ntoh16(p_mgrp->mcmember_rec.pkey)); in pr_match_mgrp_attributes() 1584 ib_member_get_sl_flow_hop(p_mgrp->mcmember_rec.sl_flow_hop, in pr_match_mgrp_attributes() 1622 p_pr->tclass != p_mgrp->mcmember_rec.tclass) { in pr_match_mgrp_attributes() 1625 p_pr->tclass, p_mgrp->mcmember_rec.tclass); in pr_match_mgrp_attributes()
|
H A D | osm_inform.c | 378 osm_mgrp_t *p_mgrp; in is_access_permitted() local 413 p_mgrp = osm_get_mgrp_by_mgid(p_subn, &source_gid); in is_access_permitted() 414 if (!p_mgrp) { in is_access_permitted() 423 p_mgrp->mcmember_rec.pkey, in is_access_permitted()
|
H A D | osm_mcast_mgr.c | 817 void osm_mcast_mgr_set_table(osm_sm_t * sm, IN const osm_mgrp_t * p_mgrp, 829 mlid_ho = cl_ntoh16(osm_mgrp_get_mlid(p_mgrp));
|
/freebsd/contrib/ofed/opensm/include/opensm/ |
H A D | osm_multicast.h | 246 static inline boolean_t osm_mgrp_is_guid(IN const osm_mgrp_t * p_mgrp, in osm_mgrp_is_guid() argument 249 return (cl_qmap_get(&p_mgrp->mcm_port_tbl, port_guid) != in osm_mgrp_is_guid() 250 cl_qmap_end(&p_mgrp->mcm_port_tbl)); in osm_mgrp_is_guid() 280 static inline boolean_t osm_mgrp_is_empty(IN const osm_mgrp_t * p_mgrp) in osm_mgrp_is_empty() argument 282 return (cl_qmap_count(&p_mgrp->mcm_port_tbl) == 0); in osm_mgrp_is_empty() 309 static inline ib_net16_t osm_mgrp_get_mlid(IN const osm_mgrp_t * p_mgrp) in osm_mgrp_get_mlid() argument 311 return p_mgrp->mlid; in osm_mgrp_get_mlid() 372 osm_mcm_port_t *osm_mgrp_get_mcm_port(IN const osm_mgrp_t * p_mgrp, 399 osm_mcm_alias_guid_t *osm_mgrp_get_mcm_alias_guid(IN const osm_mgrp_t * p_mgrp,
|