Home
last modified time | relevance | path

Searched refs:partno (Results 1 – 7 of 7) sorted by relevance

/systemd-251/src/sysupdate/
Dsysupdate-partition.c115 size_t partno; in read_partition_info() local
136 partno = fdisk_partition_get_partno(p); in read_partition_info()
183 .partno = partno, in read_partition_info()
249 … if (smallest.partno != SIZE_MAX && smallest.size <= pinfo.size) /* already found smaller */ in find_suitable_partition()
256 if (smallest.partno == SIZE_MAX) in find_suitable_partition()
301 r = fdisk_get_partition(c, info->partno, &pa); in patch_partition()
303 … log_error_errno(r, "Failed to read partition %zu of GPT label of '%s': %m", info->partno, device); in patch_partition()
370 r = fdisk_set_partition(c, info->partno, pa); in patch_partition()
Dsysupdate-partition.h26 size_t partno; member
39 .partno = SIZE_MAX, \
/systemd-251/src/partition/
Drepart.c153 uint64_t partno; member
250 .partno = UINT64_MAX, in partition_new()
896 uint64_t partno = 0; in context_place_partitions() local
905 assert(p->partno != UINT64_MAX); in context_place_partitions()
906 if (p->partno >= partno) in context_place_partitions()
907 partno = p->partno + 1; in context_place_partitions()
932 p->partno = partno++; in context_place_partitions()
1728 size_t partno; in context_load_partition_table() local
1777 partno = fdisk_partition_get_partno(p); in context_load_partition_table()
1794 pp->partno = partno; in context_load_partition_table()
[all …]
/systemd-251/src/shared/
Dloop-util.c826 uint64_t current_offset, current_size, partno; in resize_partition() local
849 r = safe_atou64(buffer, &partno); in resize_partition()
893 .pno = partno, in resize_partition()
Ddissect-image.h23 …int partno; /* -1 if there was no partition and the images contains a file system … member
Ddissect-image.c164 .partno = -1, in dissected_partition_done()
416 .partno = -1, in dissect_image()
824 .partno = nr, in dissect_image()
886 .partno = nr, in dissect_image()
1077 .partno = generic_nr, in dissect_image()
/systemd-251/src/dissect/
Ddissect.c582 if (p->partno < 0) /* no partition table, naked file system */ { in action_dissect()
593 r = table_add_cell(t, NULL, TABLE_INT, &p->partno); in action_dissect()