Lines Matching refs:major
283 * Verify that there is no major conflict, i.e., we are indeed opening
288 "driver ID failed; check for major conflict\n"));
482 int major, devcnt;
493 * get major number of driver
499 for (major = 0; major < devcnt; major++)
500 if (devnm[major].name && (strcmp(drv_name,
501 (char *)(pa + devnm[major].name)) == 0))
504 if (major >= devcnt) {
509 if (!(devnm[major].head)) {
514 return (DI_NODE(pa + devnm[major].head));
1090 int major;
1092 major = DI_NODE(node)->drv_major;
1093 if (major < 0)
1095 return (major);
1101 int major;
1105 major = DI_NODE(node)->drv_major;
1106 if (major < 0)
1112 if (devnm[major].name)
1113 return (pa + devnm[major].name);
1121 int major;
1125 major = DI_NODE(node)->drv_major;
1126 if (major < 0)
1132 return (devnm[major].ops);