Searched refs:p_tbl (Results 1 - 19 of 19) sorted by relevance

/freebsd-11-stable/contrib/ofed/opensm/opensm/
H A Dosm_mcast_tbl.c56 void osm_mcast_tbl_init(IN osm_mcast_tbl_t * p_tbl, IN uint8_t num_ports, argument
59 CL_ASSERT(p_tbl);
62 memset(p_tbl, 0, sizeof(*p_tbl));
64 p_tbl->max_block_in_use = -1;
74 p_tbl->num_entries = capacity;
75 p_tbl->num_ports = num_ports;
76 p_tbl->max_position =
80 p_tbl->max_block = (uint16_t) ((ROUNDUP(p_tbl
85 osm_mcast_tbl_destroy(IN osm_mcast_tbl_t * p_tbl) argument
90 osm_mcast_tbl_set(IN osm_mcast_tbl_t * p_tbl, IN uint16_t mlid_ho, IN uint8_t port) argument
111 osm_mcast_tbl_realloc(IN osm_mcast_tbl_t * p_tbl, IN unsigned mlid_offset) argument
144 osm_mcast_tbl_is_port(IN const osm_mcast_tbl_t * p_tbl, IN uint16_t mlid_ho, IN uint8_t port_num) argument
169 osm_mcast_tbl_is_any_port(IN const osm_mcast_tbl_t * p_tbl, IN uint16_t mlid_ho) argument
191 osm_mcast_tbl_set_block(IN osm_mcast_tbl_t * p_tbl, IN const ib_net16_t * p_block, IN int16_t block_num, IN uint8_t position) argument
222 osm_mcast_tbl_clear_mlid(IN osm_mcast_tbl_t * p_tbl, IN uint16_t mlid_ho) argument
236 osm_mcast_tbl_get_block(IN osm_mcast_tbl_t * p_tbl, IN int16_t block_num, IN uint8_t position, OUT ib_net16_t * p_block) argument
[all...]
H A Dosm_mcast_mgr.c340 osm_mcast_tbl_t *p_tbl; local
366 p_tbl = osm_switch_get_mcast_tbl_ptr(p_sw);
368 if (osm_mcast_tbl_get_block(p_tbl, (uint16_t) block_num,
503 osm_mcast_tbl_t *p_tbl; local
593 p_tbl = osm_switch_get_mcast_tbl_ptr(p_sw);
604 osm_mcast_tbl_set(p_tbl, mlid_ho, upstream_port);
644 osm_mcast_tbl_set(p_tbl, mlid_ho, i);
694 osm_mcast_tbl_set(p_tbl, mlid_ho, i);
824 osm_mcast_tbl_t *p_tbl;
842 p_tbl
1046 osm_mcast_tbl_t *p_tbl; local
1110 osm_mcast_tbl_t *p_tbl; local
[all...]
H A Dosm_dump.c242 osm_mcast_tbl_t *p_tbl; local
257 p_tbl = osm_switch_get_mcast_tbl_ptr(p_sw);
262 while (block_num <= p_tbl->max_block_in_use) {
270 while (position <= p_tbl->max_position) {
272 cl_ntoh16((*p_tbl->
508 ib_slvl_table_t *p_tbl; local
532 p_tbl = osm_physp_get_slvl_tbl(p_physp, in_port);
535 ib_slvl_table_get(p_tbl, i));
542 p_tbl = osm_physp_get_slvl_tbl(p_physp, 0);
545 ib_slvl_table_get(p_tbl,
[all...]
H A Dosm_pkey_mgr.c203 const cl_map_t *p_tbl = local
212 i_next = cl_map_head(p_tbl);
213 while (i_next != cl_map_end(p_tbl)) {
812 cl_qmap_t *p_tbl; local
836 p_tbl = &p_osm->subn.prtn_pkey_tbl;
837 p_next = cl_qmap_head(p_tbl);
838 while (p_next != cl_qmap_end(p_tbl)) {
848 p_tbl = &p_osm->subn.port_guid_tbl;
849 p_next = cl_qmap_head(p_tbl);
850 while (p_next != cl_qmap_end(p_tbl)) {
[all...]
H A Dosm_qos.c256 ib_slvl_table_t tbl, *p_tbl; local
274 p_tbl = osm_physp_get_slvl_tbl(p, in_port);
276 if (!force_update && !memcmp(p_tbl, &tbl, sizeof(tbl)))
288 memset(p_tbl, 0, sizeof(tbl));
448 cl_qmap_t *p_tbl; local
478 p_tbl = &p_osm->subn.port_guid_tbl;
479 p_next = cl_qmap_head(p_tbl);
480 while (p_next != cl_qmap_end(p_tbl)) {
H A Dosm_prtn.c130 cl_map_t *p_tbl; local
159 p_tbl = (full == TRUE) ? &p->full_guid_tbl : &p->part_guid_tbl;
162 if (cl_map_remove(p_tbl, guid))
177 if (cl_map_insert(p_tbl, guid, p_physp) == NULL)
H A Dosm_sw_info_rcv.c117 osm_mcast_tbl_t *p_tbl;
143 p_tbl = osm_switch_get_mcast_tbl_ptr(p_sw);
144 max_block_id_ho = osm_mcast_tbl_get_max_block(p_tbl);
154 max_position = osm_mcast_tbl_get_max_position(p_tbl);
H A Dosm_sa_path_record.c1419 const cl_qmap_t *p_tbl; local
1432 p_tbl = &sa->p_subn->alias_port_guid_tbl;
1434 p_dest_alias_guid = (osm_alias_guid_t *) cl_qmap_head(p_tbl);
1435 while (p_dest_alias_guid != (osm_alias_guid_t *) cl_qmap_end(p_tbl)) {
1436 p_src_alias_guid = (osm_alias_guid_t *) cl_qmap_head(p_tbl);
1437 while (p_src_alias_guid != (osm_alias_guid_t *) cl_qmap_end(p_tbl)) {
1466 const cl_qmap_t *p_tbl; local
1476 p_tbl = &sa->p_subn->alias_port_guid_tbl;
1482 p_alias_guid = (osm_alias_guid_t *) cl_qmap_head(p_tbl);
1483 while (p_alias_guid != (osm_alias_guid_t *) cl_qmap_end(p_tbl)) {
[all...]
H A Dosm_prtn_config.c389 cl_map_t *p_tbl; local
419 p_tbl = (membership == LIMITED) ?
422 p_next = cl_map_head(p_tbl);
423 while (p_next != cl_map_end(p_tbl)) {
428 cl_map_remove_item(p_tbl, p_item);
H A Dosm_congestion_control.c356 cl_qmap_t *p_tbl; local
375 p_tbl = &p_osm->subn.port_guid_tbl;
376 p_next = cl_qmap_head(p_tbl);
377 while (p_next != cl_qmap_end(p_tbl)) {
H A Dosm_pkey.c118 IN uint16_t block, IN ib_pkey_table_t * p_tbl,
144 memcpy(p_pkey_block, p_tbl, sizeof(ib_pkey_table_t));
117 osm_pkey_tbl_set(IN osm_pkey_tbl_t * p_pkey_tbl, IN uint16_t block, IN ib_pkey_table_t * p_tbl, IN boolean_t allow_both_pkeys) argument
H A Dosm_ucast_dfsssp.c1719 osm_mcast_tbl_t *p_tbl = NULL; local
1742 p_tbl = osm_switch_get_mcast_tbl_ptr(p_sw);
1748 osm_mcast_tbl_set(p_tbl, mlid_ho, 0);
1770 osm_mcast_tbl_set(p_tbl, mlid_ho, port);
1783 osm_mcast_tbl_set(p_tbl, mlid_ho, upstream_port);
1789 p_tbl = osm_switch_get_mcast_tbl_ptr(
1791 osm_mcast_tbl_set(p_tbl, mlid_ho, downstream_port);
/freebsd-11-stable/contrib/ofed/opensm/include/opensm/
H A Dosm_mcast_tbl.h124 void osm_mcast_tbl_init(IN osm_mcast_tbl_t * p_tbl, IN uint8_t num_ports,
177 int osm_mcast_tbl_realloc(IN osm_mcast_tbl_t * p_tbl, IN unsigned mlid_offset);
181 * p_tbl
204 void osm_mcast_tbl_destroy(IN osm_mcast_tbl_t * p_tbl);
207 * p_tbl
227 void osm_mcast_tbl_set(IN osm_mcast_tbl_t * p_tbl, IN uint16_t mlid_ho,
231 * p_tbl
257 void osm_mcast_tbl_clear_mlid(IN osm_mcast_tbl_t * p_tbl, IN uint16_t mlid_ho);
260 * p_tbl
283 boolean_t osm_mcast_tbl_is_port(IN const osm_mcast_tbl_t * p_tbl,
409 osm_mcast_tbl_get_max_block(IN osm_mcast_tbl_t * p_tbl) argument
438 osm_mcast_tbl_get_max_block_in_use(IN osm_mcast_tbl_t * p_tbl) argument
467 osm_mcast_tbl_get_max_position(IN osm_mcast_tbl_t * p_tbl) argument
[all...]
H A Dosm_port.h598 ib_slvl_table_t *p_tbl; local
602 p_tbl = (ib_slvl_table_t *)cl_ptr_vector_get(&p_physp->slvl_by_port, in_port_num);
603 *p_tbl = *p_slvl_tbl;
640 ib_slvl_table_t *p_tbl; local
643 p_tbl = (ib_slvl_table_t *)cl_ptr_vector_get(&p_physp->slvl_by_port, in_port_num);
644 return p_tbl;
H A Dosm_switch.h1163 const osm_mcast_tbl_t *p_tbl; local
1165 p_tbl = &p_sw->mcast_tbl;
1166 if (p_tbl)
H A Dosm_pkey.h475 IN uint16_t block, IN ib_pkey_table_t * p_tbl,
484 * p_tbl
/freebsd-11-stable/contrib/libstdc++/include/ext/pb_ds/detail/unordered_iterator/
H A Dconst_iterator.hpp118 const_iterator_(const_pointer_ p_value, PB_DS_GEN_POS pos, const PB_DS_CLASS_C_DEC* p_tbl) : const_point_iterator_(p_value), argument
119 m_p_tbl(p_tbl),
H A Diterator.hpp151 iterator_(pointer p_value, PB_DS_GEN_POS pos, PB_DS_CLASS_C_DEC* p_tbl) : const_iterator_(p_value, pos, p_tbl) argument
/freebsd-11-stable/sys/dev/qlnx/qlnxe/
H A Decore_dcbx.c335 struct dcbx_app_priority_entry *p_tbl, u32 pri_tc_tbl,
354 protocol_id = GET_MFW_FIELD(p_tbl[i].entry,
356 priority_map = GET_MFW_FIELD(p_tbl[i].entry, DCBX_APP_PRI_MAP);
366 if (ecore_dcbx_get_app_protocol_type(p_hwfn, p_tbl[i].entry,
418 struct dcbx_app_priority_entry *p_tbl; local
431 p_tbl = p_app->app_pri_tbl;
439 rc = ecore_dcbx_process_tlv(p_hwfn, p_ptt, &data, p_tbl, pri_tc_tbl,
549 struct dcbx_app_priority_entry *p_tbl,
567 sf_ieee = GET_MFW_FIELD(p_tbl[i].entry,
572 val = GET_MFW_FIELD(p_tbl[
333 ecore_dcbx_process_tlv(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, struct ecore_dcbx_results *p_data, struct dcbx_app_priority_entry *p_tbl, u32 pri_tc_tbl, int count, u8 dcbx_version) argument
547 ecore_dcbx_get_app_data(struct ecore_hwfn *p_hwfn, struct dcbx_app_priority_feature *p_app, struct dcbx_app_priority_entry *p_tbl, struct ecore_dcbx_params *p_params, bool ieee) argument
680 ecore_dcbx_get_common_params(struct ecore_hwfn *p_hwfn, struct dcbx_app_priority_feature *p_app, struct dcbx_app_priority_entry *p_tbl, struct dcbx_ets_feature *p_ets, u32 pfc, struct ecore_dcbx_params *p_params, bool ieee) argument
[all...]

Completed in 222 milliseconds