Searched refs:memory_high (Results 1 – 10 of 10) sorted by relevance
/systemd-251/src/test/ |
D | test-load-fragment.c | 902 { "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/ |
D | user-record-show.c | 273 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()
|
D | user-record.h | 271 uint64_t memory_high; member
|
D | user-record.c | 46 .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/ |
D | systemctl-show.c | 250 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/ |
D | cgroup.c | 150 .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()
|
D | cgroup.h | 149 uint64_t memory_high; member
|
D | dbus-cgroup.c | 481 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()
|
D | load-fragment.c | 3910 c->memory_high = bytes; in config_parse_memory_limit()
|
/systemd-251/src/login/ |
D | logind-user.c | 389 u->user_record->memory_high == UINT64_MAX && in user_update_slice() 419 { "MemoryHigh", u->user_record->memory_high }, in user_update_slice()
|