Lines Matching refs:dname
76 static int dr_bypass_device(char *dname);
208 char *dname, **cpp; in dr_is_unsafe_major() local
211 if ((dname = ddi_major_to_name(major)) == NULL) { in dr_is_unsafe_major()
218 if (strcmp(dname, *cpp++) == 0) in dr_is_unsafe_major()
225 dr_bypass_device(char *dname) in dr_bypass_device() argument
230 if (dname == NULL) in dr_bypass_device()
235 if (strcmp(dname, dr_bypass_list[i++]) == 0) in dr_bypass_device()
283 char *dname; in dr_check_dip() local
292 dname = ddi_binding_name(dip); in dr_check_dip()
294 if (dr_bypass_device(dname)) in dr_check_dip()
297 if (dname && ((major = ddi_name_to_major(dname)) != (major_t)-1)) { in dr_check_dip()
300 PR_QR("\n %s (major# %d) is referenced(%u)\n", dname, in dr_check_dip()
308 PR_QR("\n %s (major# %d) not hotpluggable\n", dname, in dr_check_dip()
353 char *dname; in dr_suspend_devices() local
374 if ((dname = ddi_binding_name(dip)) != NULL) in dr_suspend_devices()
375 major = ddi_name_to_major(dname); in dr_suspend_devices()
377 if (dr_bypass_device(dname)) { in dr_suspend_devices()
378 PR_QR(" bypassed suspend of %s (major# %d)\n", dname, in dr_suspend_devices()
384 PR_QR(" bypassed suspend of %s (major# %d)\n", dname, in dr_suspend_devices()
402 prom_printf("\tsuspending %s@%s\n", dname, d_info); in dr_suspend_devices()
407 d_name[0] ? d_name : dname, d_info); in dr_suspend_devices()
417 d_name[0] ? d_name : dname, d_info); in dr_suspend_devices()
1056 char *dname; in drerr_int() local
1078 dname = ddi_major_to_name(arr[i]); in drerr_int()
1079 if (dname) { in drerr_int()
1081 dname); in drerr_int()