Searched refs:node_type (Results 1 - 25 of 64) sorted by relevance

123

/freebsd-10-stable/contrib/binutils/ld/
H A Dldexp.h48 } node_type; typedef in typeref:struct:__anon617
51 node_type type;
53 node_type type;
58 node_type type;
64 node_type type;
70 node_type type;
74 node_type type;
78 node_type type;
83 node_type type;
88 node_type typ
[all...]
/freebsd-10-stable/contrib/ofed/libibverbs/src/
H A Denum_strs.c35 const char *ibv_node_type_str(enum ibv_node_type node_type) argument
44 if (node_type < IBV_NODE_CA || node_type > IBV_NODE_RNIC)
47 return node_type_str[node_type];
H A Dinit.c395 if (ibv_read_sysfs_file(sysfs_dev->ibdev_path, "node_type", value, sizeof value) < 0) {
396 fprintf(stderr, PFX "Warning: no node_type attr under %s.\n",
398 dev->node_type = IBV_NODE_UNKNOWN;
400 dev->node_type = strtol(value, NULL, 10);
401 if (dev->node_type < IBV_NODE_CA || dev->node_type > IBV_NODE_RNIC)
402 dev->node_type = IBV_NODE_UNKNOWN;
406 switch (dev->node_type) {
/freebsd-10-stable/sys/ofed/drivers/infiniband/core/
H A Dsmi.c47 u8 node_type, int port_num)
65 if (node_type != RDMA_NODE_IB_SWITCH)
78 return (node_type == RDMA_NODE_IB_SWITCH ||
97 if (node_type != RDMA_NODE_IB_SWITCH)
109 return (node_type == RDMA_NODE_IB_SWITCH ||
127 enum smi_action smi_handle_dr_smp_recv(struct ib_smp *smp, u8 node_type, argument
143 if (node_type != RDMA_NODE_IB_SWITCH)
158 return (node_type == RDMA_NODE_IB_SWITCH ||
178 if (node_type != RDMA_NODE_IB_SWITCH)
194 return (node_type
46 smi_handle_dr_smp_send(struct ib_smp *smp, u8 node_type, int port_num) argument
[all...]
H A Dsmi.h54 enum smi_action smi_handle_dr_smp_recv(struct ib_smp *smp, u8 node_type,
59 u8 node_type, int port_num);
H A Dagent.c91 if (device->node_type == RDMA_NODE_IB_SWITCH)
120 if (device->node_type == RDMA_NODE_IB_SWITCH) {
H A Dsysfs.c675 switch (dev->node_type) {
676 case RDMA_NODE_IB_CA: return sprintf(buf, "%d: CA\n", dev->node_type);
677 case RDMA_NODE_RNIC: return sprintf(buf, "%d: RNIC\n", dev->node_type);
678 case RDMA_NODE_IB_SWITCH: return sprintf(buf, "%d: switch\n", dev->node_type);
679 case RDMA_NODE_IB_ROUTER: return sprintf(buf, "%d: router\n", dev->node_type);
680 default: return sprintf(buf, "%d: <unknown>\n", dev->node_type);
741 static DEVICE_ATTR(node_type, S_IRUGO, show_node_type, NULL);
906 if (device->node_type == RDMA_NODE_IB_SWITCH) {
918 if (device->node_type == RDMA_NODE_RNIC && device->get_protocol_stats) {
H A Dverbs.c81 rdma_node_get_transport(enum rdma_node_type node_type) argument
83 switch (node_type) {
102 switch (rdma_node_get_transport(device->node_type)) {
1006 switch (rdma_node_get_transport(qp->device->node_type)) {
1029 switch (rdma_node_get_transport(qp->device->node_type)) {
/freebsd-10-stable/contrib/ofed/management/infiniband-diags/src/
H A Dibstat.c81 if (!ca->node_type)
83 printf("%s '%s'\n", ((uint)ca->node_type <= IB_NODE_MAX ? node_type_str[ca->node_type] : "???"), ca->ca_name);
84 printf("\t%s type: %s\n", ((uint)ca->node_type <= IB_NODE_MAX ? node_type_str[ca->node_type] : "???"),ca->ca_type);
146 if (!ca.node_type)
152 ((uint)ca.node_type <= IB_NODE_MAX ? node_type_str[ca.node_type] : "???"),
156 printf("%s: '%s'\n", ((uint)ca.node_type <= IB_NODE_MAX ? node_type_str[ca.node_type]
[all...]
H A Dibnetdiscover.c477 char *node_type; local
483 node_type = "Switch";
486 node_type = "Ca";
489 node_type = "Router";
492 node_type = "???";
496 node_type,
570 char *node_type; local
578 node_type = "ca";
582 node_type = "rt";
586 node_type
[all...]
H A Dibportstate.c65 int node_type; local
70 node_type = mad_get_field(data, 0, IB_NODE_TYPE_F);
71 if (node_type == IB_NODE_SWITCH) /* Switch NodeType ? */
H A Dperfquery.c352 int node_type, num_ports = 0; local
466 node_type = mad_get_field(data, 0, IB_NODE_TYPE_F);
471 if (node_type == IB_NODE_SWITCH) {
/freebsd-10-stable/contrib/ofed/management/opensm/opensm/
H A Dosm_dump.c384 if (p_node->node_info.node_type == IB_NODE_TYPE_SWITCH)
392 p_node->node_info.node_type == IB_NODE_TYPE_SWITCH ?
393 "SW" : p_node->node_info.node_type ==
394 IB_NODE_TYPE_CA ? "CA" : p_node->node_info.node_type ==
412 if (p_nbnode->node_info.node_type == IB_NODE_TYPE_SWITCH)
420 p_nbnode->node_info.node_type == IB_NODE_TYPE_SWITCH ?
421 "SW" : p_nbnode->node_info.node_type ==
423 p_nbnode->node_info.node_type == IB_NODE_TYPE_ROUTER ?
466 uint8_t node_type; local
468 node_type
[all...]
H A Dosm_node_info_rcv.c617 ib_get_node_type_str(p_ni->node_type),
678 if (p_ni->node_type == IB_NODE_TYPE_ROUTER) {
719 switch (p_ni->node_type) {
730 p_ni->node_type, cl_ntoh64(p_ni->node_guid));
761 ib_get_node_type_str(p_ni->node_type),
771 switch (p_ni->node_type) {
785 p_ni->node_type, cl_ntoh64(p_ni->node_guid));
H A Dosm_sa_slvl_record.c96 if (p_physp->p_node->node_info.node_type != IB_NODE_TYPE_SWITCH)
148 if (p_port->p_node->node_info.node_type != IB_NODE_TYPE_SWITCH) {
H A Dosm_sa_vlarb_record.c96 if (p_physp->p_node->node_info.node_type != IB_NODE_TYPE_SWITCH)
166 if (p_port->p_node->node_info.node_type != IB_NODE_TYPE_SWITCH) {
H A Dosm_sa_node_record.c242 if ((p_node->node_info.node_type !=
243 p_rcvd_rec->node_info.node_type))
H A Dosm_sa_pkey_record.c89 if (p_physp->p_node->node_info.node_type != IB_NODE_TYPE_SWITCH)
164 if (p_port->p_node->node_info.node_type != IB_NODE_TYPE_SWITCH) {
H A Dosm_helper.c1009 ib_get_node_type_str(p_ni->node_type),
1060 ib_get_node_type_str(p_ni->node_type),
2144 const char *osm_get_node_type_str_fixed_width(IN uint8_t node_type) argument
2146 if (node_type > IB_NODE_TYPE_ROUTER)
2147 node_type = 0;
2148 return (__osm_node_type_str_fixed_width[node_type]);
/freebsd-10-stable/contrib/ofed/management/opensm/include/opensm/
H A Dosm_node.h250 return (p_node->node_info.node_type);
/freebsd-10-stable/contrib/ofed/management/infiniband-diags/scripts/
H A DIBswcountlimits.pm499 my $node_type = &get_node_type($_[0]);
500 return ($node_type =~ /Switch/);
/freebsd-10-stable/contrib/ofed/management/libibumad/include/infiniband/
H A Dumad.h104 #define SYS_NODE_TYPE "node_type"
141 unsigned node_type; member in struct:umad_ca
/freebsd-10-stable/contrib/llvm/tools/lldb/source/DataFormatters/
H A DLibCxxMap.cpp295 ClangASTType node_type(node->GetClangType());
297 if (node_type.GetIndexOfFieldWithName("__value_", NULL, &bit_offset) == UINT32_MAX)
/freebsd-10-stable/contrib/ofed/management/opensm/libvendor/
H A Dosm_vendor_ibumad.c583 if (ca.node_type < 1 || ca.node_type > 3)
670 if (umad_ca.node_type < 1 || umad_ca.node_type > 3) {
673 umad_ca.node_type, umad_ca.ca_name);
676 umad_ca.node_type, umad_ca.ca_name);
/freebsd-10-stable/contrib/gcclibs/libcpp/include/
H A Dcpplib.h547 enum node_type enum
616 ENUM_BITFIELD(node_type) type : 8; /* CPP node type. */

Completed in 317 milliseconds

123