Home
last modified time | relevance | path

Searched refs:memory_high (Results 1 – 10 of 10) sorted by relevance

/systemd-251/src/test/
Dtest-load-fragment.c902 { "MemoryHigh", "", &c.memory_high, CGROUP_LIMIT_MAX }, in TEST()
903 { "MemoryHigh", "0", &c.memory_high, CGROUP_LIMIT_DUMMY }, in TEST()
904 { "MemoryHigh", "10", &c.memory_high, 10 }, in TEST()
905 { "MemoryHigh", "infinity", &c.memory_high, CGROUP_LIMIT_MAX }, in TEST()
917 c.memory_high = CGROUP_LIMIT_DUMMY; in TEST()
/systemd-251/src/shared/
Duser-record-show.c273 if (hr->memory_high != UINT64_MAX) in user_record_show()
274 printf(" Memory High: %s\n", FORMAT_BYTES(hr->memory_high)); in user_record_show()
Duser-record.h271 uint64_t memory_high; member
Duser-record.c46 .memory_high = UINT64_MAX, in user_record_new()
1179 …IGNED, json_dispatch_tasks_or_memory_max, offsetof(UserRecord, memory_high), … in dispatch_per_machine()
1530 …IGNED, json_dispatch_tasks_or_memory_max, offsetof(UserRecord, memory_high), … in user_record_load()
/systemd-251/src/systemctl/
Dsystemctl-show.c250 uint64_t memory_high; member
699 i->memory_high != CGROUP_LIMIT_MAX || i->memory_max != CGROUP_LIMIT_MAX || in print_status_info()
714 if (i->memory_high != CGROUP_LIMIT_MAX) { in print_status_info()
715 printf("%shigh: %s", prefix, FORMAT_BYTES(i->memory_high)); in print_status_info()
1936 … "t", NULL, offsetof(UnitStatusInfo, memory_high) … in show_one()
1970 .memory_high = CGROUP_LIMIT_MAX, in show_one()
/systemd-251/src/core/
Dcgroup.c150 .memory_high = CGROUP_LIMIT_MAX, in cgroup_context_init()
348 unit_value = c->memory_high; in unit_compare_memory_limit()
501 … prefix, c->memory_high, format_cgroup_memory_limit_comparison(cdc, sizeof(cdc), u, "MemoryHigh"), in cgroup_context_dump()
1204 c->memory_high != CGROUP_LIMIT_MAX || c->memory_max != CGROUP_LIMIT_MAX || in unit_has_unified_memory_config()
1578 cgroup_apply_unified_memory_limit(u, "memory.high", c->memory_high); in cgroup_context_apply()
3646 if (unit_context->memory_max != UINT64_MAX || unit_context->memory_high != UINT64_MAX) in unit_get_memory_available()
3647 … available = LESS_BY(MIN(unit_context->memory_max, unit_context->memory_high), unit_current); in unit_get_memory_available()
3664 … if (slice_context->memory_max == UINT64_MAX && slice_context->memory_high == UINT64_MAX) in unit_get_memory_available()
3671 …slice_available = LESS_BY(MIN(slice_context->memory_max, slice_context->memory_high), slice_curren… in unit_get_memory_available()
Dcgroup.h149 uint64_t memory_high; member
Ddbus-cgroup.c481 SD_BUS_PROPERTY("MemoryHigh", "t", NULL, offsetof(CGroupContext, memory_high), 0),
1058 return bus_cgroup_set_memory(u, name, &c->memory_high, message, flags, error); in bus_cgroup_set_property()
1098 return bus_cgroup_set_memory_scale(u, name, &c->memory_high, message, flags, error); in bus_cgroup_set_property()
Dload-fragment.c3910 c->memory_high = bytes; in config_parse_memory_limit()
/systemd-251/src/login/
Dlogind-user.c389 u->user_record->memory_high == UINT64_MAX && in user_update_slice()
419 { "MemoryHigh", u->user_record->memory_high }, in user_update_slice()