Home
last modified time | relevance | path

Searched refs:current_size (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/partition/
Drepart.c147 uint64_t current_size, new_size; member
242 .current_size = UINT64_MAX, in partition_new()
425 assert(p->current_size != UINT64_MAX); in partition_min_size()
426 return p->current_size; in partition_min_size()
429 sz = p->current_size != UINT64_MAX ? p->current_size : HARD_MIN_SIZE; in partition_min_size()
466 assert(p->current_size != UINT64_MAX); in partition_max_size()
467 return p->current_size; in partition_max_size()
472 if (p->current_size != UINT64_MAX) in partition_max_size()
473 return MAX(p->current_size, sm); in partition_max_size()
528 assert(a->after->current_size != UINT64_MAX); in free_area_available_for_new_partitions()
[all …]
/systemd-251/src/shared/
Dloop-util.c826 uint64_t current_offset, current_size, partno; in resize_partition() local
866 if (ioctl(partition_fd, BLKGETSIZE64, &current_size) < 0) in resize_partition()
871 if (current_size == size && current_offset == offset) in resize_partition()
895 .length = size == UINT64_MAX ? current_size : size, in resize_partition()