Searched refs:device_str (Results 1 – 2 of 2) sorted by relevance
2808 char *device_str; in create_device_ctd_spec() local2829 if ((device_str = strrchr(ctd_str, '/')) != NULL) { in create_device_ctd_spec()2830 ++device_str; in create_device_ctd_spec()2832 device_str = ctd_str; in create_device_ctd_spec()2836 t_ptr = strrchr(device_str, 't'); in create_device_ctd_spec()2837 d_ptr = strrchr(device_str, 'd'); in create_device_ctd_spec()2838 s_ptr = strrchr(device_str, 's'); in create_device_ctd_spec()2920 if ((error == 0) && (device_str != NULL)) { in create_device_ctd_spec()2923 nchars = strlen(device_str); in create_device_ctd_spec()2924 if ((sscanf(device_str, "c%u%n", &ctrl, &nscan) != 1) || in create_device_ctd_spec()
553 static char device_str[] = {"/devices"}; in open_root_complex() local558 strlen(root_complex) + sizeof (device_str) + sizeof (devctl_str)); in open_root_complex()561 (void) strcpy(path, device_str); in open_root_complex()