Home
last modified time | relevance | path

Searched refs:disk_open (Results 1 – 10 of 10) sorted by relevance

/freebsd/stand/common/
H A Ddisk.h101 extern int disk_open(struct disk_devdesc *, uint64_t, u_int);
H A Dvdisk.c310 rc = disk_open(dev, vd->vdisk_size, vd->vdisk_sectorsz); in vdisk_open()
404 ret = disk_open(&vd_dev, vd->vdisk_size, vd->vdisk_sectorsz); in vdisk_print()
H A Ddisk.c144 if (disk_open(&dev, partsize, sectsize) == 0) { in ptable_print()
228 disk_open(struct disk_devdesc *dev, uint64_t mediasize, u_int sectorsize) in disk_open() function
/freebsd/stand/userboot/userboot/
H A Duserboot_disk.c141 if (disk_open(&dev, ud_info[i].mediasize, in userdisk_print()
171 return (disk_open(dev, ud_info[dev->dd.d_unit].mediasize, in userdisk_open()
/freebsd/tools/tools/bootparttest/
H A Dbootparttest.c124 if (disk_open(&dev, disk.mediasize, disk.sectorsize) != 0) in main()
/freebsd/stand/usb/storage/
H A Dumass_loader.c121 return (disk_open(dev, ((uint64_t)nblock + 1) * (uint64_t)blocksize, blocksize)); in umass_disk_open_sub()
/freebsd/stand/i386/libi386/
H A Dbiosdisk.c763 if (disk_open(&devd, in bd_print_common()
820 if (disk_open(&disk, size, bd->bd_sectorsize) == 0) { in bd_disk_get_sectors()
870 rc = disk_open(dev, bd->bd_sectors * bd->bd_sectorsize, in bd_open()
1319 if (disk_open(dev, bd->bd_sectors * bd->bd_sectorsize, in bd_getdev()
/freebsd/usr.sbin/bhyveload/
H A Dbhyveload.c717 disk_open(char *path) in disk_open() function
813 error = disk_open(optarg); in main()
/freebsd/stand/uboot/
H A Duboot_disk.c204 return (disk_open(dev, SI(dev).blocks * SI(dev).bsize, in stor_opendev()
/freebsd/stand/efi/libefi/
H A Defipart.c843 ret = disk_open(&pd_dev, blkio->Media->BlockSize * in efipart_print_common()
918 rc = disk_open(dev, in efipart_open()