Lines Matching defs:slot
14 * /dev/hda *must* have a "DOS" type 0x51 partition in the first slot (hda1).
77 int slot, ret = 0;
91 for (slot = 1; slot <= 4; slot++, pt++) {
108 static void set_info(struct parsed_partitions *state, int slot,
111 struct partition_meta_info *info = &state->parts[slot].info;
114 slot);
116 state->parts[slot].has_info = true;
588 int slot;
622 for (slot = 1; slot <= 4; slot++, p++) {
630 if (slot == 1 && fb->reserved && fb->fats
644 for (slot = 1 ; slot <= 4 ; slot++, p++) {
663 for (slot = 1 ; slot <= 4 ; slot++, p++) {
679 put_partition(state, slot, start, n);
686 put_partition(state, slot, start, size);
687 set_info(state, slot, disksig);
689 state->parts[slot].flags = ADDPART_FLAG_RAID;
700 for (slot = 1 ; slot <= 4 ; slot++, p++) {
713 nr_sects(p) * sector_size, slot);