Home
last modified time | relevance | path

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

12

/titanic_50/usr/src/uts/common/sys/ib/ibnex/
H A Dibnex.h161 ibnex_node_type_t node_type; member
178 (((n)->node_type == IBNEX_PORT_COMMSVC_NODE) || \
179 ((n)->node_type == IBNEX_VPPA_COMMSVC_NODE) || \
180 ((n)->node_type == IBNEX_HCASVC_COMMSVC_NODE) || \
181 ((n)->node_type == IBNEX_IOC_NODE) || \
182 ((n)->node_type == IBNEX_PSEUDO_NODE))
185 (((n)->node_type == IBNEX_PORT_COMMSVC_NODE) || \
186 ((n)->node_type == IBNEX_VPPA_COMMSVC_NODE) || \
187 ((n)->node_type == IBNEX_HCASVC_COMMSVC_NODE))
/titanic_50/usr/src/uts/common/os/
H A Ddacf_clnt.c70 dacfc_match_create_minor(char *name, char *node_type, dev_info_t *dip, in dacfc_match_create_minor() argument
80 if ((flag & CLONE_DEV) && (strcmp(node_type, DDI_NT_NET) != 0)) { in dacfc_match_create_minor()
161 if (!r && node_type) { in dacfc_match_create_minor()
162 r = dacf_match(DACF_OPID_POSTATTACH, DACF_DS_MIN_NT, node_type); in dacfc_match_create_minor()
169 "%s, %s, %s\n", name, node_type, dev_pathp); in dacfc_match_create_minor()
186 if (!r && node_type) { in dacfc_match_create_minor()
187 r = dacf_match(DACF_OPID_PREDETACH, DACF_DS_MIN_NT, node_type); in dacfc_match_create_minor()
194 "%s, %s, %s\n", name, node_type, dev_pathp); in dacfc_match_create_minor()
H A Dsunddi.c5616 derive_devi_class(dev_info_t *dip, char *node_type, int flag) in derive_devi_class() argument
5621 if (strncmp(node_type, DDI_NT_BLOCK, in derive_devi_class()
5623 (node_type[sizeof (DDI_NT_BLOCK) - 1] == '\0' || in derive_devi_class()
5624 node_type[sizeof (DDI_NT_BLOCK) - 1] == ':') && in derive_devi_class()
5625 strcmp(node_type, DDI_NT_FD) != 0) { in derive_devi_class()
5629 } else if (strncmp(node_type, DDI_NT_NET, in derive_devi_class()
5631 (node_type[sizeof (DDI_NT_NET) - 1] == '\0' || in derive_devi_class()
5632 node_type[sizeof (DDI_NT_NET) - 1] == ':')) { in derive_devi_class()
5636 } else if (strncmp(node_type, DDI_NT_PRINTER, in derive_devi_class()
5638 (node_type[sizeof (DDI_NT_PRINTER) - 1] == '\0' || in derive_devi_class()
[all …]
/titanic_50/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Disns_client.h93 uint32_t node_type,
106 uint32_t node_type,
132 uint32_t node_type,
145 uint32_t node_type,
H A Disns_client.c55 uint32_t node_type; member
109 uint8_t *node_name, uint8_t *node_alias, uint32_t node_type);
164 uint8_t *node_name, uint8_t *node_alias, uint32_t node_type,
255 uint32_t node_type, in isns_reg() argument
312 reg_args_p->node_type = node_type; in isns_reg()
340 uint32_t node_type, in isns_reg_one_server() argument
381 reg_args_p->node_type = node_type; in isns_reg_one_server()
488 uint32_t node_type, in isns_query() argument
496 node_type, in isns_query()
506 uint32_t node_type, in isns_query_one_server() argument
[all …]
/titanic_50/usr/src/uts/common/io/
H A Dgen_drv.c63 char *node_type; /* stable node_type copy */ member
712 if (dstatep->node_type) in gen_detach()
713 kmem_free(dstatep->node_type, in gen_detach()
714 strlen(dstatep->node_type) + 1); in gen_detach()
1370 char *node_type; member
1513 dmdp->node_type, NULL) != DDI_SUCCESS) { in gen_create_serial()
1559 char *node_type; in gen_create_minor_nodes() local
1571 DDI_PROP_DONTPASS, "node-type", &node_type) != 0) { in gen_create_minor_nodes()
1575 if (node_type) { in gen_create_minor_nodes()
1576 dstatep->node_type = kmem_alloc( in gen_create_minor_nodes()
[all …]
/titanic_50/usr/src/uts/common/io/ib/ibnex/
H A Dibnex_ioctl.c933 } else if (nodep->node_type == IBNEX_IOC_NODE) { in ibnex_devctl()
937 } else if (nodep->node_type == IBNEX_PSEUDO_NODE) { in ibnex_devctl()
1382 ibnex_node_type_t node_type) in ibnex_get_commsvcnode_snapshot() argument
1392 "node_type = %x", hca_guid, port_guid, svc_index, p_key, node_type); in ibnex_get_commsvcnode_snapshot()
1411 tmp->node_type = node_type; in ibnex_get_commsvcnode_snapshot()
1416 if (node_type == IBNEX_VPPA_COMMSVC_NODE) { in ibnex_get_commsvcnode_snapshot()
1451 nodep->node_type = IBNEX_IOC_NODE; in ibnex_fill_ioc_tmp()
1496 node_datap->node_type, node_datap); in ibnex_fill_nodeinfo()
1498 if (node_datap->node_type == IBNEX_PORT_COMMSVC_NODE) { in ibnex_fill_nodeinfo()
1523 } else if (node_datap->node_type == IBNEX_VPPA_COMMSVC_NODE) { in ibnex_fill_nodeinfo()
[all …]
H A Dibnex_hca.c178 if (node_data->node_type == in ibnex_hca_bus_config()
478 ibnex_node_type_t node_type; in ibnex_hca_bus_config_one() local
496 parent, devname, &cdip, &node_type); in ibnex_hca_bus_config_one()
500 if ((node_data) && (node_data->node_type == in ibnex_hca_bus_config_one()
519 switch (node_type) { in ibnex_hca_bus_config_one()
569 if (node_type == IBNEX_HCA_CHILD_NODE) { in ibnex_hca_bus_config_one()
H A Dibnex.c859 ASSERT(node_data->node_type == IBNEX_IOC_NODE); in ibnex_ibtl_callback()
1071 "Node type %x", node_datap, node_datap->node_type); in ibnex_name_child()
1072 switch (node_datap->node_type) { in ibnex_name_child()
2966 int index, int node_type, ib_pkey_t pkey, int *rval, int flag) in ibnex_commsvc_initnode() argument
2986 node_data = ibnex_is_node_data_present(node_type, (void *)port_attr, in ibnex_commsvc_initnode()
3012 node_data = ibnex_init_child_nodedata(node_type, port_attr, in ibnex_commsvc_initnode()
3028 switch (node_type) { in ibnex_commsvc_initnode()
3376 ibnex_is_node_data_present(ibnex_node_type_t node_type, void *attr, in ibnex_is_node_data_present() argument
3381 if (node_type == IBNEX_IOC_NODE) { in ibnex_is_node_data_present()
3392 } else if (node_type == IBNEX_PSEUDO_NODE) { in ibnex_is_node_data_present()
[all …]
/titanic_50/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib.c73 if (device->node_type != RDMA_NODE_IB_CA) in rdsv3_ib_add_one()
364 if (ret || cm_id->device->node_type != RDMA_NODE_IB_CA) in rds_ib_laddr_check()
370 cm_id->device ? cm_id->device->node_type : -1); in rds_ib_laddr_check()
/titanic_50/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_ib.c1802 int32_t node_type; in cfga_list_ext() local
1894 (void) nvpair_value_int32(nvp, &node_type); in cfga_list_ext()
1895 if (node_type == IBNEX_PORT_NODE_TYPE) { in cfga_list_ext()
1899 } else if (node_type == IBNEX_VPPA_NODE_TYPE) { in cfga_list_ext()
1903 } else if (node_type == in cfga_list_ext()
1908 } else if (node_type == IBNEX_IOC_NODE_TYPE) { in cfga_list_ext()
1912 } else if (node_type == in cfga_list_ext()
/titanic_50/usr/src/uts/common/sys/
H A Dcmlb.h309 boolean_t is_removable, boolean_t is_hotpluggable, char *node_type,
H A Ddevinfo_impl.h296 di_off_t node_type; /* block, byte, serial, network */ member
H A Dsservice.h475 char *node_type; /* device node type */ member
H A Dddi_impldefs.h711 char *node_type; /* block, byte, serial, network */ member
761 #define ddm_node_type d_minor.node_type
H A Dsunddi.h1565 minor_t minor_num, char *node_type, int flag);
1569 minor_t minor_num, char *node_type, int flag,
/titanic_50/usr/src/uts/common/sys/scsi/targets/
H A Dsgendef.h143 uchar_t node_type; /* SCSI device type */ member
/titanic_50/usr/src/uts/common/sys/ib/clients/of/rdma/
H A Dib_verbs.h84 rdma_node_get_transport(enum rdma_node_type node_type) __attribute_const__;
628 uint8_t node_type; member
/titanic_50/usr/src/uts/sun4u/opl/io/oplmsu/
H A Doplmsu_ioctl_uwp.c349 if (ctrl->node_type != MSU_NODE_USER) { in oplmsu_uwioctl_termios()
353 "ctrl node type = %d", ctrl->node_type); in oplmsu_uwioctl_termios()
/titanic_50/usr/src/cmd/devfsadm/
H A Ddevfsadm.h108 char *node_type; /* eg DDI_NT_TAPE, DDI_NT_BLOCK, etc */ member
H A Ddevfsadm.c2012 if (create->create->node_type != NULL) { in minor_matches_rule()
2019 if (strcmp(create->create->node_type, m_nodetype) != in minor_matches_rule()
2025 if (strncmp(create->create->node_type, m_nodetype, in minor_matches_rule()
2026 strlen(create->create->node_type)) != 0) { in minor_matches_rule()
2271 (create_reg->tblp[i].node_type == NULL)) { in load_module()
2294 create_reg->tblp[i].node_type, in load_module()
2298 create_reg->tblp[i].node_type, n); in load_module()
6588 char *node_type; in devlink_matches() local
6598 node_type = di_minor_nodetype(minor); in devlink_matches()
6599 assert(node_type != NULL); in devlink_matches()
[all …]
/titanic_50/usr/src/uts/sun4u/opl/sys/oplmsu/
H A Doplmsu.h251 int node_type; member
/titanic_50/usr/src/uts/common/pcmcia/sys/
H A Dcs.h978 char *node_type; /* device node type */ member
1221 char *node_type; /* device node type */ member
/titanic_50/usr/src/lib/libdevinfo/
H A Ddevinfo.c823 char *node_type; in walk_one_minor_list() local
837 node_type = di_minor_nodetype(minor); in walk_one_minor_list()
838 if ((desired_type != NULL) && ((node_type == NULL) || in walk_one_minor_list()
839 strncmp(desired_type, node_type, strlen(desired_type)) in walk_one_minor_list()
1436 if (DI_MINOR(minor)->node_type == 0) in di_minor_nodetype()
1440 DI_MINOR(minor)->self + DI_MINOR(minor)->node_type); in di_minor_nodetype()
/titanic_50/usr/src/uts/intel/io/dktp/disk/
H A Dcmdk.c353 char *node_type; in cmdkattach() local
376 node_type = (DKTP_EXT->tg_nodetype); in cmdkattach()
410 node_type, in cmdkattach()

12