/systemd/src/shared/ |
H A D | machine-image.h | 49 uint64_t limit; member in struct:Image
|
/systemd/src/core/ |
H A D | dbus-cgroup.c | 525 uint64_t limit; local 527 r = sd_bus_message_read(message, "t", &limit); 532 c->memory_limit = limit; 535 if (limit == (uint64_t) -1) 538 unit_write_drop_in_private_format(u, mode, name, "MemoryLimit=%" PRIu64, limit); 672 uint64_t limit; local 674 r = sd_bus_message_read(message, "t", &limit); 679 c->tasks_max = limit; 682 if (limit == (uint64_t) -1) 685 unit_write_drop_in_private_format(u, mode, name, "TasksMax=%" PRIu64, limit); [all...] |
H A D | manager.c | 175 char time[FORMAT_TIMESPAN_MAX], limit[FORMAT_TIMESPAN_MAX] = "no limit"; local 208 format_timespan(limit, sizeof(limit), x - j->begin_usec, 1*USEC_PER_SEC); 215 time, limit);
|
/systemd/src/machine/ |
H A D | image-dbus.c | 189 uint64_t limit; local 194 r = sd_bus_message_read(message, "t", &limit); 197 if (!FILE_SIZE_VALID_OR_INFINITY(limit)) 198 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "New limit out of range"); 214 r = image_set_limit(image, limit); 230 SD_BUS_PROPERTY("Limit", "t", NULL, offsetof(Image, limit), 0),
|
H A D | machined-dbus.c | 114 /* We try to read the quota limit from /var/lib/machines, as 807 uint64_t limit; local 812 r = sd_bus_message_read(message, "t", &limit); 815 if (!FILE_SIZE_VALID_OR_INFINITY(limit)) 816 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "New limit out of range"); 833 r = setup_machine_directory(limit, error); 837 /* Resize the backing loopback device, if there is one, except if we asked to drop any limit */ 838 if (limit != (uint64_t) -1) { 839 r = btrfs_resize_loopback("/var/lib/machines", limit, false); 843 return sd_bus_error_set_errnof(error, r, "Failed to adjust loopback limit [all...] |
H A D | machinectl.c | 759 uint64_t limit; member in struct:ImageStatusInfo 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; 837 { "Limit", "t", NULL, offsetof(ImageStatusInfo, limit) }, 870 uint64_t limit; member in struct:PoolStatusInfo 878 info->limit = -1; 892 s = format_bytes(bs, sizeof(bs), i->limit); 902 { "PoolLimit", "t", NULL, offsetof(PoolStatusInfo, limit) }, 908 .limit = (uint64_t) -1, 2309 uint64_t limit; local [all...] |
/systemd/src/journal/ |
H A D | journald-server.c | 55 #include "journald-rate-limit.h" 96 uint64_t *limit) { 116 if (limit) 117 *limit = s->cached_space_limit; 148 /* If requested, then let's bump the min_use limit to the 197 if (limit) 198 *limit = s->cached_space_limit; 203 static int determine_space(Server *s, bool verbose, bool patch_min_use, uint64_t *available, uint64_t *limit) { argument 219 return determine_space_for(s, metrics, path, name, verbose, patch_min_use, available, limit); 405 uint64_t limit; local 88 determine_space_for( Server *s, JournalMetrics *metrics, const char *path, const char *name, bool verbose, bool patch_min_use, uint64_t *available, uint64_t *limit) argument [all...] |