Home
last modified time | relevance | path

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

/systemd-251/src/test/
Dtest-load-fragment.c898 { "MemoryLow", "", &c.memory_low, CGROUP_LIMIT_MIN }, in TEST()
899 { "MemoryLow", "0", &c.memory_low, CGROUP_LIMIT_MIN }, in TEST()
900 { "MemoryLow", "10", &c.memory_low, 10 }, in TEST()
901 { "MemoryLow", "infinity", &c.memory_low, CGROUP_LIMIT_MAX }, in TEST()
916 c.memory_low = CGROUP_LIMIT_DUMMY; in TEST()
/systemd-251/src/oom/
Doomd-util.h28 uint64_t memory_low; member
Doomd-util.c388 … r = cg_get_attribute_as_uint64(SYSTEMD_CGROUP_CONTROLLER, path, "memory.low", &ctx->memory_low); in oomd_cgroup_context_acquire()
594 strempty(prefix), FORMAT_BYTES_CGROUP_PROTECTION(ctx->memory_low), in oomd_dump_memory_pressure_cgroup_context()
Dtest-oomd-util.c134 assert_se(ctx->memory_low == 0); in test_oomd_cgroup_context_acquire_and_insert()
/systemd-251/src/systemctl/
Dsystemctl-show.c249 uint64_t memory_low; member
698 if (i->memory_min > 0 || i->memory_low > 0 || in print_status_info()
710 if (i->memory_low > 0) { in print_status_info()
711 … printf("%slow: %s", prefix, FORMAT_BYTES_CGROUP_PROTECTION(i->memory_low)); in print_status_info()
1935 … "t", NULL, offsetof(UnitStatusInfo, memory_low) … in show_one()
/systemd-251/src/core/
Dcgroup.h148 uint64_t memory_low; member
Ddbus-cgroup.c480 SD_BUS_PROPERTY("MemoryLow", "t", NULL, offsetof(CGroupContext, memory_low), 0),
1037 … r = bus_cgroup_set_memory_protection(u, name, &c->memory_low, message, flags, error); in bus_cgroup_set_property()
1077 … r = bus_cgroup_set_memory_protection_scale(u, name, &c->memory_low, message, flags, error); in bus_cgroup_set_property()
Dcgroup.c500 … prefix, c->memory_low, format_cgroup_memory_limit_comparison(cdb, sizeof(cdb), u, "MemoryLow"), in cgroup_context_dump()
727 UNIT_DEFINE_ANCESTOR_MEMORY_LOOKUP(memory_low);
Dload-fragment.c3907 c->memory_low = bytes; in config_parse_memory_limit()