Lines Matching refs:lookup_flags
1347 static int follow_automount(struct path *path, int *count, unsigned lookup_flags) in follow_automount() argument
1362 if (!(lookup_flags & (LOOKUP_PARENT | LOOKUP_DIRECTORY | in follow_automount()
1380 int *count, unsigned lookup_flags) in __traverse_mounts() argument
1415 ret = follow_automount(path, count, lookup_flags); in __traverse_mounts()
1433 int *count, unsigned lookup_flags) in traverse_mounts() argument
1444 return __traverse_mounts(path, flags, jumped, count, lookup_flags); in traverse_mounts()
3814 int flags = op->lookup_flags; in do_filp_open()
3833 int flags = op->lookup_flags; in do_file_open_root()
3854 struct path *path, unsigned int lookup_flags) in filename_create() argument
3858 bool want_dir = lookup_flags & LOOKUP_DIRECTORY; in filename_create()
3859 unsigned int reval_flag = lookup_flags & LOOKUP_REVAL; in filename_create()
3922 struct path *path, unsigned int lookup_flags) in kern_path_create() argument
3925 struct dentry *res = filename_create(dfd, filename, path, lookup_flags); in kern_path_create()
3942 struct path *path, unsigned int lookup_flags) in user_path_create() argument
3945 struct dentry *res = filename_create(dfd, filename, path, lookup_flags); in user_path_create()
4024 unsigned int lookup_flags = 0; in do_mknodat() local
4030 dentry = filename_create(dfd, name, &path, lookup_flags); in do_mknodat()
4059 if (retry_estale(error, lookup_flags)) { in do_mknodat()
4060 lookup_flags |= LOOKUP_REVAL; in do_mknodat()
4127 unsigned int lookup_flags = LOOKUP_DIRECTORY; in do_mkdirat() local
4130 dentry = filename_create(dfd, name, &path, lookup_flags); in do_mkdirat()
4142 if (retry_estale(error, lookup_flags)) { in do_mkdirat()
4143 lookup_flags |= LOOKUP_REVAL; in do_mkdirat()
4223 unsigned int lookup_flags = 0; in do_rmdir() local
4225 error = filename_parentat(dfd, name, lookup_flags, &path, &last, &type); in do_rmdir()
4246 dentry = lookup_one_qstr_excl(&last, path.dentry, lookup_flags); in do_rmdir()
4265 if (retry_estale(error, lookup_flags)) { in do_rmdir()
4266 lookup_flags |= LOOKUP_REVAL; in do_rmdir()
4364 unsigned int lookup_flags = 0; in do_unlinkat() local
4366 error = filename_parentat(dfd, name, lookup_flags, &path, &last, &type); in do_unlinkat()
4379 dentry = lookup_one_qstr_excl(&last, path.dentry, lookup_flags); in do_unlinkat()
4410 if (retry_estale(error, lookup_flags)) { in do_unlinkat()
4411 lookup_flags |= LOOKUP_REVAL; in do_unlinkat()
4487 unsigned int lookup_flags = 0; in do_symlinkat() local
4494 dentry = filename_create(newdfd, to, &path, lookup_flags); in do_symlinkat()
4504 if (retry_estale(error, lookup_flags)) { in do_symlinkat()
4505 lookup_flags |= LOOKUP_REVAL; in do_symlinkat()
4923 unsigned int lookup_flags = 0, target_flags = LOOKUP_RENAME_TARGET; in do_renameat2() local
4938 error = filename_parentat(olddfd, from, lookup_flags, &old_path, in do_renameat2()
4943 error = filename_parentat(newdfd, to, lookup_flags, &new_path, &new_last, in do_renameat2()
4969 lookup_flags); in do_renameat2()
4978 lookup_flags | target_flags); in do_renameat2()
5041 if (retry_estale(error, lookup_flags)) in do_renameat2()
5048 lookup_flags |= LOOKUP_REVAL; in do_renameat2()