Searched refs:parts (Results 1 – 8 of 8) sorted by relevance
110 static void free_subpart(struct cmdline_parts *parts) in free_subpart() argument114 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() argument130 *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() argument186 while (*parts) { in cmdline_parts_free()187 next_parts = (*parts)->next_parts; in cmdline_parts_free()[all …]
105 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()
19 } *parts; member42 p->parts[n].from = from; in put_partition()43 p->parts[n].size = size; in put_partition()
116 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()
111 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()
742 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()
80 state->parts[slot].flags = ADDPART_FLAG_RAID; in sgi_partition()
90 state->parts[slot].flags = ADDPART_FLAG_RAID; in mac_partition()