Searched refs:mgrp (Results 1 - 13 of 13) sorted by relevance

/freebsd-current/contrib/ofed/opensm/opensm/
H A Dosm_multicast.c109 osm_mgrp_t *mgrp; local
112 mgrp = cl_item_obj(cl_qlist_remove_head(&mbox->mgrp_list),
113 mgrp, list_item);
114 mgrp_delete(mgrp);
151 void osm_mgrp_cleanup(osm_subn_t * subn, osm_mgrp_t * mgrp) argument
157 if (mgrp->full_members)
160 while (cl_qmap_count(&mgrp->mcm_alias_port_tbl)) {
161 mcm_alias_guid = (osm_mcm_alias_guid_t *) cl_qmap_head(&mgrp->mcm_alias_port_tbl);
162 cl_qmap_remove_item(&mgrp->mcm_alias_port_tbl, &mcm_alias_guid->map_item);
166 while (cl_qmap_count(&mgrp
190 mgrp_send_notice(osm_subn_t * subn, osm_log_t * log, osm_mgrp_t * mgrp, unsigned num) argument
254 insert_alias_guid(IN osm_mgrp_t * mgrp, IN osm_mcm_alias_guid_t * p_mcm_alias_guid) argument
272 osm_mgrp_add_port(IN osm_subn_t * subn, osm_log_t * log, IN osm_mgrp_t * mgrp, osm_port_t *port, IN ib_member_rec_t *mcmr, IN boolean_t proxy) argument
346 osm_mgrp_remove_port(osm_subn_t * subn, osm_log_t * log, osm_mgrp_t * mgrp, osm_mcm_alias_guid_t * mcm_alias_guid, ib_member_rec_t *mcmr) argument
423 osm_mgrp_delete_port(osm_subn_t * subn, osm_log_t * log, osm_mgrp_t * mgrp, osm_port_t * port) argument
[all...]
H A Dosm_mcm_port.c54 osm_mcm_port_t *osm_mcm_port_new(IN osm_port_t *port, IN osm_mgrp_t *mgrp) argument
62 p_mcm->mgrp = mgrp;
H A Dosm_prtn.c210 track_mgrp_w_partition(osm_log_t *p_log, osm_prtn_t *p, osm_mgrp_t *mgrp, argument
220 if (p->mgrps[i] == mgrp)
227 p->mgrps[p->nmgrps] = mgrp;
236 mgrp->well_known = FALSE;
237 osm_mgrp_cleanup(p_subn, mgrp);
240 mgrp->well_known = TRUE;
254 osm_mgrp_t *mgrp; local
282 mgrp = osm_mcmr_rcv_find_or_create_new_mgrp(p_sa, comp_mask, &mc_rec);
283 if (!mgrp) {
291 return (track_mgrp_w_partition(p_log, p, mgrp, p_sub
[all...]
H A Dosm_sa_path_record.c1640 osm_mgrp_t *mgrp; local
1648 mgrp = osm_get_mgrp_by_mgid(sa->p_subn, &pr->dgid);
1649 if (!mgrp) {
1659 status = pr_match_mgrp_attributes(sa, sa_mad, mgrp);
1678 pr_item->resp.path_rec.dgid = mgrp->mcmember_rec.mgid;
1679 pr_item->resp.path_rec.dlid = mgrp->mcmember_rec.mlid;
1680 pr_item->resp.path_rec.tclass = mgrp->mcmember_rec.tclass;
1682 pr_item->resp.path_rec.pkey = mgrp->mcmember_rec.pkey;
1685 pr_item->resp.path_rec.mtu = (IB_PATH_SELECTOR_EXACTLY << 6) | mgrp->mcmember_rec.mtu;
1686 pr_item->resp.path_rec.rate = (IB_PATH_SELECTOR_EXACTLY << 6) | mgrp
[all...]
H A Dosm_mcast_mgr.c93 osm_mgrp_t *mgrp; local
103 mgrp = cl_item_obj(list_item, mgrp, list_item);
104 for (map_item = cl_qmap_head(&mgrp->mcm_port_tbl);
105 map_item != cl_qmap_end(&mgrp->mcm_port_tbl);
H A Dosm_sa_mcmember_record.c96 used during the process of join request to copy data from the mgrp
446 /* the request port is not part of the partition for this mgrp */
818 Call this function to create a new mgrp.
941 Call this function to find or create a new mgrp.
948 osm_mgrp_t *mgrp; local
950 if ((mgrp = osm_get_mgrp_by_mgid(sa->p_subn,
952 return mgrp;
954 &mgrp) == IB_SUCCESS)
955 return mgrp;
1454 Match the given mgrp t
[all...]
H A Dosm_subnet.c1467 osm_mgrp_t *mgrp; local
1469 mgrp = (osm_mgrp_t *)cl_fmap_get(&subn->mgrp_mgid_tbl, mgid);
1470 if (mgrp != (osm_mgrp_t *)cl_fmap_end(&subn->mgrp_mgid_tbl))
1471 return mgrp;
H A Dosm_drop_mgr.c236 osm_mgrp_delete_port(sm->p_subn, sm->p_log, mcm_port->mgrp,
H A Dosm_sa_guidinfo_record.c439 p_mcm_alias_guid = osm_mgrp_get_mcm_alias_guid(p_mcm_port->mgrp, del_alias_guid);
H A Dosm_state_mgr.c344 osm_mgrp_delete_port(p_subn, sm->p_log, mcm_port->mgrp,
H A Dosm_torus.c8802 osm_mgrp_t *mgrp; local
8815 mgrp = cl_item_obj(l_item, mgrp, list_item);
8818 m_item = cl_qmap_head(&mgrp->mcm_port_tbl);
8819 if (m_item == cl_qmap_end(&mgrp->mcm_port_tbl)) {
/freebsd-current/contrib/ofed/opensm/include/opensm/
H A Dosm_mcm_port.h80 struct osm_mgrp *mgrp; member in struct:osm_mcm_port
93 * mgrp
110 osm_mcm_port_t *osm_mcm_port_new(IN osm_port_t * port, IN struct osm_mgrp *mgrp);
116 * mgrp
H A Dosm_multicast.h338 IN osm_mgrp_t * mgrp, IN osm_port_t *port,
342 * mgrp
427 IN osm_mgrp_t * mgrp, IN osm_port_t * port);
437 * mgrp
451 boolean_t osm_mgrp_remove_port(osm_subn_t * subn, osm_log_t * log, osm_mgrp_t * mgrp,

Completed in 222 milliseconds