Home
last modified time | relevance | path

Searched refs:rlimit_from_string_harder (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/test/
Dtest-rlimit-util.c70 TEST(rlimit_from_string_harder) { in TEST() argument
71 assert_se(rlimit_from_string_harder("NOFILE") == RLIMIT_NOFILE); in TEST()
72 assert_se(rlimit_from_string_harder("LimitNOFILE") == RLIMIT_NOFILE); in TEST()
73 assert_se(rlimit_from_string_harder("RLIMIT_NOFILE") == RLIMIT_NOFILE); in TEST()
74 assert_se(rlimit_from_string_harder("xxxNOFILE") == -EINVAL); in TEST()
75 assert_se(rlimit_from_string_harder("DefaultLimitNOFILE") == -EINVAL); in TEST()
87 assert_se(rlimit_from_string_harder(p) == i); in TEST()
92 assert_se(rlimit_from_string_harder(prefixed) == i); in TEST()
98 assert_se(rlimit_from_string_harder(prefixed) == i); in TEST()
/systemd-251/src/basic/
Drlimit-util.h10 int rlimit_from_string_harder(const char *s) _pure_;
Drlimit-util.c345 int rlimit_from_string_harder(const char *s) { in rlimit_from_string_harder() function
/systemd-251/src/home/
Dhomectl.c2714 l = rlimit_from_string_harder(field); in parse_argv()
/systemd-251/src/nspawn/
Dnspawn.c1488 rl = rlimit_from_string_harder(name); in parse_argv()