/osnet-11/usr/src/grub/grub2/grub-core/lib/mips/loongson/ |
H A D | reboot.c | 40 grub_pci_device_t dev; local 41 if (!grub_cs5536_find (&dev)) 43 grub_cs5536_write_msr (dev, GRUB_CS5536_MSR_DIVIL_RESET, 44 grub_cs5536_read_msr (dev,
|
/osnet-11/usr/src/lib/libc/port/sys/ |
H A D | ustat.c | 37 ustat(dev_t dev, struct ustat *buf) argument 39 if (utssys(buf, dev, UTS_USTAT) == -1)
|
H A D | mknod.c | 32 mknodat(int fd, const char *path, mode_t mode, dev_t dev) argument 34 return (syscall(SYS_mknodat, fd, path, mode, dev)); 39 mknod(const char *path, mode_t mode, dev_t dev) argument 41 return (mknodat(AT_FDCWD, path, mode, dev));
|
/osnet-11/usr/src/grub/grub2/grub-core/lib/i386/pc/ |
H A D | biosnum.c | 29 grub_device_t dev; local 36 dev = grub_device_open (0); 37 if (dev && dev->disk && dev->disk->dev 38 && dev->disk->dev->id == GRUB_DISK_DEVICE_BIOSDISK_ID) 39 ret = (int) dev->disk->id; 41 if (dev) [all...] |
/osnet-11/usr/src/lib/libparted/common/include/parted/ |
H A D | geom.h | 36 PedDevice* dev; member in struct:_PedGeometry 45 extern int ped_geometry_init (PedGeometry* geom, const PedDevice* dev, 47 extern PedGeometry* ped_geometry_new (const PedDevice* dev, PedSector start,
|
/osnet-11/usr/src/lib/libdevalloc/common/ |
H A D | getdevicerange.c | 40 getdevicerange(const char *dev) argument 66 if ((da = getdanam((char *)dev)) == NULL) { 69 if ((dm = getdmapdev((char *)dev)) != NULL) {
|
/osnet-11/usr/src/grub/grub2/grub-core/lib/ieee1275/ |
H A D | cmos.c | 32 grub_ieee1275_phandle_t dev; local 37 if (grub_ieee1275_finddevice (alias->path, &dev)) 39 if (grub_ieee1275_get_property (dev, "compatible", compat, sizeof (compat), 44 if (grub_ieee1275_get_integer_property (dev, "address",
|
/osnet-11/usr/src/grub/grub2/grub-core/normal/ |
H A D | misc.c | 35 grub_device_t dev; local 51 dev = grub_device_open (name); 52 if (! dev) 54 else if (dev->disk) 58 fs = grub_fs_probe (dev); 68 (fs->label) (dev, &label); 84 (fs->mtime) (dev, &tm); 101 (fs->uuid) (dev, &uuid); 114 if (dev->disk->partition) 116 (unsigned long long) grub_partition_get_start (dev [all...] |
/osnet-11/usr/src/grub/grub-0.97/netboot/ |
H A D | config.c | 14 static int pci_probe(struct dev *dev, const char *type_name) argument 26 struct pci_probe_state *state = &dev->state.pci; 28 if (dev->how_probe == PROBE_FIRST) { 30 state->dev.driver = 0; 31 state->dev.bus = 0; 32 state->dev.devfn = 0; 33 dev->index = -1; 36 if ((dev->how_probe != PROBE_AWAKE) && state->advance) { 37 find_pci(dev 71 isa_probe(struct dev *dev, const char *type_name) argument 122 probe(struct dev *dev) argument 159 disable(struct dev *dev) argument [all...] |
H A D | nic.h | 11 #include "dev.h" 25 struct dev dev; /* This must come first */ member in struct:nic 40 extern int eth_probe(struct dev *dev);
|
/osnet-11/usr/src/lib/libc/i386/sys/ |
H A D | xstat.c | 73 _xmknod(int version, const char *path, mode_t mode, dev_t dev) argument 79 return (mknod(path, mode, dev));
|
/osnet-11/usr/src/lib/libmail/common/ |
H A D | notifyu.c | 67 char dev[MAXFILENAME]; local 76 /* stick /dev/ in front */ 77 (void) sprintf(dev, "%s/dev/%s", etcdir, tty); 84 if ((fd = open(dev, O_WRONLY|O_NOCTTY)) == -1) { 86 "Cannot open %s.\n", dev); 103 port = fopen(dev, "w");
|
/osnet-11/usr/src/lib/libparted/common/libparted/fs/hfs/ |
H A D | probe.c | 41 PedDevice* dev; local 43 dev = geom->dev; 45 PED_ASSERT (dev != NULL, return 0); 47 if (dev->sector_size != PED_SECTOR_SIZE_DEFAULT) { 86 if (!(geom_ret = ped_geometry_new (geom->dev, geom->start, search + 2))) 145 if (!(geom_ret = ped_geometry_new (geom->dev, geom->start, 217 if (!(geom_ret = ped_geometry_new (geom->dev, geom->start,
|
/osnet-11/usr/src/lib/libparted/common/libparted/fs/reiserfs/ |
H A D | geom_dal.h | 35 const void *dev; member in struct:_dal 52 dev_t (*dev)(dal_t *); member in struct:dal_ops
|
/osnet-11/usr/src/lib/efcode/upa/ |
H A D | upa.c | 48 int dev, fn, len; local
|
/osnet-11/usr/src/grub/grub2/grub-core/bus/ |
H A D | pci.c | 84 grub_pci_make_address (grub_pci_device_t dev, int reg) argument 86 return (1 << 31) | (dev.bus << 16) | (dev.device << 11) 87 | (dev.function << 8) | reg; 93 grub_pci_device_t dev; local 98 for (dev.bus = 0; dev.bus < GRUB_PCI_NUM_BUS; dev.bus++) 100 for (dev.device = 0; dev [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/commands/mips/loongson/ |
H A D | lsspd.c | 35 grub_pci_device_t dev; local 40 if (!grub_cs5536_find (&dev)) 45 grub_printf_ (N_("CS5536 at %d:%d.%d\n"), grub_pci_get_bus (dev), 46 grub_pci_get_device (dev), grub_pci_get_function (dev)); 48 err = grub_cs5536_init_smbus (dev, 0x7fff, &smbbase);
|
/osnet-11/usr/src/grub/grub2/grub-core/commands/ |
H A D | probe.c | 53 grub_device_t dev; local 65 dev = grub_device_open (args[0] + 1); 69 dev = grub_device_open (args[0]); 70 if (! dev) 76 if (dev->net) 77 val = dev->net->protocol->name; 78 if (dev->disk) 79 val = dev->disk->dev->name; 89 if (dev [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/kern/ |
H A D | vga_init.c | 94 auto int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid); 95 int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid __attribute__ ((unused))) argument 100 addr = grub_pci_make_address (dev, GRUB_PCI_REG_CLASS); 107 addr = grub_pci_make_address (dev, GRUB_PCI_REG_ADDRESS_REG0); 110 addr = grub_pci_make_address (dev, GRUB_PCI_REG_ADDRESS_REG1); 114 addr = grub_pci_make_address (dev, GRUB_PCI_REG_COMMAND);
|
H A D | device.c | 35 grub_device_t dev = 0; local 47 dev = grub_malloc (sizeof (*dev)); 48 if (! dev) 51 dev->net = NULL; 53 dev->disk = grub_disk_open (name); 54 if (dev->disk) 55 return dev; 59 dev->net = grub_net_open (name); 62 if (dev 106 grub_device_t dev; local [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/parttool/ |
H A D | msdospart.c | 43 static grub_err_t grub_pcpart_boot (const grub_device_t dev, argument 50 if (dev->disk->partition->offset) 53 index = dev->disk->partition->index; 54 part = dev->disk->partition; 55 dev->disk->partition = part->parent; 58 if (grub_disk_read (dev->disk, 0, 0, sizeof (mbr), &mbr)) 60 dev->disk->partition = part; 78 grub_disk_write (dev->disk, 0, 0, sizeof (mbr), &mbr); 80 dev->disk->partition = part; 92 static grub_err_t grub_pcpart_type (const grub_device_t dev, argument [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/bus/emu/ |
H A D | pci.c | 26 grub_pci_make_address (grub_pci_device_t dev, int reg) argument 29 ret.dev = dev; 39 struct pci_device *dev; local 42 slot.dev = PCI_MATCH_ANY; 45 while ((dev = pci_device_next (iter))) 46 hook (dev, dev->vendor_id | (dev->device_id << 16)); 51 grub_pci_device_map_range (grub_pci_device_t dev, grub_addr_ argument 63 grub_pci_device_unmap_range(grub_pci_device_t dev, void *mem, grub_size_t size) argument [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/commands/efi/ |
H A D | fixvideo.c | 44 scan_card (grub_pci_device_t dev, grub_pci_id_t pciid) argument 48 addr = grub_pci_make_address (dev, GRUB_PCI_REG_CLASS);
|
/osnet-11/usr/src/grub/grub2/grub-core/kern/mips/loongson/ |
H A D | init.c | 62 auto int NESTED_FUNC_ATTR set_card (grub_pci_device_t dev, grub_pci_id_t pciid); 63 int NESTED_FUNC_ATTR set_card (grub_pci_device_t dev, grub_pci_id_t pciid) argument 70 addr = grub_pci_make_address (dev, GRUB_PCI_REG_ADDRESS_REG0); 72 addr = grub_pci_make_address (dev, GRUB_PCI_REG_COMMAND); 78 addr = grub_pci_make_address (dev, GRUB_PCI_REG_STATUS); 82 addr = grub_pci_make_address (dev, GRUB_PCI_REG_ADDRESS_REG0); 84 addr = grub_pci_make_address (dev, GRUB_PCI_REG_COMMAND); 90 addr = grub_pci_make_address (dev, GRUB_PCI_REG_STATUS); 158 grub_pci_device_t dev; local 163 if (!grub_cs5536_find (&dev)) 239 grub_pci_device_t dev; local [all...] |
/osnet-11/usr/src/grub/grub2/include/grub/ |
H A D | pciutils.h | 27 grub_pci_get_bus (grub_pci_device_t dev) argument 29 return dev->bus; 33 grub_pci_get_device (grub_pci_device_t dev) argument 35 return dev->dev; 39 grub_pci_get_function (grub_pci_device_t dev) argument 41 return dev->func; 46 grub_pci_device_t dev; member in struct:grub_pci_address 56 pci_device_cfg_read_u32 (addr.dev, &ret, addr.pos); 64 pci_device_cfg_read_u16 (addr.dev, [all...] |