/systemd-251/src/test/ |
D | test-load-fragment.c | 906 { "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/ |
D | pam_systemd.c | 686 …*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()
|
D | logind-user.c | 390 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/ |
D | cgroup.c | 151 .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()
|
D | cgroup.h | 150 uint64_t memory_max; member
|
D | dbus-cgroup.c | 482 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()
|
D | load-fragment.c | 3912 c->memory_max = bytes; in config_parse_memory_limit()
|
/systemd-251/src/shared/ |
D | user-record-show.c | 276 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()
|
D | user-record.h | 272 uint64_t memory_max; member
|
D | user-record.c | 47 .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/ |
D | systemctl-show.c | 251 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/ |
D | NEWS | 6070 * pam_systemd will now look for PAM userdata fields systemd.memory_max,
|