Lines Matching defs:state
33 int mac_partition(struct parsed_partitions *state)
47 md = read_part_sector(state, 0, §);
57 data = read_part_sector(state, datasize / 512, §);
74 if (blocks_in_map >= state->limit)
75 blocks_in_map = state->limit - 1;
77 strlcat(state->pp_buf, " [mac]", PAGE_SIZE);
81 data = read_part_sector(state, pos/512, §);
87 put_partition(state, slot,
92 state->parts[slot].flags = ADDPART_FLAG_RAID;
138 note_bootable_part(state->disk->part0->bd_dev, found_root,
143 strlcat(state->pp_buf, "\n", PAGE_SIZE);