Home
last modified time | relevance | path

Searched refs:slot (Results 1 – 12 of 12) sorted by relevance

/block/partitions/
Dacorn.c32 unsigned long first_sector, int slot) in adfs_partition() argument
53 put_partition(state, slot, first_sector, nr_sects); in adfs_partition()
77 unsigned long first_sect, int slot, in riscix_partition() argument
96 put_partition(state, slot++, first_sect, size); in riscix_partition()
100 put_partition(state, slot++, in riscix_partition()
111 put_partition(state, slot++, first_sect, nr_sects); in riscix_partition()
115 return slot; in riscix_partition()
132 unsigned long first_sect, int slot, in linux_partition() argument
141 put_partition(state, slot++, first_sect, size); in linux_partition()
150 if (slot == state->limit) in linux_partition()
[all …]
Dmsdos.c73 int slot, ret = 0; in aix_magic_present() local
81 for (slot = 1; slot <= 4; slot++, pt++) { in aix_magic_present()
98 static void set_info(struct parsed_partitions *state, int slot, in set_info() argument
101 struct partition_meta_info *info = &state->parts[slot].info; in set_info()
104 slot); in set_info()
106 state->parts[slot].has_info = true; in set_info()
456 int slot; in msdos_partition() local
489 for (slot = 1; slot <= 4; slot++, p++) { in msdos_partition()
497 if (slot == 1 && fb->reserved && fb->fats in msdos_partition()
511 for (slot = 1 ; slot <= 4 ; slot++, p++) { in msdos_partition()
[all …]
Datari.c40 int slot; in atari_partition() local
66 for (slot = 1; pi < &rs->part[4] && slot < state->limit; slot++, pi++) { in atari_partition()
76 put_partition (state, slot, be32_to_cpu(pi->st), in atari_partition()
101 put_partition(state, slot, in atari_partition()
118 if (++slot == state->limit) { in atari_partition()
131 for (; pi < &rs->icdpart[8] && slot < state->limit; slot++, pi++) { in atari_partition()
136 put_partition (state, slot, in atari_partition()
Dmac.c34 int slot, blocks_in_map; in mac_partition() local
71 for (slot = 1; slot <= blocks_in_map; ++slot) { in mac_partition()
72 int pos = slot * secsize; in mac_partition()
80 put_partition(state, slot, in mac_partition()
85 state->parts[slot].flags = ADDPART_FLAG_RAID; in mac_partition()
123 found_root = slot; in mac_partition()
Dcmdline.c25 static int add_part(int slot, struct cmdline_subpart *subpart, void *param) in add_part() argument
32 if (slot >= state->limit) in add_part()
35 put_partition(state, slot, subpart->from >> 9, in add_part()
38 info = &state->parts[slot].info; in add_part()
48 state->parts[slot].has_info = true; in add_part()
Dsun.c17 int slot = 1; in sun_partition() local
108 put_partition(state, slot, st_sector, num_sectors); in sun_partition()
109 state->parts[slot].flags = 0; in sun_partition()
112 state->parts[slot].flags |= ADDPART_FLAG_RAID; in sun_partition()
114 state->parts[slot].flags |= ADDPART_FLAG_WHOLEDISK; in sun_partition()
117 slot++; in sun_partition()
Dkarma.c16 int slot = 1; in karma_partition() local
45 if (slot == state->limit) in karma_partition()
49 put_partition(state, slot, le32_to_cpu(p->p_offset), in karma_partition()
52 slot++; in karma_partition()
Dsgi.c34 int slot = 1; in sgi_partition() local
73 put_partition(state, slot, start, blocks); in sgi_partition()
75 state->parts[slot].flags = ADDPART_FLAG_RAID; in sgi_partition()
77 slot++; in sgi_partition()
Dsysv68.c52 int slot = 1; in sysv68_partition() local
81 if (slot == state->limit) in sysv68_partition()
84 put_partition(state, slot, in sysv68_partition()
90 slot++; in sysv68_partition()
Dosf.c18 int slot = 1; in osf_partition() local
75 if (slot == state->limit) in osf_partition()
78 put_partition(state, slot, in osf_partition()
81 slot++; in osf_partition()
Damiga.c36 int slot = 1; in amiga_partition() local
113 put_partition(state,slot++,start_sect,nr_sects); in amiga_partition()
/block/
Dcmdline-parser.c226 int slot, in cmdline_parts_set() argument
234 subpart = subpart->next_subpart, slot++) { in cmdline_parts_set()
248 if (add_part(slot, subpart, param)) in cmdline_parts_set()
252 return slot; in cmdline_parts_set()