Lines Matching defs:slot
250 static int add_part(int slot, struct cmdline_subpart *subpart,
257 if (slot >= state->limit)
260 put_partition(state, slot, subpart->from >> 9,
263 info = &state->parts[slot].info;
272 state->parts[slot].has_info = true;
282 int slot = 1;
285 subpart = subpart->next_subpart, slot++) {
299 if (add_part(slot, subpart, state))
303 return slot;
340 static void cmdline_parts_verifier(int slot, struct parsed_partitions *state)
345 for (; slot < state->limit && state->parts[slot].has_info; slot++) {
346 for (i = slot+1; i < state->limit && state->parts[i].has_info;
348 if (has_overlaps(state->parts[slot].from,
349 state->parts[slot].size,
358 state->parts[slot].info.volname,
359 (u64)state->parts[slot].from << 9,
360 (u64)state->parts[slot].size << 9,