Searched refs:d_unit (Results 1 - 25 of 61) sorted by relevance

123

/freebsd-10.3-release/sys/boot/powerpc/ps3/
H A Dps3devdesc.h37 int d_unit; member in struct:ps3_devdesc
H A Dps3cdrom.c39 printf("%s%d: " fmt "\n", dev->d_dev->dv_name, dev->d_unit, ##args)
84 DEBUG("d_unit=%u dblk=%llu size=%u", dev->d_unit, dblk, size);
106 err = ps3stor_read_sectors(&stor_dev, dev->d_unit, dblk,
131 if (dev->d_unit > 0) {
136 err = ps3stor_read_sectors(&stor_dev, dev->d_unit, 16, 1, 0, buf);
H A Ddevicename.c151 idev->d_unit = unit;
167 idev->d_unit = 0;
203 cp += sprintf(cp, "%s%d", dev->d_dev->dv_name, dev->d_unit);
218 sprintf(buf, "%s%d:", dev->d_dev->dv_name, dev->d_unit);
H A Dps3disk.c46 printf("%s%d: " fmt "\n" , dev->d_dev->dv_name, dev->d_unit, ##args)
132 err = ps3stor_read_sectors(&stor_dev, dev->d_unit, od->od_start + dblk,
204 err = ps3stor_read_sectors(&stor_dev, dev->d_unit, 0, 1, 0, buf);
215 err = ps3stor_read_sectors(&stor_dev, dev->d_unit, 1, 1, 0, buf);
237 err = ps3stor_read_sectors(&stor_dev, dev->d_unit, lba, 1, 0, buf);
265 err = ps3stor_read_sectors(&stor_dev, dev->d_unit, lba, 1, 0, buf);
H A Dmain.c100 currdev.d_unit = 0;
108 currdev.d_unit = 3;
/freebsd-10.3-release/sys/boot/userboot/userboot/
H A Duserboot_disk.c124 dev.d_unit = i;
149 if (dev->d_unit < 0 || dev->d_unit >= userdisk_maxunit)
152 return (disk_open(dev, ud_info[dev->d_unit].mediasize,
153 ud_info[dev->d_unit].sectorsize, 0));
180 off = (dblk + dev->d_offset) * ud_info[dev->d_unit].sectorsize;
181 rc = CALLBACK(diskread, dev->d_unit, off, buf, size, &resid);
195 return (CALLBACK(diskioctl, dev->d_unit, cmd, data));
H A Ddevicename.c142 idev->d_unit = unit;
188 sprintf(buf, "%s%d:", dev->d_dev->dv_name, dev->d_unit);
195 sprintf(buf, "%s%d:", dev->d_dev->dv_name, dev->d_unit);
202 sprintf(buf, "%s%d:", dev->d_dev->dv_name, dev->d_unit);
H A Dmain.c177 dev.d_unit = 0;
191 dev.d_unit = 0;
/freebsd-10.3-release/sys/boot/common/
H A Ddisk.h85 int d_unit; member in struct:disk_devdesc
H A Dmd.c93 if (dev->d_unit != 0)
131 if (dev->d_unit != 0)
143 return ((dev->d_unit != 0) ? ENXIO : 0);
H A Ddisk.c62 int d_unit; member in struct:dentry
86 entry->d_unit != dev->d_unit)
115 entry->d_unit = dev->d_unit;
140 dev.d_unit = entry->d_unit;
266 disk_fmtdev(dev), dev->d_unit, dev->d_slice,
282 disk_fmtdev(dev), dev->d_unit, dev->d_slice, dev->d_partition, od);
403 dev.d_unit
[all...]
/freebsd-10.3-release/sys/boot/efi/loader/
H A Ddevicename.c134 idev->d_unit = -1;
136 idev->d_unit = strtol(np, &cp, 0);
138 idev->d_unit = -1;
175 sprintf(buf, "%s%d:", dev->d_dev->dv_name, dev->d_unit);
/freebsd-10.3-release/sys/boot/ia64/common/
H A Ddevicename.c108 idev->d_unit = -1;
113 idev->d_unit = strtol(np, &cp, 0);
115 idev->d_unit = -1;
146 sprintf(buf, "%s%d:", dev->d_dev->dv_name, dev->d_unit);
/freebsd-10.3-release/sys/boot/zfs/
H A Dlibzfs.h44 int d_unit; member in struct:zfs_devdesc
/freebsd-10.3-release/sys/boot/ofw/libofw/
H A Dlibofw.h34 int d_unit; member in struct:ofw_devdesc
/freebsd-10.3-release/sys/boot/uboot/lib/
H A Dlibuboot.h34 int d_unit; member in struct:uboot_devdesc
H A Ddisk.c49 printf("%s%d: ", dev->d_dev->dv_name, dev->d_unit); \
68 #define SI(dev) (stor_info[(dev)->d_unit])
192 if (dev->d_unit < 0 || dev->d_unit >= stor_info_no)
248 dev.d_unit = i;
H A Ddevicename.c139 idev->d_unit = unit;
181 sprintf(buf, "%s%d:", dev->d_dev->dv_name, dev->d_unit);
/freebsd-10.3-release/sys/dev/nvd/
H A Dnvd.c317 disk->d_unit = 0;
319 disk->d_unit =
320 TAILQ_LAST(&disk_head, disk_list)->disk->d_unit + 1;
367 printf(NVD_STR"%u: <%s> NVMe namespace\n", disk->d_unit, descr);
368 printf(NVD_STR"%u: %juMB (%ju %u byte sectors)\n", disk->d_unit,
385 unit = disk->d_unit;
/freebsd-10.3-release/sys/boot/i386/libi386/
H A Ddevicename.c138 idev->d_unit = unit;
179 sprintf(buf, "%s%d:", dev->d_dev->dv_name, dev->d_unit);
H A Dlibi386.h40 int d_unit; member in struct:i386_devdesc
/freebsd-10.3-release/sys/boot/uboot/common/
H A Dmain.c324 currdev.d_unit, slice, partition);
344 for (currdev.d_unit = 0; currdev.d_unit < UB_MAX_DEV;
345 currdev.d_unit++) {
361 currdev.d_unit = uboot_diskgetunit(load_type, unit);
362 if (currdev.d_unit == -1)
375 if ((currdev.d_unit = uboot_diskgetunit(load_type, load_unit)) != -1) {
464 currdev.d_unit = 0;
/freebsd-10.3-release/sys/boot/i386/loader/
H A Dmain.c226 new_currdev.d_unit = bc_bios2unit(initial_bootdev);
230 new_currdev.d_unit = 0;
288 ((new_currdev.d_unit = bd_bios2unit(biosdev)) == -1)) {
291 new_currdev.d_unit = 0;
/freebsd-10.3-release/sys/boot/ia64/ski/
H A Dmain.c85 currdev.d_unit = 0;
/freebsd-10.3-release/sys/boot/pc98/loader/
H A Dmain.c223 new_currdev.d_unit = bc_bios2unit(initial_bootdev);
227 new_currdev.d_unit = 0;
265 ((new_currdev.d_unit = bd_bios2unit(biosdev)) == -1)) {
268 new_currdev.d_unit = 0;

Completed in 141 milliseconds

123