Lines Matching defs:node_type
5616 derive_devi_class(dev_info_t *dip, char *node_type, int flag)
5621 if (strncmp(node_type, DDI_NT_BLOCK,
5623 (node_type[sizeof (DDI_NT_BLOCK) - 1] == '\0' ||
5624 node_type[sizeof (DDI_NT_BLOCK) - 1] == ':') &&
5625 strcmp(node_type, DDI_NT_FD) != 0) {
5629 } else if (strncmp(node_type, DDI_NT_NET,
5631 (node_type[sizeof (DDI_NT_NET) - 1] == '\0' ||
5632 node_type[sizeof (DDI_NT_NET) - 1] == ':')) {
5636 } else if (strncmp(node_type, DDI_NT_PRINTER,
5638 (node_type[sizeof (DDI_NT_PRINTER) - 1] == '\0' ||
5639 node_type[sizeof (DDI_NT_PRINTER) - 1] == ':')) {
5643 } else if (strncmp(node_type, DDI_PSEUDO,
5684 minor_t minor_num, char *node_type, int flag, ddi_minor_type mtype,
5716 * Default node_type to DDI_PSEUDO and issue notice in debug mode
5718 if (node_type == NULL) {
5719 node_type = DDI_PSEUDO;
5720 NDI_CONFIG_DEBUG((CE_NOTE, "!illegal node_type NULL for %s%d "
5729 if (strcmp(node_type, DDI_NT_NET) == 0) {
5752 if (derive_devi_class(dip, node_type, KM_NOSLEEP) !=
5772 dmdp->ddm_node_type = node_type;
5801 dacfc_match_create_minor(name, node_type, dip, dmdp, flag);
5807 minor_t minor_num, char *node_type, int flag)
5810 node_type, flag, DDM_MINOR, NULL, NULL, 0));
5815 minor_t minor_num, char *node_type, int flag,
5819 node_type, flag, DDM_MINOR, rdpriv, wrpriv, priv_mode));
5824 minor_t minor_num, char *node_type, int flag)
5827 node_type, flag, DDM_DEFAULT, NULL, NULL, 0));