Searched refs:Media (Results 1 - 7 of 7) sorted by relevance
/freebsd-12-stable/stand/efi/libefi/ |
H A D | efipart.c | 251 if (blkio->Media->BlockSize < 512 || 252 blkio->Media->BlockSize > (1 << 16) || 253 !powerof2(blkio->Media->BlockSize)) { 259 if (blkio->Media->IoAlign > 1 && 260 !powerof2(blkio->Media->IoAlign)) { 299 if (blkio->Media->MediaPresent) 567 if (cd->pd_blkio->Media->RemovableMedia && 568 !cd->pd_blkio->Media->MediaPresent) { 820 blkio->Media->LastBlock == 0? 0: 821 (unsigned long long) (blkio->Media [all...] |
/freebsd-12-stable/stand/efi/boot1/ |
H A D | zfs_module.c | 48 return (devinfo->dev->Media->BlockSize * 49 (devinfo->dev->Media->LastBlock + 1)); 62 lba = off / devinfo->dev->Media->BlockSize; 63 remainder = off % devinfo->dev->Media->BlockSize; 72 size = roundup2(bytes + remainder, devinfo->dev->Media->BlockSize); 75 rb_size = devinfo->dev->Media->BlockSize; 87 devinfo->dev->Media->MediaId, lba, rb_size, rb_buf); 108 devinfo->dev->Media->MediaId, (uintmax_t)lba, bytes, rb_size,
|
H A D | ufs_module.c | 57 lba = lba / (devinfo->dev->Media->BlockSize / DEV_BSIZE); 61 devinfo->dev->Media->MediaId, lba, size, buf); 66 devinfo->dev->Media->MediaId, (uintmax_t)lba, size, 115 bs = devinfo->dev->Media->BlockSize;
|
H A D | proto.c | 90 if (!blkio->Media->LogicalPartition)
|
/freebsd-12-stable/stand/efi/gptboot/ |
H A D | proto.c | 65 lba = lba / (dev->Media->BlockSize / DEV_BSIZE); 68 status = dev->ReadBlocks(dev, dev->Media->MediaId, lba, size, buf); 72 dev->Media->MediaId, (uintmax_t)lba, size, 92 if (dev->Media->ReadOnly) 95 lba = lba / (dev->Media->BlockSize / DEV_BSIZE); 98 status = dev->WriteBlocks(dev, dev->Media->MediaId, lba, size, buf); 102 dev->Media->MediaId, (uintmax_t)lba, size, 119 return (dev->Media->LastBlock + 1);
|
/freebsd-12-stable/stand/efi/include/ |
H A D | efiprot.h | 105 EFI_BLOCK_IO_MEDIA *Media; member in struct:_EFI_BLOCK_IO
|
/freebsd-12-stable/lib/libefivar/ |
H A D | efivar-dp-parse.c | 3050 Converts a text device path node to Media protocol device path structure. 3054 @return A pointer to the newly-created Media protocol device path structure. 3064 MEDIA_PROTOCOL_DEVICE_PATH *Media; local 3067 Media = (MEDIA_PROTOCOL_DEVICE_PATH *) CreateDeviceNode ( 3073 StrToGuid (GuidStr, &Media->Protocol); 3075 return (EFI_DEVICE_PATH_PROTOCOL *) Media; 3555 {"Media", DevPathFromTextMedia },
|
Completed in 76 milliseconds