Home
last modified time | relevance | path

Searched refs:memory_max (Results 1 – 12 of 12) sorted by relevance

/systemd-251/src/test/
Dtest-load-fragment.c906 { "MemoryMax", "", &c.memory_max, CGROUP_LIMIT_MAX }, in TEST()
907 { "MemoryMax", "0", &c.memory_max, CGROUP_LIMIT_DUMMY }, in TEST()
908 { "MemoryMax", "10", &c.memory_max, 10 }, in TEST()
909 { "MemoryMax", "infinity", &c.memory_max, CGROUP_LIMIT_MAX }, in TEST()
918 c.memory_max = CGROUP_LIMIT_DUMMY; in TEST()
/systemd-251/src/login/
Dpam_systemd.c686 …*memory_max = NULL, *tasks_max = NULL, *cpu_weight = NULL, *io_weight = NULL, *runtime_max_sec = N… in pam_sm_open_session() local
825 r = pam_get_data(handle, "systemd.memory_max", (const void **)&memory_max); in pam_sm_open_session()
867 … strna(memory_max), strna(tasks_max), strna(cpu_weight), strna(io_weight), strna(runtime_max_sec)); in pam_sm_open_session()
895 r = append_session_memory_max(handle, m, memory_max); in pam_sm_open_session()
Dlogind-user.c390 u->user_record->memory_max == UINT64_MAX && in user_update_slice()
418 { "MemoryMax", u->user_record->memory_max }, in user_update_slice()
/systemd-251/src/core/
Dcgroup.c151 .memory_max = CGROUP_LIMIT_MAX, in cgroup_context_init()
351 unit_value = c->memory_max; in unit_compare_memory_limit()
502 … prefix, c->memory_max, format_cgroup_memory_limit_comparison(cdd, sizeof(cdd), u, "MemoryMax"), in cgroup_context_dump()
1204 c->memory_high != CGROUP_LIMIT_MAX || c->memory_max != CGROUP_LIMIT_MAX || in unit_has_unified_memory_config()
1567 max = c->memory_max; in cgroup_context_apply()
1589 val = c->memory_max; 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.h150 uint64_t memory_max; member
Ddbus-cgroup.c482 SD_BUS_PROPERTY("MemoryMax", "t", NULL, offsetof(CGroupContext, memory_max), 0),
1064 return bus_cgroup_set_memory(u, name, &c->memory_max, message, flags, error); in bus_cgroup_set_property()
1104 return bus_cgroup_set_memory_scale(u, name, &c->memory_max, message, flags, error); in bus_cgroup_set_property()
Dload-fragment.c3912 c->memory_max = bytes; in config_parse_memory_limit()
/systemd-251/src/shared/
Duser-record-show.c276 if (hr->memory_max != UINT64_MAX) in user_record_show()
277 printf(" Memory Max: %s\n", FORMAT_BYTES(hr->memory_max)); in user_record_show()
Duser-record.h272 uint64_t memory_max; member
Duser-record.c47 .memory_max = UINT64_MAX, in user_record_new()
1180 …IGNED, json_dispatch_tasks_or_memory_max, offsetof(UserRecord, memory_max), … in dispatch_per_machine()
1531 …IGNED, json_dispatch_tasks_or_memory_max, offsetof(UserRecord, memory_max), … in user_record_load()
/systemd-251/src/systemctl/
Dsystemctl-show.c251 uint64_t memory_max; member
699 i->memory_high != CGROUP_LIMIT_MAX || i->memory_max != CGROUP_LIMIT_MAX || in print_status_info()
718 if (i->memory_max != CGROUP_LIMIT_MAX) { in print_status_info()
719 printf("%smax: %s", prefix, FORMAT_BYTES(i->memory_max)); in print_status_info()
1937 … "t", NULL, offsetof(UnitStatusInfo, memory_max) … in show_one()
1971 .memory_max = CGROUP_LIMIT_MAX, in show_one()
/systemd-251/
DNEWS6070 * pam_systemd will now look for PAM userdata fields systemd.memory_max,