/freebsd/sys/dev/hwpmc/ |
H A D | hwpmc_cmn600.c | 236 cmn600_map_ev2event(int ev, int rev, int *node_type, uint8_t *event) in cmn600_map_ev2event() argument 242 *node_type = NODE_TYPE_DVM; in cmn600_map_ev2event() 269 *node_type = NODE_TYPE_HN_F; in cmn600_map_ev2event() 273 *node_type = NODE_TYPE_HN_I; in cmn600_map_ev2event() 277 *node_type = NODE_TYPE_XP; in cmn600_map_ev2event() 281 *node_type = NODE_TYPE_SBSX; in cmn600_map_ev2event() 285 *node_type = NODE_TYPE_RN_D; in cmn600_map_ev2event() 289 *node_type = NODE_TYPE_RN_I; in cmn600_map_ev2event() 293 *node_type = NODE_TYPE_CXHA; in cmn600_map_ev2event() 297 *node_type = NODE_TYPE_CXRA; in cmn600_map_ev2event() [all …]
|
/freebsd/contrib/ofed/infiniband-diags/src/ |
H A D | ibstat.c | 67 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 D | ibnetdiscover.c | 182 char *node_type; in list_node() local 188 node_type = "Switch"; in list_node() 191 node_type = "Ca"; in list_node() 194 node_type = "Router"; in list_node() 197 node_type = "???"; in list_node() 202 " ports %d devid 0x%x vendid 0x%x \"%s\"\n", 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() [all …]
|
H A D | ibsendtrap.c | 59 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/sys/arm64/arm64/ |
H A D | cmn600.c | 482 pmu_cmn600_alloc_localpmc(void *arg, int nodeid, int node_type, int *counter) in pmu_cmn600_alloc_localpmc() argument 490 switch (node_type) { in pmu_cmn600_alloc_localpmc() 494 node_type = NODE_TYPE_XP; in pmu_cmn600_alloc_localpmc() 498 ret = cmn600_find_node(sc, nodeid, node_type, &node); in pmu_cmn600_alloc_localpmc() 516 pmu_cmn600_free_localpmc(void *arg, int nodeid, int node_type, int counter) in pmu_cmn600_free_localpmc() argument 524 switch (node_type) { in pmu_cmn600_free_localpmc() 528 node_type = NODE_TYPE_XP; in pmu_cmn600_free_localpmc() 530 ret = cmn600_find_node(sc, nodeid, node_type, &node); in pmu_cmn600_free_localpmc() 542 pmu_cmn600_rd4(void *arg, int nodeid, int node_type, off_t reg) in pmu_cmn600_rd4() argument 549 ret = cmn600_find_node(sc, nodeid, node_type, &node); in pmu_cmn600_rd4() [all …]
|
/freebsd/contrib/ofed/libibverbs/ |
H A D | enum_strs.c | 35 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 D | init.c | 174 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/contrib/ofed/opensm/opensm/ |
H A D | osm_dump.c | 393 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() 403 IB_NODE_TYPE_CA ? "CA" : p_node->node_info.node_type == in dump_topology_node() 421 if (p_nbnode->node_info.node_type == IB_NODE_TYPE_SWITCH) 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() 523 if (p_node->node_info.node_type == IB_NODE_TYPE_SWITCH) { in dump_sl2vl_tbl() [all …]
|
H A D | osm_node_info_rcv.c | 684 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 D | osm_sa_slvl_record.c | 90 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 D | osm_sa_vlarb_record.c | 90 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 D | osm_sa_pkey_record.c | 84 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 D | osm_sa_node_record.c | 243 p_node->node_info.node_type != p_rcvd_rec->node_info.node_type) in nr_rcv_by_comp_mask()
|
/freebsd/sys/arm64/include/ |
H A D | cmn600_reg.h | 49 int pmu_cmn600_alloc_localpmc(void *arg, int nodeid, int node_type, 51 int pmu_cmn600_free_localpmc(void *arg, int nodeid, int node_type, 54 uint32_t pmu_cmn600_rd4(void *arg, int nodeid, int node_type, off_t reg); 55 int pmu_cmn600_wr4(void *arg, int nodeid, int node_type, off_t reg, 57 uint64_t pmu_cmn600_rd8(void *arg, int nodeid, int node_type, off_t reg); 58 int pmu_cmn600_wr8(void *arg, int nodeid, int node_type, off_t reg, 60 int pmu_cmn600_set8(void *arg, int nodeid, int node_type, off_t reg, 62 int pmu_cmn600_clr8(void *arg, int nodeid, int node_type, off_t reg, 64 int pmu_cmn600_md8(void *arg, int nodeid, int node_type, off_t reg,
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | ilist_node.h | 279 using node_type = ilist_node_impl<OptionsT>; member 281 static node_type *getNodePtr(pointer N) { in getNodePtr() 285 static const node_type *getNodePtr(const_pointer N) { in getNodePtr() 289 static pointer getValuePtr(node_type *N) { in getValuePtr() 293 static const_pointer getValuePtr(const node_type *N) { in getValuePtr()
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | set | 42 typedef unspecified node_type; // C++17 43 typedef INSERT_RETURN_TYPE<iterator, node_type> insert_return_type; // C++17 126 node_type extract(const_iterator position); // C++17 127 node_type extract(const key_type& x); // C++17 128 insert_return_type insert(node_type&& nh); // C++17 129 iterator insert(const_iterator hint, node_type&& nh); // C++17 287 typedef unspecified node_type; // C++17 371 node_type extract(const_iterator position); // C++17 372 node_type extract(const key_type& x); // C++17 373 iterator insert(node_type&& nh); // C++17 [all …]
|
H A D | unordered_set | 47 typedef unspecified node_type unspecified; // C++17 48 typedef INSERT_RETURN_TYPE<iterator, node_type> insert_return_type; // C++17 132 node_type extract(const_iterator position); // C++17 133 node_type extract(const key_type& x); // C++17 134 insert_return_type insert(node_type&& nh); // C++17 135 iterator insert(const_iterator hint, node_type&& nh); // C++17 296 typedef unspecified node_type unspecified; // C++17 380 node_type extract(const_iterator position); // C++17 381 node_type extract(const key_type& x); // C++17 382 iterator insert(node_type&& nh); // C++17 [all …]
|
H A D | map | 42 typedef unspecified node_type; // C++17 43 typedef INSERT_RETURN_TYPE<iterator, node_type> insert_return_type; // C++17 150 node_type extract(const_iterator position); // C++17 151 node_type extract(const key_type& x); // C++17 152 insert_return_type insert(node_type&& nh); // C++17 153 iterator insert(const_iterator hint, node_type&& nh); // C++17 329 typedef unspecified node_type; // C++17 429 node_type extract(const_iterator position); // C++17 430 node_type extract(const key_type& x); // C++17 431 iterator insert(node_type&& nh); // C++17 [all …]
|
H A D | __node_handle | 131 "node_type with incompatible allocator passed to " 132 "node_type::operator=(node_type&&)");
|
H A D | unordered_map | 46 typedef unspecified node_type; // C++17 47 typedef INSERT_RETURN_TYPE<iterator, node_type> insert_return_type; // C++17 140 node_type extract(const_iterator position); // C++17 141 node_type extract(const key_type& x); // C++17 142 insert_return_type insert(node_type&& nh); // C++17 143 iterator insert(const_iterator hint, node_type&& nh); // C++17 334 typedef unspecified node_type; // C++17 426 node_type extract(const_iterator position); // C++17 427 node_type extract(const key_type& x); // C++17 428 iterator insert(node_type&& nh); // C++17 [all …]
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_sysfs.c | 1203 switch (dev->node_type) { in show_node_type() 1204 case RDMA_NODE_IB_CA: return sprintf(buf, "%d: CA\n", dev->node_type); in show_node_type() 1205 case RDMA_NODE_RNIC: return sprintf(buf, "%d: RNIC\n", dev->node_type); in show_node_type() 1206 case RDMA_NODE_USNIC: return sprintf(buf, "%d: usNIC\n", dev->node_type); in show_node_type() 1207 case RDMA_NODE_USNIC_UDP: return sprintf(buf, "%d: usNIC UDP\n", dev->node_type); in show_node_type() 1208 case RDMA_NODE_IB_SWITCH: return sprintf(buf, "%d: switch\n", dev->node_type); in show_node_type() 1209 case RDMA_NODE_IB_ROUTER: return sprintf(buf, "%d: router\n", dev->node_type); in show_node_type() 1210 default: return sprintf(buf, "%d: <unknown>\n", dev->node_type); in show_node_type() 1275 static DEVICE_ATTR(node_type, S_IRUGO, show_node_type, NULL);
|
/freebsd/contrib/ofed/opensm/libvendor/ |
H A D | osm_vendor_ibumad.c | 678 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/sys/ofed/include/rdma/ |
H A D | opa_smi.h | 110 u8 node_type; member
|
H A D | ib_smi.h | 127 u8 node_type; member
|
/freebsd/sys/dev/irdma/ |
H A D | irdma_ws.c | 53 enum irdma_ws_node_type node_type, in irdma_alloc_node() argument 77 if (node_type == WS_NODE_TYPE_LEAF) { in irdma_alloc_node()
|