Lines Matching defs:slot
25 static int add_part(int slot, struct cmdline_subpart *subpart, void *param)
32 if (slot >= state->limit)
35 put_partition(state, slot, subpart->from >> 9,
38 info = &state->parts[slot].info;
48 state->parts[slot].has_info = true;
87 static void cmdline_parts_verifier(int slot, struct parsed_partitions *state)
92 for (; slot < state->limit && state->parts[slot].has_info; slot++) {
93 for (i = slot+1; i < state->limit && state->parts[i].has_info;
95 if (has_overlaps(state->parts[slot].from,
96 state->parts[slot].size,
105 state->parts[slot].info.volname,
106 (u64)state->parts[slot].from << 9,
107 (u64)state->parts[slot].size << 9,