Searched refs:fs_size (Results 1 – 3 of 3) sorted by relevance
70 uint64_t fs_size = 0, fs_free = UINT64_MAX; in vacuum_necessary() local76 fs_size = sv.f_frsize * sv.f_blocks; in vacuum_necessary()82 if (fs_size > 0) { in vacuum_necessary()83 max_use = PAGE_ALIGN(fs_size / 10); /* 10% */ in vacuum_necessary()100 if (fs_size > 0) { in vacuum_necessary()101 keep_free = PAGE_ALIGN((fs_size * 3) / 20); /* 15% */ in vacuum_necessary()
3346 uint64_t fs_size = 0; in journal_default_metrics() local3352 fs_size = ss.f_frsize * ss.f_blocks; in journal_default_metrics()3358 if (fs_size > 0) in journal_default_metrics()3359 m->max_use = CLAMP(PAGE_ALIGN(fs_size / 10), /* 10% of file system size */ in journal_default_metrics()3371 if (fs_size > 0) in journal_default_metrics()3372 m->min_use = CLAMP(PAGE_ALIGN(fs_size / 50), /* 2% of file system size */ in journal_default_metrics()3403 if (fs_size > 0) in journal_default_metrics()3404 m->keep_free = MIN(PAGE_ALIGN(fs_size / 20), /* 5% of file system size */ in journal_default_metrics()
2154 stat_used = UINT64_MAX, fs_size = UINT64_MAX, header_size = 0; in home_get_disk_status_luks() local2237 fs_size = sfs.f_bsize * sfs.f_blocks; in home_get_disk_status_luks()2238 if (disk_size != UINT64_MAX && disk_size > fs_size) in home_get_disk_status_luks()2239 header_size = disk_size - fs_size; in home_get_disk_status_luks()