Searched refs:memory_min (Results 1 – 9 of 9) sorted by relevance
/systemd-251/src/test/ |
D | test-load-fragment.c | 894 { "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/ |
D | oomd-util.h | 27 uint64_t memory_min; member
|
D | oomd-util.c | 384 … 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()
|
D | test-oomd-util.c | 133 assert_se(ctx->memory_min == 0); in test_oomd_cgroup_context_acquire_and_insert()
|
/systemd-251/src/systemctl/ |
D | systemctl-show.c | 248 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/ |
D | cgroup.h | 147 uint64_t memory_min; member
|
D | dbus-cgroup.c | 479 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()
|
D | cgroup.c | 499 … 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);
|
D | load-fragment.c | 3904 c->memory_min = bytes; in config_parse_memory_limit()
|