Home
last modified time | relevance | path

Searched refs:memory_min (Results 1 – 9 of 9) sorted by relevance

/systemd-251/src/test/
Dtest-load-fragment.c894 { "MemoryMin", "", &c.memory_min, CGROUP_LIMIT_MIN }, in TEST()
895 { "MemoryMin", "0", &c.memory_min, CGROUP_LIMIT_MIN }, in TEST()
896 { "MemoryMin", "10", &c.memory_min, 10 }, in TEST()
897 { "MemoryMin", "infinity", &c.memory_min, CGROUP_LIMIT_MAX }, in TEST()
915 c.memory_min = CGROUP_LIMIT_DUMMY; in TEST()
/systemd-251/src/oom/
Doomd-util.h27 uint64_t memory_min; member
Doomd-util.c384 … r = cg_get_attribute_as_uint64(SYSTEMD_CGROUP_CONTROLLER, path, "memory.min", &ctx->memory_min); in oomd_cgroup_context_acquire()
593 strempty(prefix), FORMAT_BYTES_CGROUP_PROTECTION(ctx->memory_min), in oomd_dump_memory_pressure_cgroup_context()
Dtest-oomd-util.c133 assert_se(ctx->memory_min == 0); in test_oomd_cgroup_context_acquire_and_insert()
/systemd-251/src/systemctl/
Dsystemctl-show.c248 uint64_t memory_min; member
698 if (i->memory_min > 0 || i->memory_low > 0 || in print_status_info()
706 if (i->memory_min > 0) { in print_status_info()
707 … printf("%smin: %s", prefix, FORMAT_BYTES_CGROUP_PROTECTION(i->memory_min)); in print_status_info()
1934 … "t", NULL, offsetof(UnitStatusInfo, memory_min) … in show_one()
/systemd-251/src/core/
Dcgroup.h147 uint64_t memory_min; member
Ddbus-cgroup.c479 SD_BUS_PROPERTY("MemoryMin", "t", NULL, offsetof(CGroupContext, memory_min), 0),
1030 … r = bus_cgroup_set_memory_protection(u, name, &c->memory_min, message, flags, error); in bus_cgroup_set_property()
1070 … r = bus_cgroup_set_memory_protection_scale(u, name, &c->memory_min, message, flags, error); in bus_cgroup_set_property()
Dcgroup.c499 … prefix, c->memory_min, format_cgroup_memory_limit_comparison(cda, sizeof(cda), u, "MemoryMin"), in cgroup_context_dump()
728 UNIT_DEFINE_ANCESTOR_MEMORY_LOOKUP(memory_min);
Dload-fragment.c3904 c->memory_min = bytes; in config_parse_memory_limit()