Home
last modified time | relevance | path

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

12

/illumos-gate/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))
/illumos-gate/usr/src/uts/common/os/
H A Ddacf_clnt.c68 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 Dsunddi.c5536 derive_devi_class(dev_info_t *dip, const char *node_type, int flag) in derive_devi_class() argument
5541 if (strncmp(node_type, DDI_NT_BLOCK, in derive_devi_class()
5543 (node_type[sizeof (DDI_NT_BLOCK) - 1] == '\0' || in derive_devi_class()
5544 node_type[sizeof (DDI_NT_BLOCK) - 1] == ':') && 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()
5551 (node_type[sizeof (DDI_NT_NET) - 1] == '\0' || 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()
5558 (node_type[sizeof (DDI_NT_PRINTER) - 1] == '\0' || in derive_devi_class()
[all …]
/illumos-gate/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 …]
/illumos-gate/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, 0) != 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 …]
/illumos-gate/usr/src/uts/common/io/ib/ibnex/
H A Dibnex_ioctl.c936 } else if (nodep->node_type == IBNEX_IOC_NODE) { in ibnex_devctl()
940 } else if (nodep->node_type == IBNEX_PSEUDO_NODE) { in ibnex_devctl()
1385 ibnex_node_type_t node_type) in ibnex_get_commsvcnode_snapshot() argument
1395 "node_type = %x", hca_guid, port_guid, svc_index, p_key, node_type); in ibnex_get_commsvcnode_snapshot()
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()
1501 if (node_datap->node_type == IBNEX_PORT_COMMSVC_NODE) { in ibnex_fill_nodeinfo()
1526 } else if (node_datap->node_type == IBNEX_VPPA_COMMSVC_NODE) { in ibnex_fill_nodeinfo()
[all …]
H A Dibnex_hca.c183 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 Dibnex.c865 ASSERT(node_data->node_type == IBNEX_IOC_NODE); in ibnex_ibtl_callback()
1077 "Node type %x", node_datap, node_datap->node_type); in ibnex_name_child()
1078 switch (node_datap->node_type) { in ibnex_name_child()
2987 int index, int node_type, ib_pkey_t pkey, int *rval, int flag) in ibnex_commsvc_initnode() argument
3007 node_data = ibnex_is_node_data_present(node_type, (void *)port_attr, in ibnex_commsvc_initnode()
3033 node_data = ibnex_init_child_nodedata(node_type, port_attr, in ibnex_commsvc_initnode()
3049 switch (node_type) { in ibnex_commsvc_initnode()
3397 ibnex_is_node_data_present(ibnex_node_type_t node_type, void *attr, in ibnex_is_node_data_present() argument
3402 if (node_type == IBNEX_IOC_NODE) { in ibnex_is_node_data_present()
3413 } else if (node_type == IBNEX_PSEUDO_NODE) { in ibnex_is_node_data_present()
[all …]
/illumos-gate/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()
/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_ib.c1801 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 Dcmlb.h327 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.h473 char *node_type; /* device node type */ member
H A Dddi_impldefs.h719 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 Dsymbol.c410 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 Dsgendef.h141 uchar_t node_type; /* SCSI device type */ member
/illumos-gate/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
/illumos-gate/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()
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevfsadm.h109 char *node_type; /* eg DDI_NT_TAPE, DDI_NT_BLOCK, etc */ member
H A Ddevfsadm.c2014 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 Doplmsu.h251 int node_type; member
/illumos-gate/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
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo.c825 char *node_type; in walk_one_minor_list() local
839 node_type = di_minor_nodetype(minor); in walk_one_minor_list()
840 if ((desired_type != NULL) && ((node_type == NULL) || in walk_one_minor_list()
841 strncmp(desired_type, node_type, strlen(desired_type)) in walk_one_minor_list()
1438 if (DI_MINOR(minor)->node_type == 0) in di_minor_nodetype()
1442 DI_MINOR(minor)->self + DI_MINOR(minor)->node_type); in di_minor_nodetype()
/illumos-gate/usr/src/uts/common/io/blkdev/
H A Dblkdev.c654 char *node_type; in bd_attach() local
830 node_type = DDI_NT_BLOCK_BLKDEV; in bd_attach()
832 node_type = DDI_NT_BLOCK_CHAN; in bd_attach()
834 node_type = DDI_NT_BLOCK; in bd_attach()
837 bd->d_removable, bd->d_hotpluggable, node_type, in bd_attach()

12