Searched refs:fstab_test_yes_no_option (Results 1 - 4 of 4) sorted by relevance

/systemd/src/test/
H A Dtest-fstab-util.c127 assert_se(fstab_test_yes_no_option("nofail,fail,nofail", "nofail\0fail\0") == true);
128 assert_se(fstab_test_yes_no_option("nofail,nofail,fail", "nofail\0fail\0") == false);
129 assert_se(fstab_test_yes_no_option("abc,cde,afail", "nofail\0fail\0") == false);
130 assert_se(fstab_test_yes_no_option("nofail,fail=0,nofail=0", "nofail\0fail\0") == true);
131 assert_se(fstab_test_yes_no_option("nofail,nofail=0,fail=0", "nofail\0fail\0") == false);
/systemd/src/shared/
H A Dfstab-util.h39 static inline bool fstab_test_yes_no_option(const char *opts, const char *yes_no) { function
/systemd/src/cryptsetup/
H A Dcryptsetup-generator.c71 noauto = fstab_test_yes_no_option(options, "noauto\0" "auto\0");
72 nofail = fstab_test_yes_no_option(options, "nofail\0" "fail\0");
/systemd/src/fstab-generator/
H A Dfstab-generator.c447 noauto = fstab_test_yes_no_option(me->mnt_opts, "noauto\0" "auto\0");
448 nofail = fstab_test_yes_no_option(me->mnt_opts, "nofail\0" "fail\0");

Completed in 44 milliseconds