Lines Matching full:parts
38 info = &state->parts[slot].info; in add_part()
48 state->parts[slot].has_info = true; in add_part()
92 for (; slot < state->limit && state->parts[slot].has_info; slot++) { in cmdline_parts_verifier()
93 for (i = slot+1; i < state->limit && state->parts[i].has_info; in cmdline_parts_verifier()
95 if (has_overlaps(state->parts[slot].from, in cmdline_parts_verifier()
96 state->parts[slot].size, in cmdline_parts_verifier()
97 state->parts[i].from, in cmdline_parts_verifier()
98 state->parts[i].size)) { in cmdline_parts_verifier()
105 state->parts[slot].info.volname, in cmdline_parts_verifier()
106 (u64)state->parts[slot].from << 9, in cmdline_parts_verifier()
107 (u64)state->parts[slot].size << 9, in cmdline_parts_verifier()
108 state->parts[i].info.volname, in cmdline_parts_verifier()
109 (u64)state->parts[i].from << 9, in cmdline_parts_verifier()
110 (u64)state->parts[i].size << 9); in cmdline_parts_verifier()
127 struct cmdline_parts *parts; in cmdline_partition() local
144 parts = cmdline_parts_find(bdev_parts, bdev); in cmdline_partition()
145 if (!parts) in cmdline_partition()
150 cmdline_parts_set(parts, disk_size, 1, add_part, (void *)state); in cmdline_partition()