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;
587 int slot;
620 for (slot = 1; slot <= 4; slot++, p++) {
628 if (slot == 1 && fb->reserved && fb->fats
642 for (slot = 1 ; slot <= 4 ; slot++, p++) {
661 for (slot = 1 ; slot <= 4 ; slot++, p++) {
677 put_partition(state, slot, start, n);
684 put_partition(state, slot, start, size);
685 set_info(state, slot, disksig);
687 state->parts[slot].flags = ADDPART_FLAG_RAID;
698 for (slot = 1 ; slot <= 4 ; slot++, p++) {
711 nr_sects(p) * sector_size, slot);