Searched defs:devnum (Results 1 - 4 of 4) sorted by relevance

/osnet-11/usr/src/lib/libc/port/gen/
H A Dmkdev.c43 dev_t devnum; local
50 devnum = ((majdev << ONBITSMINOR) | mindev);
66 if ((devnum = (((dev_t)majdev << NBITSMINOR) |
78 return (devnum);
85 __major(const int version, const dev_t devnum) argument
91 maj = (devnum >> ONBITSMINOR);
92 if (devnum == NODEV || maj > OMAXMAJ) {
99 maj = (devnum >> NBITSMINOR);
100 if (devnum == NODEV) {
125 __minor(const int version, const dev_t devnum) argument
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/disk/
H A Dpata.c458 grub_pata_open (int id, int devnum, struct grub_ata *ata) argument
469 if (dev->port * 2 + dev->device == devnum)
476 grub_dprintf ("pata", "opening PATA dev `ata%d'\n", devnum);
H A Dusbms.c398 grub_usbms_open (int id, int devnum, struct grub_scsi *scsi)
406 if (!grub_usbms_devices[devnum])
410 scsi->data = grub_usbms_devices[devnum];
411 scsi->luns = grub_usbms_devices[devnum]->luns;
397 grub_usbms_open(int id, int devnum, struct grub_scsi *scsi) argument
H A Dahci.c678 grub_ahci_open (int id, int devnum, struct grub_ata *ata)
686 if (dev->num == devnum)
677 grub_ahci_open(int id, int devnum, struct grub_ata *ata) argument

Completed in 66 milliseconds