Searched refs:format_bytes (Results 1 - 14 of 14) sorted by relevance

/systemd/src/test/
H A Dtest-btrfs.c53 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 Dparse-util.h41 char *format_bytes(char *buf, size_t l, uint64_t t);
H A Dparse-util.c271 char *format_bytes(char *buf, size_t l, uint64_t t) { function
/systemd/src/journal/
H A Djournal-vacuum.c283 "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 Djournald-server.c168 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 Djournal-file.c2667 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 Djournalctl.c2151 format_bytes(sbytes, sizeof(sbytes), bytes));
/systemd/src/shared/
H A Dmachine-pool.c329 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 Dlogs-show.c394 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 Dpull-job.c443 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 Dmachinectl.c299 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 Dcgtop.c122 return format_bytes(buf, l, t);
/systemd/src/core/
H A Dcgroup.c157 format_bytes(buf, sizeof(buf), b->bandwidth));
/systemd/src/systemctl/
H A Dsystemctl.c3678 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