Home
last modified time | relevance | path

Searched refs:FORMAT_BYTES (Results 1 – 25 of 28) sorted by relevance

12

/systemd-251/src/shared/
Duser-record-show.c274 printf(" Memory High: %s\n", FORMAT_BYTES(hr->memory_high)); in user_record_show()
277 printf(" Memory Max: %s\n", FORMAT_BYTES(hr->memory_max)); in user_record_show()
318 printf(" PBKDF Bytes: %s\n", FORMAT_BYTES(hr->luks_pbkdf_memory_cost)); in user_record_show()
347 printf(" Disk Size: %s\n", FORMAT_BYTES(hr->disk_size)); 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()
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()
392 printf(" Disk Floor: %s\n", FORMAT_BYTES(hr->disk_floor)); in user_record_show()
395 printf("Disk Ceiling: %s\n", FORMAT_BYTES(hr->disk_ceiling)); in user_record_show()
Dlogs-show.c584 fprintf(f, "[%s blob data]\n", FORMAT_BYTES(message_len)); in output_short()
734 FORMAT_BYTES(length - (c - (const char *) data) - 1), in output_verbose()
/systemd-251/src/test/
Dtest-btrfs.c35 log_info("referenced: %s", strna(FORMAT_BYTES(quota.referenced))); in main()
36 log_info("exclusive: %s", strna(FORMAT_BYTES(quota.exclusive))); in main()
37 log_info("referenced_max: %s", strna(FORMAT_BYTES(quota.referenced_max))); in main()
38 log_info("exclusive_max: %s", strna(FORMAT_BYTES(quota.exclusive_max))); in main()
Dtest-procfs-util.c24 log_info("Current memory usage: %s", FORMAT_BYTES(v)); in main()
Dtest-util.c168 log_info("Memory: %s (%" PRIu64 ")", FORMAT_BYTES(p), p); in TEST()
/systemd-251/src/home/
Dhomework-luks.c1089 log_info("Discarded unused %s.", FORMAT_BYTES(range.len)); in run_fitrim()
1132 FORMAT_BYTES((DIV_ROUND_UP(st->st_size, 512) - st->st_blocks) * 512)); in run_fallocate()
1466 FORMAT_BYTES(host_size), in print_size_summary()
1467 FORMAT_BYTES(encrypted_size), in print_size_summary()
1468 FORMAT_BYTES((uint64_t) sfs->f_blocks * (uint64_t) sfs->f_frsize), in print_size_summary()
1469 FORMAT_BYTES((uint64_t) sfs->f_bfree * (uint64_t) sfs->f_frsize)); in print_size_summary()
2050 FORMAT_BYTES(*ret)); in calculate_initial_image_size()
2057 FORMAT_BYTES(*ret)); in calculate_initial_image_size()
2101 … log_debug_errno(errno, "Not enough disk space to allocate home of size %s.", FORMAT_BYTES(size)); in home_truncate()
2937 …%s didn't work, not enough space for contained data.", FORMAT_BYTES(current_fs_size), FORMAT_BYTES in resize_fs_loop()
[all …]
Dhomed-manager.c1891 FORMAT_BYTES(usage_sum), FORMAT_BYTES(free_sum)); in manager_rebalance_calculate()
1940 FORMAT_BYTES(h->rebalance_size), FORMAT_BYTES(h->rebalance_goal)); in manager_rebalance_calculate()
/systemd-251/src/core/
Dimport-creds.c106 …' is larger than allowed limit (%s > %s), skipping.", name, FORMAT_BYTES(size), FORMAT_BYTES(CREDE… in credential_size_ok()
112FORMAT_BYTES(c->size_sum), FORMAT_BYTES(size), FORMAT_BYTES(CREDENTIALS_TOTAL_SIZE_MAX), name); in credential_size_ok()
Ddbus-manager.c1434 FORMAT_BYTES(available), in verify_run_space()
1435 FORMAT_BYTES(RELOAD_DISK_SPACE_MIN)); in verify_run_space()
1635 FORMAT_BYTES(available), in method_switch_root()
1636 FORMAT_BYTES(RELOAD_DISK_SPACE_MIN)); in method_switch_root()
Dunit.c2350 rr = strjoin("read ", strna(FORMAT_BYTES(value)), " from disk"); in unit_log_resources()
2357 wr = strjoin("written ", strna(FORMAT_BYTES(value)), " to disk"); in unit_log_resources()
2414 igress = strjoin("received ", strna(FORMAT_BYTES(value)), " IP traffic"); in unit_log_resources()
2421 egress = strjoin("sent ", strna(FORMAT_BYTES(value)), " IP traffic"); in unit_log_resources()
Dcgroup.c553 FORMAT_BYTES(il->limits[type])); in cgroup_context_dump()
568 FORMAT_BYTES(b->rbps)); in cgroup_context_dump()
574 FORMAT_BYTES(b->wbps)); in cgroup_context_dump()
/systemd-251/src/oom/
Doomd-util.c560 strempty(prefix), FORMAT_BYTES(ctx->swap_usage)); in oomd_dump_swap_cgroup_context()
585 strempty(prefix), FORMAT_BYTES(ctx->current_memory_usage)); in oomd_dump_memory_pressure_cgroup_context()
607 FORMAT_BYTES(ctx->mem_used), in oomd_dump_system_context()
608 FORMAT_BYTES(ctx->mem_total), in oomd_dump_system_context()
610 FORMAT_BYTES(ctx->swap_used), in oomd_dump_system_context()
611 FORMAT_BYTES(ctx->swap_total)); in oomd_dump_system_context()
/systemd-251/src/basic/
Dformat-util.h102 #define FORMAT_BYTES(t) format_bytes((char[FORMAT_BYTES_MAX]){}, FORMAT_BYTES_MAX, t) macro
105 #define FORMAT_BYTES_CGROUP_PROTECTION(t) (t == CGROUP_LIMIT_MAX ? "infinity" : FORMAT_BYTES(t))
/systemd-251/src/libsystemd/sd-journal/
Djournal-vacuum.c250 … "Deleted empty archived journal %s/%s (%s).", directory, p, FORMAT_BYTES(size)); in journal_directory_vacuum()
293 directory, list[i].filename, FORMAT_BYTES(list[i].usage)); in journal_directory_vacuum()
316 FORMAT_BYTES(freed), directory); in journal_directory_vacuum()
Djournal-file.c3306 printf("Disk usage: %s\n", FORMAT_BYTES((uint64_t) st.st_blocks * 512ULL)); in journal_file_print_header()
3414 FORMAT_BYTES(m->min_use), in journal_default_metrics()
3415 FORMAT_BYTES(m->max_use), in journal_default_metrics()
3416 FORMAT_BYTES(m->max_size), in journal_default_metrics()
3417 FORMAT_BYTES(m->min_size), in journal_default_metrics()
3418 FORMAT_BYTES(m->keep_free), in journal_default_metrics()
3639 … yes_no(JOURNAL_FILE_COMPRESS(f)), FORMAT_BYTES(f->compress_threshold_bytes)); in journal_file_open()
/systemd-251/src/partition/
Drepart.c1957 t = strdup(FORMAT_BYTES(from)); in format_size_change()
1959 …t = strjoin(FORMAT_BYTES(from), " ", special_glyph(SPECIAL_GLYPH_ARROW_RIGHT), " ", FORMAT_BYTES(t… in format_size_change()
1961 t = strjoin(special_glyph(SPECIAL_GLYPH_ARROW_RIGHT), " ", FORMAT_BYTES(to)); in format_size_change()
2068 a = strjoina(special_glyph(SPECIAL_GLYPH_SIGMA), " = ", FORMAT_BYTES(sum_size)); in context_dump_partitions()
2069 b = strjoina(special_glyph(SPECIAL_GLYPH_SIGMA), " = ", FORMAT_BYTES(sum_padding)); in context_dump_partitions()
2787 p->copy_blocks_path, FORMAT_BYTES(p->copy_blocks_size), p->partno); in context_copy_blocks()
4694 node, FORMAT_BYTES(current_size), FORMAT_BYTES(arg_size)); in resize_backing_fd()
4736 … node, FORMAT_BYTES(current_size), FORMAT_BYTES(arg_size)); in resize_backing_fd()
4742 log_info("Allocated %s for '%s'.", FORMAT_BYTES(arg_size), node); in resize_backing_fd()
4745 node, FORMAT_BYTES(current_size), FORMAT_BYTES(arg_size)); in resize_backing_fd()
[all …]
Dgrowfs.c251 FORMAT_BYTES(newsize)); in run()
255 FORMAT_BYTES(newsize), in run()
/systemd-251/src/systemctl/
Dsystemctl-show.c678 FORMAT_BYTES(i->ip_ingress_bytes), in print_status_info()
679 FORMAT_BYTES(i->ip_egress_bytes)); in print_status_info()
683 FORMAT_BYTES(i->io_read_bytes), in print_status_info()
684 FORMAT_BYTES(i->io_write_bytes)); in print_status_info()
696 printf(" Memory: %s", FORMAT_BYTES(i->memory_current)); in print_status_info()
715 printf("%shigh: %s", prefix, FORMAT_BYTES(i->memory_high)); in print_status_info()
719 printf("%smax: %s", prefix, FORMAT_BYTES(i->memory_max)); in print_status_info()
723 printf("%sswap max: %s", prefix, FORMAT_BYTES(i->memory_swap_max)); in print_status_info()
727 printf("%slimit: %s", prefix, FORMAT_BYTES(i->memory_limit)); in print_status_info()
731 … printf("%savailable: %s", prefix, FORMAT_BYTES(i->memory_available)); in print_status_info()
/systemd-251/src/machine/
Dmachinectl.c864 FORMAT_BYTES(i->usage), FORMAT_BYTES(i->usage_exclusive)); in print_image_status_info()
866 printf("\t Usage: %s\n", FORMAT_BYTES(i->usage)); in print_image_status_info()
872 FORMAT_BYTES(i->limit), FORMAT_BYTES(i->limit_exclusive)); in print_image_status_info()
874 printf("\t Limit: %s\n", FORMAT_BYTES(i->limit)); in print_image_status_info()
934 printf("\t Usage: %s\n", FORMAT_BYTES(i->usage)); in print_pool_status_info()
937 printf("\t Limit: %s\n", FORMAT_BYTES(i->limit)); in print_pool_status_info()
2425 name, FORMAT_BYTES(usage)); in clean_images()
2440 c, FORMAT_BYTES(total)); in clean_images()
/systemd-251/src/journal/
Djournald-server.c217 FORMAT_BYTES(storage->space.vfs_used), in server_space_usage_message()
218 FORMAT_BYTES(storage->space.limit), in server_space_usage_message()
219 FORMAT_BYTES(storage->space.available)), in server_space_usage_message()
223 "CURRENT_USE_PRETTY=%s", FORMAT_BYTES(storage->space.vfs_used), in server_space_usage_message()
225 "MAX_USE_PRETTY=%s", FORMAT_BYTES(metrics->max_use), in server_space_usage_message()
227 "DISK_KEEP_FREE_PRETTY=%s", FORMAT_BYTES(metrics->keep_free), in server_space_usage_message()
229 … "DISK_AVAILABLE_PRETTY=%s", FORMAT_BYTES(storage->space.vfs_available), in server_space_usage_message()
231 "LIMIT_PRETTY=%s", FORMAT_BYTES(storage->space.limit), in server_space_usage_message()
233 "AVAILABLE_PRETTY=%s", FORMAT_BYTES(storage->space.available), in server_space_usage_message()
/systemd-251/src/import/
Dpull-job.c297 log_info("Acquired %s.", FORMAT_BYTES(j->written_uncompressed)); in pull_job_curl_on_finished()
607 log_info("Downloading %s for %s.", FORMAT_BYTES(j->content_length), j->url); in pull_job_header_callback()
663FORMAT_BYTES((uint64_t) ((double) dlnow / ((double) done / (double) USEC_PER_SEC)))); in pull_job_progress_callback()
Dimport-fs.c69 … log_info("Copying tree, currently at '%s' (@%s)...", p->path, FORMAT_BYTES(p->size)); in progress_show()
Dimport-raw.c252 log_info("Wrote %s.", FORMAT_BYTES(i->written_uncompressed)); in raw_import_finish()
/systemd-251/src/run/
Drun.c1342 … log_info("IP traffic received: %s", FORMAT_BYTES(c.ip_ingress_bytes)); in start_transient_service()
1345 log_info("IP traffic sent: %s", FORMAT_BYTES(c.ip_egress_bytes)); in start_transient_service()
1348 log_info("IO bytes read: %s", FORMAT_BYTES(c.io_read_bytes)); in start_transient_service()
1351 log_info("IO bytes written: %s", FORMAT_BYTES(c.io_write_bytes)); in start_transient_service()
/systemd-251/src/dissect/
Ddissect.c427 printf(" Size: %s\n", FORMAT_BYTES(size)); in action_dissect()

12