Home
last modified time | relevance | path

Searched refs:node_type (Results 1 – 25 of 55) sorted by relevance

123

/freebsd-13.1/contrib/ofed/infiniband-diags/src/
H A Dibstat.c67 if (!ca->node_type) in ca_dump()
70 ((unsigned)ca->node_type <= in ca_dump()
71 IB_NODE_MAX ? node_type_str[ca->node_type] : "???"), in ca_dump()
74 ((unsigned)ca->node_type <= in ca_dump()
75 IB_NODE_MAX ? node_type_str[ca->node_type] : "???"), in ca_dump()
206 if (!ca.node_type) in ca_stat()
212 ((unsigned)ca.node_type <= in ca_stat()
213 IB_NODE_MAX ? node_type_str[ca.node_type] : in ca_stat()
218 ((unsigned)ca.node_type <= in ca_stat()
219 IB_NODE_MAX ? node_type_str[ca.node_type] : "???"), in ca_stat()
H A Dibnetdiscover.c182 char *node_type; in list_node() local
191 node_type = "Ca"; in list_node()
197 node_type = "???"; in list_node()
300 char *node_type; in out_ca_detail() local
304 node_type = "Ca"; in out_ca_detail()
307 node_type = "Rt"; in out_ca_detail()
310 node_type = "???"; in out_ca_detail()
322 char *node_type; in out_ca() local
327 node_type = "ca"; in out_ca()
330 node_type = "rt"; in out_ca()
[all …]
H A Dibsendtrap.c59 uint16_t node_type = IB_NODE_TYPE_CA; in get_node_type() local
63 node_type = (uint16_t) mad_get_field(data, 0, IB_NODE_TYPE_F); in get_node_type()
64 return node_type; in get_node_type()
/freebsd-13.1/contrib/ofed/libibverbs/
H A Denum_strs.c35 const char *ibv_node_type_str(enum ibv_node_type node_type) in ibv_node_type_str() argument
46 if (node_type < IBV_NODE_CA || node_type > IBV_NODE_USNIC_UDP) in ibv_node_type_str()
49 return node_type_str[node_type]; in ibv_node_type_str()
H A Dinit.c174 dev->node_type = IBV_NODE_UNKNOWN; in try_driver()
176 dev->node_type = strtol(value, NULL, 10); in try_driver()
177 if (dev->node_type < IBV_NODE_CA || dev->node_type > IBV_NODE_USNIC_UDP) in try_driver()
178 dev->node_type = IBV_NODE_UNKNOWN; in try_driver()
181 switch (dev->node_type) { in try_driver()
/freebsd-13.1/contrib/ofed/opensm/opensm/
H A Dosm_dump.c393 if (p_node->node_info.node_type == IB_NODE_TYPE_SWITCH) in dump_topology_node()
401 p_node->node_info.node_type == IB_NODE_TYPE_SWITCH ? in dump_topology_node()
402 "SW" : p_node->node_info.node_type == in dump_topology_node()
429 p_nbnode->node_info.node_type == IB_NODE_TYPE_SWITCH ? in dump_topology_node()
430 "SW" : p_nbnode->node_info.node_type == in dump_topology_node()
432 p_nbnode->node_info.node_type == IB_NODE_TYPE_ROUTER ? in dump_topology_node()
519 ib_get_node_type_str(p_node->node_info.node_type), in dump_sl2vl_tbl()
560 uint8_t node_type; in print_node_report() local
562 node_type = osm_node_get_type(p_node); in print_node_report()
565 port_num = node_type == IB_NODE_TYPE_SWITCH ? 0 : 1; in print_node_report()
[all …]
H A Dosm_node_info_rcv.c684 ib_get_node_type_str(p_ni->node_type), in ni_rcv_process_new()
692 ib_get_node_type_str(p_ni->node_type), in ni_rcv_process_new()
780 if (p_ni->node_type == IB_NODE_TYPE_ROUTER) { in ni_rcv_process_new()
821 switch (p_ni->node_type) { in ni_rcv_process_new()
832 p_ni->node_type, cl_ntoh64(p_ni->node_guid)); in ni_rcv_process_new()
861 ib_get_node_type_str(p_ni->node_type), in ni_rcv_process_existing()
870 ib_get_node_type_str(p_ni->node_type), in ni_rcv_process_existing()
882 switch (p_ni->node_type) { in ni_rcv_process_existing()
895 p_ni->node_type, cl_ntoh64(p_ni->node_guid)); in ni_rcv_process_existing()
H A Dosm_sa_slvl_record.c90 if (p_physp->p_node->node_info.node_type != IB_NODE_TYPE_SWITCH) in sa_slvl_create()
104 if (p_physp->p_node->node_info.node_type == IB_NODE_TYPE_SWITCH) { in sa_slvl_create()
140 if (p_port->p_node->node_info.node_type != IB_NODE_TYPE_SWITCH) { in sa_slvl_by_comp_mask()
H A Dosm_sa_vlarb_record.c90 if (p_physp->p_node->node_info.node_type != IB_NODE_TYPE_SWITCH) in sa_vl_arb_create()
151 if (p_port->p_node->node_info.node_type != IB_NODE_TYPE_SWITCH) { in sa_vl_arb_by_comp_mask()
H A Dosm_sa_pkey_record.c84 if (p_physp->p_node->node_info.node_type != IB_NODE_TYPE_SWITCH) in sa_pkey_create()
157 if (p_port->p_node->node_info.node_type != IB_NODE_TYPE_SWITCH) { in sa_pkey_by_comp_mask()
H A Dosm_sa_node_record.c243 p_node->node_info.node_type != p_rcvd_rec->node_info.node_type) in nr_rcv_by_comp_mask()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A Dilist_node.h214 using node_type = ilist_node_impl<OptionsT>; member
216 static node_type *getNodePtr(pointer N) { in getNodePtr()
220 static const node_type *getNodePtr(const_pointer N) { in getNodePtr()
224 static pointer getValuePtr(node_type *N) { in getValuePtr()
228 static const_pointer getValuePtr(const node_type *N) { in getValuePtr()
/freebsd-13.1/contrib/llvm-project/libcxx/include/
H A Dset713 insert_return_type insert(node_type&& __nh)
718 node_type, insert_return_type>(_VSTD::move(__nh));
721 iterator insert(const_iterator __hint, node_type&& __nh)
729 node_type extract(key_type const& __key)
734 node_type extract(const_iterator __it)
1243 iterator insert(node_type&& __nh)
1247 return __tree_.template __node_handle_insert_multi<node_type>(
1251 iterator insert(const_iterator __hint, node_type&& __nh)
1255 return __tree_.template __node_handle_insert_multi<node_type>(
1259 node_type extract(key_type const& __key)
[all …]
H A Dunordered_set223 typedef unspecified node_type unspecified; // C++17
295 node_type extract(const_iterator position); // C++17
635 insert_return_type insert(node_type&& __nh)
640 node_type, insert_return_type>(_VSTD::move(__nh));
643 iterator insert(const_iterator __h, node_type&& __nh)
651 node_type extract(key_type const& __key)
656 node_type extract(const_iterator __it)
1290 iterator insert(node_type&& __nh)
1298 iterator insert(const_iterator __hint, node_type&& __nh)
1306 node_type extract(const_iterator __position)
[all …]
H A Dmap1340 insert_return_type insert(node_type&& __nh)
1345 node_type, insert_return_type>(_VSTD::move(__nh));
1348 iterator insert(const_iterator __hint, node_type&& __nh)
1356 node_type extract(key_type const& __key)
1361 node_type extract(const_iterator __it)
2015 iterator insert(node_type&& __nh)
2019 return __tree_.template __node_handle_insert_multi<node_type>(
2023 iterator insert(const_iterator __hint, node_type&& __nh)
2031 node_type extract(key_type const& __key)
2036 node_type extract(const_iterator __it)
[all …]
H A D__node_handle107 "node_type with incompatible allocator passed to "
108 "node_type::operator=(node_type&&)");
H A Dunordered_map258 typedef unspecified node_type; // C++17
971 typedef __map_node_handle<__node, allocator_type> node_type;
1281 insert_return_type insert(node_type&& __nh)
1286 node_type, insert_return_type>(_VSTD::move(__nh));
1289 iterator insert(const_iterator __hint, node_type&& __nh)
1297 node_type extract(key_type const& __key)
1302 node_type extract(const_iterator __it)
2093 iterator insert(node_type&& __nh)
2101 iterator insert(const_iterator __hint, node_type&& __nh)
2109 node_type extract(key_type const& __key)
[all …]
/freebsd-13.1/sys/ofed/drivers/infiniband/core/
H A Dib_sysfs.c1205 switch (dev->node_type) { in show_node_type()
1206 case RDMA_NODE_IB_CA: return sprintf(buf, "%d: CA\n", dev->node_type); in show_node_type()
1207 case RDMA_NODE_RNIC: return sprintf(buf, "%d: RNIC\n", dev->node_type); in show_node_type()
1208 case RDMA_NODE_USNIC: return sprintf(buf, "%d: usNIC\n", dev->node_type); in show_node_type()
1209 case RDMA_NODE_USNIC_UDP: return sprintf(buf, "%d: usNIC UDP\n", dev->node_type); in show_node_type()
1210 case RDMA_NODE_IB_SWITCH: return sprintf(buf, "%d: switch\n", dev->node_type); in show_node_type()
1211 case RDMA_NODE_IB_ROUTER: return sprintf(buf, "%d: router\n", dev->node_type); in show_node_type()
1212 default: return sprintf(buf, "%d: <unknown>\n", dev->node_type); in show_node_type()
1277 static DEVICE_ATTR(node_type, S_IRUGO, show_node_type, NULL);
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DLibCxxMap.cpp294 CompilerType node_type(node->GetCompilerType()); in GetValueOffset() local
296 if (node_type.GetIndexOfFieldWithName("__value_", nullptr, &bit_offset) != in GetValueOffset()
301 llvm::dyn_cast_or_null<TypeSystemClang>(node_type.GetTypeSystem()); in GetValueOffset()
/freebsd-13.1/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_ibumad.c678 if (ca.node_type < 1 || ca.node_type > 3) in osm_vendor_get_all_port_attr()
779 if (umad_ca.node_type < 1 || umad_ca.node_type > 3) { in osm_vendor_open_port()
782 umad_ca.node_type, umad_ca.ca_name); in osm_vendor_open_port()
785 umad_ca.node_type, umad_ca.ca_name); in osm_vendor_open_port()
/freebsd-13.1/sys/ofed/include/rdma/
H A Dopa_smi.h112 u8 node_type; member
H A Dib_smi.h129 u8 node_type; member
/freebsd-13.1/contrib/ofed/opensm/include/opensm/
H A Dosm_node.h256 return p_node->node_info.node_type; in osm_node_get_type()
/freebsd-13.1/sys/ofed/drivers/infiniband/util/
H A Dmadeye.c528 if (device->node_type == RDMA_NODE_IB_SWITCH) { in madeye_add_one()
570 if (device->node_type == RDMA_NODE_IB_SWITCH) { in madeye_remove_one()
/freebsd-13.1/contrib/ofed/libibnetdisc/
H A Dibnetdisc.h225 int node_type, void *user_data);

123