Searched refs:format_bytes (Results 1 - 14 of 14) sorted by relevance
/systemd/src/test/ |
H A D | test-btrfs.c | 53 log_info("referenced: %s", strna(format_bytes(bs, sizeof(bs), quota.referenced))); 54 log_info("exclusive: %s", strna(format_bytes(bs, sizeof(bs), quota.exclusive))); 55 log_info("referenced_max: %s", strna(format_bytes(bs, sizeof(bs), quota.referenced_max))); 56 log_info("exclusive_max: %s", strna(format_bytes(bs, sizeof(bs), quota.exclusive_max)));
|
/systemd/src/basic/ |
H A D | parse-util.h | 41 char *format_bytes(char *buf, size_t l, uint64_t t);
|
H A D | parse-util.c | 271 char *format_bytes(char *buf, size_t l, uint64_t t) { function
|
/systemd/src/journal/ |
H A D | journal-vacuum.c | 283 "Deleted empty archived journal %s/%s (%s).", directory, p, format_bytes(sbytes, sizeof(sbytes), size)); 324 log_full(verbose ? LOG_INFO : LOG_DEBUG, "Deleted archived journal %s/%s (%s).", directory, list[i].filename, format_bytes(sbytes, sizeof(sbytes), list[i].usage)); 346 log_full(verbose ? LOG_INFO : LOG_DEBUG, "Vacuuming done, freed %s of archived journals on disk.", format_bytes(sbytes, sizeof(sbytes), freed));
|
H A D | journald-server.c | 168 format_bytes(fb1, sizeof(fb1), sum); 169 format_bytes(fb2, sizeof(fb2), metrics->max_use); 170 format_bytes(fb3, sizeof(fb3), metrics->keep_free); 171 format_bytes(fb4, sizeof(fb4), ss_avail); 172 format_bytes(fb5, sizeof(fb5), s->cached_space_limit); 173 format_bytes(fb6, sizeof(fb6), s->cached_space_available);
|
H A D | journal-file.c | 2667 printf("Disk usage: %s\n", format_bytes(bytes, sizeof(bytes), (uint64_t) st.st_blocks * 512ULL)); 3195 format_bytes(a, sizeof(a), m->min_use), 3196 format_bytes(b, sizeof(b), m->max_use), 3197 format_bytes(c, sizeof(c), m->max_size), 3198 format_bytes(d, sizeof(d), m->min_size), 3199 format_bytes(e, sizeof(e), m->keep_free),
|
H A D | journalctl.c | 2151 format_bytes(sbytes, sizeof(sbytes), bytes));
|
/systemd/src/shared/ |
H A D | machine-pool.c | 329 log_info("Set up /var/lib/machines as btrfs loopback file system of size %s mounted on /var/lib/machines.raw.", format_bytes(buf, sizeof(buf), size)); 425 log_info("Grew /var/lib/machines btrfs loopback file system to %s.", format_bytes(buf, sizeof(buf), new_size));
|
H A D | logs-show.c | 394 fprintf(f, ": [%s blob data]\n", format_bytes(bytes, sizeof(bytes), message_len)); 490 format_bytes(bytes, sizeof(bytes), length - (c - (const char *) data) - 1),
|
/systemd/src/import/ |
H A D | pull-job.c | 443 log_info("Downloading %s for %s.", format_bytes(bytes, sizeof(bytes), j->content_length), j->url); 501 format_bytes(y, sizeof(y), (uint64_t) ((double) dlnow / ((double) done / (double) USEC_PER_SEC))));
|
/systemd/src/machine/ |
H A D | machinectl.c | 299 l = strlen(strna(format_bytes(buf, sizeof(buf), size))); 331 (int) max_size, strna(format_bytes(size_buf, sizeof(size_buf), images[j].size)), 812 s3 = format_bytes(bs, sizeof(bs), i->usage); 813 s4 = i->usage_exclusive != i->usage ? format_bytes(bs_exclusive, sizeof(bs_exclusive), i->usage_exclusive) : NULL; 819 s3 = format_bytes(bs, sizeof(bs), i->limit); 820 s4 = i->limit_exclusive != i->limit ? format_bytes(bs_exclusive, sizeof(bs_exclusive), i->limit_exclusive) : NULL; 888 s = format_bytes(bs, sizeof(bs), i->usage); 892 s = format_bytes(bs, sizeof(bs), i->limit);
|
/systemd/src/cgtop/ |
H A D | cgtop.c | 122 return format_bytes(buf, l, t);
|
/systemd/src/core/ |
H A D | cgroup.c | 157 format_bytes(buf, sizeof(buf), b->bandwidth));
|
/systemd/src/systemctl/ |
H A D | systemctl.c | 3678 printf(" Memory: %s", format_bytes(buf, sizeof(buf), i->memory_current)); 3681 printf(" (limit: %s)\n", format_bytes(buf, sizeof(buf), i->memory_limit));
|
Completed in 92 milliseconds