/illumos-gate/usr/src/uts/common/sys/ib/ibnex/ |
H A D | ibnex.h | 161 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))
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | dacf_clnt.c | 68 dacfc_match_create_minor(const char *name, const char *node_type, in dacfc_match_create_minor() argument 78 if ((flag & CLONE_DEV) && (strcmp(node_type, DDI_NT_NET) != 0)) { in dacfc_match_create_minor() 159 if (!r && node_type) { in dacfc_match_create_minor() 160 r = dacf_match(DACF_OPID_POSTATTACH, DACF_DS_MIN_NT, node_type); in dacfc_match_create_minor() 167 "%s, %s, %s\n", name, node_type, dev_pathp); in dacfc_match_create_minor() 184 if (!r && node_type) { in dacfc_match_create_minor() 185 r = dacf_match(DACF_OPID_PREDETACH, DACF_DS_MIN_NT, node_type); in dacfc_match_create_minor() 192 "%s, %s, %s\n", name, node_type, dev_pathp); in dacfc_match_create_minor()
|
H A D | sunddi.c | 5541 if (strncmp(node_type, DDI_NT_BLOCK, in derive_devi_class() 5545 strcmp(node_type, DDI_NT_FD) != 0) { in derive_devi_class() 5549 } else if (strncmp(node_type, DDI_NT_NET, in derive_devi_class() 5552 node_type[sizeof (DDI_NT_NET) - 1] == ':')) { in derive_devi_class() 5556 } else if (strncmp(node_type, DDI_NT_PRINTER, in derive_devi_class() 5563 } else if (strncmp(node_type, DDI_PSEUDO, in derive_devi_class() 5638 if (node_type == NULL) { in ddi_create_minor_common() 5639 node_type = DDI_PSEUDO; in ddi_create_minor_common() 5649 if (strcmp(node_type, DDI_NT_NET) == 0) { in ddi_create_minor_common() 5692 dmdp->ddm_node_type = node_type; in ddi_create_minor_common() [all …]
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | isns_client.h | 93 uint32_t node_type, 106 uint32_t node_type, 132 uint32_t node_type, 145 uint32_t node_type,
|
H A D | isns_client.c | 55 uint32_t node_type; member 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 752 node_type, in do_isns_dev_attr_reg() 1715 uint32_t node_type, in isns_create_dev_attr_reg_pdu() argument [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | gen_drv.c | 712 if (dstatep->node_type) in gen_detach() 713 kmem_free(dstatep->node_type, in gen_detach() 1370 char *node_type; member 1559 char *node_type; in gen_create_minor_nodes() local 1575 if (node_type) { in gen_create_minor_nodes() 1576 dstatep->node_type = kmem_alloc( in gen_create_minor_nodes() 1578 (void) strcpy(dstatep->node_type, node_type); in gen_create_minor_nodes() 1580 ddi_prop_free(node_type); in gen_create_minor_nodes() 1586 if (dstatep->node_type) { in gen_create_minor_nodes() 1587 kmem_free(dstatep->node_type, in gen_create_minor_nodes() [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/ibnex/ |
H A D | ibnex_ioctl.c | 1385 ibnex_node_type_t node_type) in ibnex_get_commsvcnode_snapshot() argument 1414 tmp->node_type = node_type; in ibnex_get_commsvcnode_snapshot() 1419 if (node_type == IBNEX_VPPA_COMMSVC_NODE) { in ibnex_get_commsvcnode_snapshot() 1454 nodep->node_type = IBNEX_IOC_NODE; in ibnex_fill_ioc_tmp() 1499 node_datap->node_type, node_datap); in ibnex_fill_nodeinfo() 1645 node_datap->node_type)) { in ibnex_fill_nodeinfo() 1651 IBNEX_NODE_TYPE_NVL, node_datap->node_type); in ibnex_fill_nodeinfo() 2081 int node_type; in ibnex_handle_commsvcnode_configure() local 2206 node_type = (is_hcasvc_node == B_FALSE) ? in ibnex_handle_commsvcnode_configure() 2209 node_type = IBNEX_VPPA_COMMSVC_NODE; in ibnex_handle_commsvcnode_configure() [all …]
|
H A D | ibnex_hca.c | 183 if (node_data->node_type == in ibnex_hca_bus_config() 483 ibnex_node_type_t node_type; in ibnex_hca_bus_config_one() local 502 parent, devname, &cdip, &node_type); in ibnex_hca_bus_config_one() 506 if ((node_data) && (node_data->node_type == in ibnex_hca_bus_config_one() 525 switch (node_type) { in ibnex_hca_bus_config_one() 575 if (node_type == IBNEX_HCA_CHILD_NODE) { in ibnex_hca_bus_config_one()
|
H A D | ibnex.c | 864 ASSERT(node_data->node_type == IBNEX_IOC_NODE); in ibnex_ibtl_callback() 1077 switch (node_datap->node_type) { in ibnex_name_child() 3033 switch (node_type) { in ibnex_commsvc_initnode() 3386 if (node_type == IBNEX_IOC_NODE) { in ibnex_is_node_data_present() 3397 } else if (node_type == IBNEX_PSEUDO_NODE) { in ibnex_is_node_data_present() 3458 char *node_type; in ibnex_pseudo_initnodes() local 3474 node_type = ibnex_lookup_named_prop( in ibnex_pseudo_initnodes() 3511 if (node_type && strcmp(node_type, "merge") == 0) in ibnex_pseudo_initnodes() 3544 node_data->node_type = node_type; in ibnex_init_child_nodedata() 3546 if (node_type == IBNEX_IOC_NODE) { in ibnex_init_child_nodedata() [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | ib.c | 73 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()
|
/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/ |
H A D | cfga_ib.c | 1801 int32_t node_type; in cfga_list_ext() local 1893 (void) nvpair_value_int32(nvp, &node_type); in cfga_list_ext() 1894 if (node_type == IBNEX_PORT_NODE_TYPE) { in cfga_list_ext() 1898 } else if (node_type == IBNEX_VPPA_NODE_TYPE) { in cfga_list_ext() 1902 } else if (node_type == in cfga_list_ext() 1907 } else if (node_type == IBNEX_IOC_NODE_TYPE) { in cfga_list_ext() 1911 } else if (node_type == in cfga_list_ext()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | cmlb.h | 327 boolean_t is_removable, boolean_t is_hotpluggable, char *node_type,
|
H A D | devinfo_impl.h | 296 di_off_t node_type; /* block, byte, serial, network */ member
|
H A D | sservice.h | 473 char *node_type; /* device node type */ member
|
H A D | ddi_impldefs.h | 719 const char *node_type; /* block, byte, serial, network */ member 769 #define ddm_node_type d_minor.node_type
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | symbol.c | 410 struct symbol *node_type = base_type->ctype.base_type; in examine_node_type() local 411 int count = count_array_initializer(node_type, initializer); in examine_node_type() 413 if (node_type && node_type->bit_size >= 0) in examine_node_type()
|
/illumos-gate/usr/src/uts/common/sys/scsi/targets/ |
H A D | sgendef.h | 141 uchar_t node_type; /* SCSI device type */ member
|
/illumos-gate/usr/src/uts/sun4u/opl/io/oplmsu/ |
H A D | oplmsu_ioctl_uwp.c | 349 if (ctrl->node_type != MSU_NODE_USER) { in oplmsu_uwioctl_termios() 353 "ctrl node type = %d", ctrl->node_type); in oplmsu_uwioctl_termios()
|
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/rdma/ |
H A D | ib_verbs.h | 84 rdma_node_get_transport(enum rdma_node_type node_type) __attribute_const__; 628 uint8_t node_type; member
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | devfsadm.h | 109 char *node_type; /* eg DDI_NT_TAPE, DDI_NT_BLOCK, etc */ member
|
H A D | devfsadm.c | 2014 if (create->create->node_type != NULL) { in minor_matches_rule() 2021 if (strcmp(create->create->node_type, m_nodetype) != in minor_matches_rule() 2027 if (strncmp(create->create->node_type, m_nodetype, in minor_matches_rule() 2028 strlen(create->create->node_type)) != 0) { in minor_matches_rule() 2283 (create_reg->tblp[i].node_type == NULL)) { in load_module() 2306 create_reg->tblp[i].node_type, in load_module() 2310 create_reg->tblp[i].node_type, n); in load_module() 6602 char *node_type; in devlink_matches() local 6612 node_type = di_minor_nodetype(minor); in devlink_matches() 6613 assert(node_type != NULL); in devlink_matches() [all …]
|
/illumos-gate/usr/src/uts/sun4u/opl/sys/oplmsu/ |
H A D | oplmsu.h | 251 int node_type; member
|
/illumos-gate/usr/src/uts/common/pcmcia/sys/ |
H A D | cs.h | 978 char *node_type; /* device node type */ member 1221 char *node_type; /* device node type */ member
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo.c | 823 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()
|
/illumos-gate/usr/src/uts/common/io/blkdev/ |
H A D | blkdev.c | 655 char *node_type; in bd_attach() local 831 node_type = DDI_NT_BLOCK_BLKDEV; in bd_attach() 833 node_type = DDI_NT_BLOCK_CHAN; in bd_attach() 835 node_type = DDI_NT_BLOCK; in bd_attach() 838 bd->d_removable, bd->d_hotpluggable, node_type, in bd_attach()
|