Lines Matching defs:state
31 int mac_partition(struct parsed_partitions *state)
45 md = read_part_sector(state, 0, §);
55 data = read_part_sector(state, datasize / 512, §);
72 if (blocks_in_map >= state->limit)
73 blocks_in_map = state->limit - 1;
75 strlcat(state->pp_buf, " [mac]", PAGE_SIZE);
79 data = read_part_sector(state, pos/512, §);
85 put_partition(state, slot,
90 state->parts[slot].flags = ADDPART_FLAG_RAID;
136 note_bootable_part(state->disk->part0->bd_dev, found_root,
141 strlcat(state->pp_buf, "\n", PAGE_SIZE);