Searched refs:minor_nm (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | usb_link.c | 260 char *minor_nm, *drvr_nm, *name = (char *)NULL; in usb_process() local 266 minor_nm = di_minor_name(minor); in usb_process() 268 if ((minor_nm == NULL) || (drvr_nm == NULL)) { in usb_process() 273 minor_nm, di_node_name(node), di_minor_nodetype(minor)); in usb_process() 299 (void) strcat(p_path, minor_nm); in usb_process() 313 ugen_create_link(p_path, minor_nm, node, minor); in usb_process() 321 ccid_create_link(p_path, minor_nm, node, minor); in usb_process() 339 if (strcmp(minor_nm, "sound,audio") == 0) { in usb_process() 343 } else if (strcmp(minor_nm, "sound,audioctl") == 0) { in usb_process() 347 } else if (strcmp(minor_nm, "mux") == 0) { in usb_process() [all …]
|
H A D | cfg_link.c | 257 char *minor_nm; in sata_cfg_creat_cb() local 261 minor_nm = di_minor_name(minor); in sata_cfg_creat_cb() 262 if (minor_nm == NULL) in sata_cfg_creat_cb() 271 (void) strlcat(path, minor_nm, sizeof (path)); in sata_cfg_creat_cb() 281 buf, minor_nm); in sata_cfg_creat_cb() 293 char *minor_nm; in sdcard_cfg_creat_cb() local 297 minor_nm = di_minor_name(minor); in sdcard_cfg_creat_cb() 298 if (minor_nm == NULL) in sdcard_cfg_creat_cb() 305 (void) snprintf(path, sizeof (path), "%s:%s", devfspath, minor_nm); in sdcard_cfg_creat_cb() 315 CFG_DIRNAME, buf, minor_nm); in sdcard_cfg_creat_cb() [all …]
|
H A D | misc_link.c | 573 char *minor_nm, *drvr_nm; in gpio() local 576 minor_nm = di_minor_name(minor); in gpio() 578 if ((minor_nm == NULL) || (drvr_nm == NULL)) { in gpio() 586 (void) strcat(p_path, minor_nm); in gpio()
|
/illumos-gate/usr/src/cmd/devfsadm/sparc/ |
H A D | misc_link_sparc.c | 168 char *minor_nm; in mc_node() local 170 minor_nm = di_minor_name(minor); in mc_node() 172 if (minor_nm == NULL) { in mc_node() 180 (void) strcat(path, minor_nm); in mc_node()
|
/illumos-gate/usr/src/uts/common/fs/devfs/ |
H A D | devfs_subr.c | 842 dv_find_leafnode(dev_info_t *devi, char *minor_nm, struct ddi_minor_data *r_mi) in dv_find_leafnode() argument 848 dcmn_err3(("dv_find_leafnode: %s\n", minor_nm)); in dv_find_leafnode() 859 minor_nm, dmd->ddm_name)); in dv_find_leafnode() 860 if (strcmp(minor_nm, dmd->ddm_name) == 0) { in dv_find_leafnode() 873 dcmn_err3(("dv_find_leafnode: %s: ENOENT\n", minor_nm)); in dv_find_leafnode()
|