• Home
  • Raw
  • Download

Lines Matching refs:lookup_flags

3672 	int flags = op->lookup_flags;  in do_filp_open()
3691 int flags = op->lookup_flags | LOOKUP_ROOT; in do_file_open_root()
3715 struct path *path, unsigned int lookup_flags) in filename_create() argument
3722 bool is_dir = (lookup_flags & LOOKUP_DIRECTORY); in filename_create()
3728 lookup_flags &= LOOKUP_REVAL; in filename_create()
3730 name = filename_parentat(dfd, name, lookup_flags, path, &last, &type); in filename_create()
3746 lookup_flags |= LOOKUP_CREATE | LOOKUP_EXCL; in filename_create()
3748 dentry = __lookup_hash(&last, path->dentry, lookup_flags); in filename_create()
3786 struct path *path, unsigned int lookup_flags) in kern_path_create() argument
3789 path, lookup_flags); in kern_path_create()
3803 struct path *path, unsigned int lookup_flags) in user_path_create() argument
3805 return filename_create(dfd, getname(pathname), path, lookup_flags); in user_path_create()
3866 unsigned int lookup_flags = 0; in do_mknodat() local
3872 dentry = user_path_create(dfd, filename, &path, lookup_flags); in do_mknodat()
3897 if (retry_estale(error, lookup_flags)) { in do_mknodat()
3898 lookup_flags |= LOOKUP_REVAL; in do_mknodat()
3952 unsigned int lookup_flags = LOOKUP_DIRECTORY; in do_mkdirat() local
3955 dentry = user_path_create(dfd, pathname, &path, lookup_flags); in do_mkdirat()
3965 if (retry_estale(error, lookup_flags)) { in do_mkdirat()
3966 lookup_flags |= LOOKUP_REVAL; in do_mkdirat()
4036 unsigned int lookup_flags = 0; in do_rmdir() local
4038 name = filename_parentat(dfd, getname(pathname), lookup_flags, in do_rmdir()
4060 dentry = __lookup_hash(&last, path.dentry, lookup_flags); in do_rmdir()
4080 if (retry_estale(error, lookup_flags)) { in do_rmdir()
4081 lookup_flags |= LOOKUP_REVAL; in do_rmdir()
4172 unsigned int lookup_flags = 0; in do_unlinkat() local
4174 name = filename_parentat(dfd, name, lookup_flags, &path, &last, &type); in do_unlinkat()
4187 dentry = __lookup_hash(&last, path.dentry, lookup_flags); in do_unlinkat()
4216 if (retry_estale(error, lookup_flags)) { in do_unlinkat()
4217 lookup_flags |= LOOKUP_REVAL; in do_unlinkat()
4284 unsigned int lookup_flags = 0; in do_symlinkat() local
4290 dentry = user_path_create(newdfd, newname, &path, lookup_flags); in do_symlinkat()
4299 if (retry_estale(error, lookup_flags)) { in do_symlinkat()
4300 lookup_flags |= LOOKUP_REVAL; in do_symlinkat()
4685 unsigned int lookup_flags = 0, target_flags = LOOKUP_RENAME_TARGET; in do_renameat2() local
4703 from = filename_parentat(olddfd, getname(oldname), lookup_flags, in do_renameat2()
4710 to = filename_parentat(newdfd, getname(newname), lookup_flags, in do_renameat2()
4737 old_dentry = __lookup_hash(&old_last, old_path.dentry, lookup_flags); in do_renameat2()
4745 new_dentry = __lookup_hash(&new_last, new_path.dentry, lookup_flags | target_flags); in do_renameat2()
4801 if (retry_estale(error, lookup_flags)) in do_renameat2()
4810 lookup_flags |= LOOKUP_REVAL; in do_renameat2()