Searched refs:last_lba (Results 1 – 2 of 2) sorted by relevance
/systemd-251/src/partition/ |
D | repart.c | 1559 uint64_t left_boundary = UINT64_MAX, first_lba, last_lba, nsectors; in context_load_partition_table() local 1857 last_lba = fdisk_get_last_lba(c); in context_load_partition_table() 1858 assert(last_lba < UINT64_MAX); in context_load_partition_table() 1859 last_lba++; in context_load_partition_table() 1860 assert(last_lba <= UINT64_MAX/secsz); in context_load_partition_table() 1861 last_lba *= secsz; in context_load_partition_table() 1863 assert(last_lba >= first_lba); in context_load_partition_table() 1869 last_lba = round_down_size(last_lba, grainsz); in context_load_partition_table() 1871 if (last_lba > first_lba) { in context_load_partition_table() 1872 r = context_add_free_area(context, last_lba - first_lba, NULL); in context_load_partition_table() [all …]
|
/systemd-251/src/home/ |
D | homework-luks.c | 1843 uint64_t offset, size, first_lba, start, last_lba, end; in make_partition_table() local 1896 last_lba = fdisk_get_last_lba(c); /* One sector before boundary where usable space ends */ in make_partition_table() 1897 assert(last_lba < UINT64_MAX/512); in make_partition_table() 1898 end = DISK_SIZE_ROUND_DOWN((last_lba + 1) * 512); /* Round down to multiple of 4K */ in make_partition_table()
|