Home
last modified time | relevance | path

Searched refs:fstab_find_pri (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/test/
Dtest-fstab-util.c131 TEST(fstab_find_pri) { in TEST() argument
134 assert_se(fstab_find_pri("pri", &pri) == 0); in TEST()
137 assert_se(fstab_find_pri("pri=11", &pri) == 1); in TEST()
140 assert_se(fstab_find_pri("pri=-2", &pri) == 1); in TEST()
143 assert_se(fstab_find_pri("opt,pri=12,opt", &pri) == 1); in TEST()
146 assert_se(fstab_find_pri("opt,opt,pri=12,pri=13", &pri) == 1); in TEST()
/systemd-251/src/shared/
Dfstab-util.h25 int fstab_find_pri(const char *options, int *ret);
Dfstab-util.c213 int fstab_find_pri(const char *options, int *ret) { in fstab_find_pri() function
/systemd-251/src/core/
Dswap.c816 r = fstab_find_pri(s->parameters_fragment.options, &priority); in swap_enter_activating()