Searched refs:disk_open (Results 1 – 10 of 10) sorted by relevance
/freebsd/stand/common/ |
H A D | disk.h | 101 extern int disk_open(struct disk_devdesc *, uint64_t, u_int);
|
H A D | vdisk.c | 310 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 D | disk.c | 144 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 D | userboot_disk.c | 141 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 D | bootparttest.c | 124 if (disk_open(&dev, disk.mediasize, disk.sectorsize) != 0) in main()
|
/freebsd/stand/usb/storage/ |
H A D | umass_loader.c | 121 return (disk_open(dev, ((uint64_t)nblock + 1) * (uint64_t)blocksize, blocksize)); in umass_disk_open_sub()
|
/freebsd/stand/i386/libi386/ |
H A D | biosdisk.c | 763 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 D | bhyveload.c | 717 disk_open(char *path) in disk_open() function 813 error = disk_open(optarg); in main()
|
/freebsd/stand/uboot/ |
H A D | uboot_disk.c | 204 return (disk_open(dev, SI(dev).blocks * SI(dev).bsize, in stor_opendev()
|
/freebsd/stand/efi/libefi/ |
H A D | efipart.c | 843 ret = disk_open(&pd_dev, blkio->Media->BlockSize * in efipart_print_common() 918 rc = disk_open(dev, in efipart_open()
|