Searched refs:filename_is_valid (Results 1 – 25 of 45) sorted by relevance
12
879 TEST(filename_is_valid) { in TEST() argument882 assert_se(!filename_is_valid("")); in TEST()883 assert_se(!filename_is_valid("/bar/foo")); in TEST()884 assert_se(!filename_is_valid("/")); in TEST()885 assert_se(!filename_is_valid(".")); in TEST()886 assert_se(!filename_is_valid("..")); in TEST()887 assert_se(!filename_is_valid("bar/foo")); in TEST()888 assert_se(!filename_is_valid("bar/foo/")); in TEST()889 assert_se(!filename_is_valid("bar//")); in TEST()894 assert_se(!filename_is_valid(foo)); in TEST()[all …]
127 if (!filename_is_valid(volume)) in run()180 if (!filename_is_valid(volume)) in run()
153 if (!filename_is_valid(volume)) in run()220 if (!filename_is_valid(volume)) in run()
10 if (!filename_is_valid(s)) in version_is_valid()
115 if (!filename_is_valid(nf)) /* New name is not valid? (Maybe because too long?) Refuse. */ in tempfn_xxxxxx()157 if (!filename_is_valid(nf)) /* Not valid? (maybe because too long now?) — refuse early */ in tempfn_random()
151 return filename_is_valid(s); in filename_possibly_with_slash_suffix()160 return filename_is_valid(copied); in filename_possibly_with_slash_suffix()
114 if (!filename_is_valid(s)) in log_namespace_name_valid()
157 bool filename_is_valid(const char *p) _pure_;
247 if (!filename_is_valid(name)) in locale_is_valid()
22 if (!filename_is_valid(s)) in image_name_is_valid()
216 if (!filename_is_valid(bn)) in mkdir_p_root()
982 if (!filename_is_valid(ss)) in parse_cifs_service()1034 if (!filename_is_valid(path)) { in open_mkdir_at()
119 …if (!filename_is_valid(j)) /* Doesn't qualify as valid filename? Then it's definitely not provided… in dropin_user_record_by_name()263 …if (!filename_is_valid(j)) /* Doesn't qualify as valid filename? Then it's definitely not provided… in dropin_group_record_by_name()
93 if (!filename_is_valid(fn)) in make_lock_file_for()
123 if (!filename_is_valid(name)) in keymap_is_valid()
23 if (!filename_is_valid(mkfs)) /* refuse file system types with slashes and similar */ in mkfs_exists()
255 if (!filename_is_valid(s)) /* Make sure entry names fit in filenames */ in efi_loader_entry_name_valid()
43 if (!filename_is_valid(b)) in drop_in_file()
394 if (!filename_is_valid(name)) in rm_rf_child()
50 if (!filename_is_valid(rulename) || in apply_rule()
361 if (!filename_is_valid(e)) { in server_process_native_file()
152 if (!filename_is_valid(name)) in extract_prefix()1340 if (!filename_is_valid(optarg)) in parse_argv()
1124 if (!filename_is_valid(escaped)) in acquire_mount_where()1254 if (!filename_is_valid(escaped)) in discover_loop_backing_file()
473 if (!filename_is_valid(combined)) { in mount_legacy_cgns_unsupported()
351 if (!filename_is_valid(fn)) in verify_one()