Home
last modified time | relevance | path

Searched refs:parts (Results 1 – 8 of 8) sorted by relevance

/block/partitions/
Dcmdline.c110 static void free_subpart(struct cmdline_parts *parts) in free_subpart() argument
114 while (parts->subpart) { in free_subpart()
115 subpart = parts->subpart; in free_subpart()
116 parts->subpart = subpart->next_subpart; in free_subpart()
121 static int parse_parts(struct cmdline_parts **parts, const char *bdevdef) in parse_parts() argument
130 *parts = NULL; in parse_parts()
173 *parts = newparts; in parse_parts()
182 static void cmdline_parts_free(struct cmdline_parts **parts) in cmdline_parts_free() argument
186 while (*parts) { in cmdline_parts_free()
187 next_parts = (*parts)->next_parts; in cmdline_parts_free()
[all …]
Dcore.c105 state->parts = vzalloc(array_size(nr, sizeof(state->parts[0]))); in allocate_partitions()
106 if (!state->parts) { in allocate_partitions()
118 vfree(state->parts); in free_partitions()
145 memset(state->parts, 0, state->limit * sizeof(state->parts[0])); in check_partition()
549 sector_t size = state->parts[p].size; in blk_add_partition()
550 sector_t from = state->parts[p].from; in blk_add_partition()
581 part = add_partition(disk, p, from, size, state->parts[p].flags, in blk_add_partition()
582 &state->parts[p].info); in blk_add_partition()
590 (state->parts[p].flags & ADDPART_FLAG_RAID)) in blk_add_partition()
Dcheck.h19 } *parts; member
42 p->parts[n].from = from; in put_partition()
43 p->parts[n].size = size; in put_partition()
Dsun.c116 state->parts[slot].flags = 0; in sun_partition()
119 state->parts[slot].flags |= ADDPART_FLAG_RAID; in sun_partition()
121 state->parts[slot].flags |= ADDPART_FLAG_WHOLEDISK; in sun_partition()
Dmsdos.c111 struct partition_meta_info *info = &state->parts[slot].info; in set_info()
116 state->parts[slot].has_info = true; in set_info()
196 state->parts[state->next].flags = ADDPART_FLAG_RAID; in parse_extended()
689 state->parts[slot].flags = ADDPART_FLAG_RAID; in msdos_partition()
Defi.c742 state->parts[i + 1].flags = ADDPART_FLAG_RAID; in efi_partition()
744 info = &state->parts[i + 1].info; in efi_partition()
751 state->parts[i + 1].has_info = true; in efi_partition()
Dsgi.c80 state->parts[slot].flags = ADDPART_FLAG_RAID; in sgi_partition()
Dmac.c90 state->parts[slot].flags = ADDPART_FLAG_RAID; in mac_partition()