Searched refs:disk_usage (Results 1 – 4 of 4) sorted by relevance
/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 2250 disk_usage = disk_size - disk_free; in home_get_disk_status_luks() 2252 if (stat_used != UINT64_MAX && disk_usage > stat_used) in home_get_disk_status_luks() 2253 disk_usage = stat_used; in home_get_disk_status_luks() 2255 disk_usage = stat_used; in home_get_disk_status_luks() 2268 *ret_disk_usage = disk_usage; 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 2342 disk_usage = qi.referenced; in home_get_disk_status_directory() 2359 if (disk_size > disk_usage) in home_get_disk_status_directory() 2360 disk_free = disk_size - disk_usage; in home_get_disk_status_directory() [all …]
|
/systemd-251/src/shared/ |
D | user-record-show.c | 349 if (hr->disk_usage != UINT64_MAX) { in user_record_show() 353 … permille = (unsigned) DIV_ROUND_UP(hr->disk_usage * 1000U, hr->disk_size); /* Round up! */ in user_record_show() 355 FORMAT_BYTES(hr->disk_usage), in user_record_show() 358 printf(" Disk Usage: %s\n", FORMAT_BYTES(hr->disk_usage)); in user_record_show()
|
D | user-record.h | 317 uint64_t disk_usage; member
|
D | user-record.c | 60 .disk_usage = UINT64_MAX, in user_record_new() 1278 …VARIANT_UNSIGNED, json_dispatch_uint64, offsetof(UserRecord, disk_usage), … in dispatch_status()
|