Home
last modified time | relevance | path

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

/systemd-251/src/home/
Dhomework-luks.c2027 uint64_t upper_boundary, lower_boundary; in calculate_initial_image_size() local
2037 upper_boundary = DISK_SIZE_ROUND_DOWN((uint64_t) sfs.f_bsize * sfs.f_bavail); in calculate_initial_image_size()
2040 *ret = MIN(DISK_SIZE_ROUND_DOWN(h->disk_size), upper_boundary); in calculate_initial_image_size()
2043 if (upper_boundary > UINT64_MAX / USER_DISK_SIZE_DEFAULT_PERCENT) in calculate_initial_image_size()
2046 *ret = DISK_SIZE_ROUND_DOWN(upper_boundary * USER_DISK_SIZE_DEFAULT_PERCENT / 100); in calculate_initial_image_size()
2052 …*ret = DISK_SIZE_ROUND_DOWN((uint64_t) ((double) upper_boundary * (double) CLAMP(h->disk_size_rela… in calculate_initial_image_size()
2925 …for (uint64_t lower_boundary = new_fs_size, upper_boundary = old_fs_size, try_fs_size = new_fs_siz… in resize_fs_loop() local
2965 upper_boundary = MIN(upper_boundary, try_fs_size); in resize_fs_loop()
2970 if (lower_boundary >= upper_boundary) { in resize_fs_loop()
2977 … try_fs_size = DISK_SIZE_ROUND_DOWN(lower_boundary + (upper_boundary - lower_boundary) / 2); in resize_fs_loop()
[all …]