raidframe
efi_raidframe_probe(struct efi_raidframe *raidframe, int *raidframe_count,
raidframe[i].last_unit = label.last_unit;
raidframe[i].serial = label.serial_number;
raidframe[i].edi = edi;
raidframe[i].parent_part = parent_part;
strlcpy(raidframe[i].parent_name, part->part_name, MAXDEVNAME);
raidframe[i].parent_name[0] = '\0';
raidframe[i].offset = part->offset;
raidframe[i].size = label.__numBlocks;
struct efi_raidframe raidframe[RAIDFRAME_NDEV];
efi_raidframe_probe(raidframe, &raidframe_count,
size_t secsize = raidframe[i].edi->bio->Media->BlockSize;
raidframe[i].last_unit, raidframe[i].serial);
if (raidframe[i].parent_name[0])
printf("NAME=%s size ", raidframe[i].parent_name);
raidframe[i].edi->dev & 0x7f,
raidframe[i].parent_part + 'a');
if (raidframe[i].size >= (10ULL * 1024 * 1024 * 1024 / secsize))
raidframe[i].size / (1024 * 1024 * 1024 / secsize));
raidframe[i].size / (1024 * 1024 / secsize));
if (biosdisk_readpartition(raidframe[i].edi->dev,
raidframe[i].offset + RF_PROTECTED_SECTORS,
raidframe[i].size,
raidframe[i].last_unit, j + 'a');
struct biosdisk raidframe;
memset(&raidframe, 0, sizeof(raidframe));
raidframe.ll = d->ll;
if (read_gpt(&raidframe, rf_offset, rf_size) != 0) {
if (raidframe.part[i].size == 0)
if (raidframe.part[i].fstype == FS_UNUSED)
if (raidframe.part[i].attr & GPT_ENT_ATTR_BOOTME) {
if (raidframe.part[i].fstype == FS_BSDFFS ||
raidframe.part[i].fstype == FS_BSDLFS) {
d->boff += RF_PROTECTED_SECTORS + raidframe.part[candidate].offset;
d->size = raidframe.part[candidate].size;
struct raidframe raidframe[RAIDFRAME_NDEV];
raidframe_probe(raidframe,
if ((d = alloc_biosdisk(raidframe[i].biosdev)) == NULL) {
raidframe[i].offset + RF_PROTECTED_SECTORS,
raidframe[i].size) != 0)
*biosdev = raidframe[i].biosdev;
*offset = raidframe[i].offset
if (strcmp(raidframe[i].parent_name, name) == 0) {
*biosdev = raidframe[i].biosdev;
*offset = raidframe[i].offset
struct raidframe raidframe[RAIDFRAME_NDEV];
raidframe_probe(raidframe,
if (raidframe[i].last_unit != target_unit)
if ((d = alloc_biosdisk(raidframe[i].biosdev)) == NULL) {
raidframe[i].offset + RF_PROTECTED_SECTORS,
raidframe[i].size) != 0)
*biosdev = raidframe[i].biosdev;
*offset = raidframe[i].offset
*biosdev = raidframe[i].biosdev;
*offset = raidframe[i].offset
raidframe_probe(struct raidframe *raidframe, int *raidframe_count,
raidframe[i].last_unit = label.last_unit;
raidframe[i].serial = label.serial_number;
raidframe[i].biosdev = d->ll.dev;
raidframe[i].parent_part = part;
strlcpy(raidframe[i].parent_name,
raidframe[i].parent_name[0] = '\0';
raidframe[i].offset = offset;
raidframe[i].size = label.__numBlocks;
struct raidframe raidframe[RAIDFRAME_NDEV];
raidframe_probe(raidframe,
if ((d = alloc_biosdisk(raidframe[i].biosdev)) == NULL) {
raidframe[i].last_unit, raidframe[i].serial);
if (raidframe[i].parent_name[0])
printf("NAME=%s size ", raidframe[i].parent_name);
raidframe[i].parent_part + 'a');
if (raidframe[i].size >= (10ULL * 1024 * 1024 * 1024 / secsize))
raidframe[i].size / (1024 * 1024 * 1024 / secsize));
raidframe[i].size / (1024 * 1024 / secsize));
raidframe[i].offset + RF_PROTECTED_SECTORS,
raidframe[i].size) != 0)
printf(" raid%d%c(", raidframe[i].last_unit,