Lines Matching full:major
75 static int dr_is_unsafe_major(major_t major);
206 dr_is_unsafe_major(major_t major) in dr_is_unsafe_major() argument
211 if ((dname = ddi_major_to_name(major)) == NULL) { in dr_is_unsafe_major()
212 PR_QR("dr_is_unsafe_major: invalid major # %d\n", major); in dr_is_unsafe_major()
282 major_t major; in dr_check_dip() local
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()
301 major, ref); in dr_check_dip()
304 if (NETWORK_PHYSDRV(major) && !GLDV3_DRV(major)) in dr_check_dip()
307 if (dr_is_unsafe_major(major) && i_ddi_devi_attached(dip)) { in dr_check_dip()
308 PR_QR("\n %s (major# %d) not hotpluggable\n", dname, in dr_check_dip()
309 major); in dr_check_dip()
312 rp->len, (uint64_t)major); in dr_check_dip()
352 major_t major; in dr_suspend_devices() local
373 major = (major_t)-1; in dr_suspend_devices()
375 major = ddi_name_to_major(dname); in dr_suspend_devices()
378 PR_QR(" bypassed suspend of %s (major# %d)\n", dname, in dr_suspend_devices()
379 major); in dr_suspend_devices()
384 PR_QR(" bypassed suspend of %s (major# %d)\n", dname, in dr_suspend_devices()
385 major); in dr_suspend_devices()
410 srh->sr_err_idx, DR_MAX_ERR_INT, (uint64_t)major); in dr_suspend_devices()
431 major_t major; in dr_resume_devices() local
434 major = (major_t)-1; in dr_resume_devices()
452 major = ddi_name_to_major(bn); in dr_resume_devices()
484 * and save the driver major in dr_resume_devices()
493 (uint64_t)major); in dr_resume_devices()
980 PR_ALL("Unsafe devices (major #): %s\n", in dr_pt_test_suspend()
995 PR_ALL("Non-suspendable devices (major #): %s\n", in dr_pt_test_suspend()
1000 PR_ALL("Could not resume devices (major #): %s\n", in dr_pt_test_suspend()
1084 "major %lu, ", arr[i]); in drerr_int()