Searched refs:usage (Results 1 - 10 of 10) sorted by relevance

/systemd/src/systemctl/
H A Dsystemd-sysv-install.SKELETON9 usage() { function
22 *) usage ;;
27 [ -n "$NAME" ] || usage
46 usage ;;
/systemd/src/kernel-install/
H A Dkernel-install22 usage()
59 usage
/systemd/src/journal/
H A Djournal-vacuum.c38 uint64_t usage; member in struct:vacuum_info
300 list[n_list].usage = 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));
325 freed += list[i].usage;
327 if (list[i].usage < sum)
328 sum -= list[i].usage;
/systemd/src/shared/
H A Dmachine-image.h47 uint64_t usage; member in struct:Image
H A Dmachine-image.c126 i->usage = i->usage_exclusive = (uint64_t) -1;
218 (*ret)->usage = quota.referenced;
273 (*ret)->usage = (*ret)->usage_exclusive = st.st_blocks * 512;
/systemd/src/udev/collect/
H A Dcollect.c4 * usage: collect [--add|--remove] <checkpoint> <id> <idlist>
64 static void usage(void) function
388 usage();
/systemd/src/machine/
H A Dmachined-dbus.c72 uint64_t usage = (uint64_t) -1; local
79 * well as the usage of the loopback file
87 usage = q.referenced;
91 if (usage == (uint64_t) -1 || st.st_blocks * 512ULL > usage)
92 usage = st.st_blocks * 512ULL;
95 return sd_bus_message_append(reply, "t", usage);
595 image->usage,
H A Dimage-dbus.c229 SD_BUS_PROPERTY("Usage", "t", NULL, offsetof(Image, usage), 0),
H A Dmachinectl.c758 uint64_t usage; member in struct:ImageStatusInfo
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;
836 { "Usage", "t", NULL, offsetof(ImageStatusInfo, usage) },
869 uint64_t usage; member in struct:PoolStatusInfo
877 info->usage = -1;
888 s = format_bytes(bs, sizeof(bs), i->usage);
901 { "PoolUsage", "t", NULL, offsetof(PoolStatusInfo, usage) },
907 .usage = (uint64_t) -1,
/systemd/src/journal-remote/
H A Djournal-gatewayd.c753 uint64_t cutoff_from = 0, cutoff_to = 0, usage = 0; local
777 r = sd_journal_get_usage(m->journal, &usage);
779 return mhd_respondf(connection, MHD_HTTP_INTERNAL_SERVER_ERROR, "Failed to determine disk usage: %s\n", strerror(-r));
783 return mhd_respondf(connection, MHD_HTTP_INTERNAL_SERVER_ERROR, "Failed to determine disk usage: %s\n", strerror(-r));
796 "\"usage\" : \"%"PRIu64"\","
804 usage,

Completed in 99 milliseconds