Searched refs:disk_free (Results 1 – 4 of 4) sorted by relevance
/systemd-251/src/shared/ |
D | user-record-show.c | 361 if (hr->disk_free != UINT64_MAX) { in user_record_show() 366 … permille = (unsigned) ((hr->disk_free * 1000U) / hr->disk_size); /* Round down! */ in user_record_show() 372 hr->disk_free < 1024U*1024U*1024U /* 1G */) { in user_record_show() 376 hr->disk_free < 2U*1024U*1024U*1024U /* 2G */) { in user_record_show() 384 FORMAT_BYTES(hr->disk_free), in user_record_show() 388 printf(" Disk Free: %s\n", FORMAT_BYTES(hr->disk_free)); in user_record_show()
|
D | user-record.h | 318 uint64_t disk_free; member
|
D | user-record.c | 61 .disk_free = UINT64_MAX, in user_record_new() 1279 …_VARIANT_UNSIGNED, json_dispatch_uint64, offsetof(UserRecord, disk_free), … in dispatch_status()
|
/systemd-251/src/home/ |
D | homed-home.c | 2152 uint64_t disk_size = UINT64_MAX, disk_usage = UINT64_MAX, disk_free = UINT64_MAX, in home_get_disk_status_luks() local 2236 disk_free = sfs.f_bsize * sfs.f_bavail; in home_get_disk_status_luks() 2249 if (disk_size != UINT64_MAX && disk_size > disk_free) { in home_get_disk_status_luks() 2250 disk_usage = disk_size - disk_free; in home_get_disk_status_luks() 2270 *ret_disk_free = disk_free; in home_get_disk_status_luks() 2294 uint64_t disk_size = UINT64_MAX, disk_usage = UINT64_MAX, disk_free = UINT64_MAX, in home_get_disk_status_directory() local 2321 disk_free = sfs.f_bsize * sfs.f_bavail; in home_get_disk_status_directory() 2344 if (disk_free != UINT64_MAX) { in home_get_disk_status_directory() 2345 disk_ceiling = qi.referenced + disk_free; in home_get_disk_status_directory() 2360 disk_free = disk_size - disk_usage; in home_get_disk_status_directory() [all …]
|