Searched refs:RLIMIT_RTTIME (Results 1 - 6 of 6) sorted by relevance

/systemd/src/test/
H A Dtest-unit-file.c766 assert_se(config_parse_limit(NULL, "fake", 1, "section", 1, "LimitRTTIME", RLIMIT_RTTIME, "58", rl, NULL) >= 0);
767 assert_se(rl[RLIMIT_RTTIME]);
768 assert_se(rl[RLIMIT_RTTIME]->rlim_cur == 58);
769 assert_se(rl[RLIMIT_RTTIME]->rlim_cur == rl[RLIMIT_RTTIME]->rlim_max);
771 assert_se(config_parse_limit(NULL, "fake", 1, "section", 1, "LimitRTTIME", RLIMIT_RTTIME, "58:60", rl, NULL) >= 0);
772 assert_se(rl[RLIMIT_RTTIME]);
773 assert_se(rl[RLIMIT_RTTIME]->rlim_cur == 58);
774 assert_se(rl[RLIMIT_RTTIME]->rlim_max == 60);
776 assert_se(config_parse_limit(NULL, "fake", 1, "section", 1, "LimitRTTIME", RLIMIT_RTTIME, "5
[all...]
/systemd/src/basic/
H A Drlimit-util.c172 [RLIMIT_RTTIME] = rlimit_parse_usec,
268 [RLIMIT_RTTIME] = "LimitRTTIME"
H A Dmissing.h54 #ifndef RLIMIT_RTTIME
55 #define RLIMIT_RTTIME 15 macro
58 /* If RLIMIT_RTTIME is not defined, then we cannot use RLIMIT_NLIMITS as is */
59 #define _RLIMIT_MAX (RLIMIT_RTTIME+1 > RLIMIT_NLIMITS ? RLIMIT_RTTIME+1 : RLIMIT_NLIMITS)
/systemd/src/core/
H A Ddbus-execute.c678 SD_BUS_PROPERTY("LimitRTTIME", "t", bus_property_get_rlimit, offsetof(ExecContext, rlimit[RLIMIT_RTTIME]), SD_BUS_VTABLE_PROPERTY_CONST),
679 SD_BUS_PROPERTY("LimitRTTIMESoft", "t", bus_property_get_rlimit, offsetof(ExecContext, rlimit[RLIMIT_RTTIME]), SD_BUS_VTABLE_PROPERTY_CONST),
H A Ddbus-manager.c1975 SD_BUS_PROPERTY("DefaultLimitRTTIME", "t", bus_property_get_rlimit, offsetof(Manager, rlimit[RLIMIT_RTTIME]), SD_BUS_VTABLE_PROPERTY_CONST),
1976 SD_BUS_PROPERTY("DefaultLimitRTTIMESoft", "t", bus_property_get_rlimit, offsetof(Manager, rlimit[RLIMIT_RTTIME]), SD_BUS_VTABLE_PROPERTY_CONST),
H A Dmain.c688 { "Manager", "DefaultLimitRTTIME", config_parse_limit, RLIMIT_RTTIME, arg_default_rlimit },

Completed in 690 milliseconds