Lines Matching refs:lookup_flags
3350 int flags = op->lookup_flags; in do_filp_open()
3369 int flags = op->lookup_flags | LOOKUP_ROOT; in do_file_open_root()
3393 struct path *path, unsigned int lookup_flags) in filename_create() argument
3400 bool is_dir = (lookup_flags & LOOKUP_DIRECTORY); in filename_create()
3406 lookup_flags &= LOOKUP_REVAL; in filename_create()
3408 name = filename_parentat(dfd, name, lookup_flags, path, &last, &type); in filename_create()
3424 lookup_flags |= LOOKUP_CREATE | LOOKUP_EXCL; in filename_create()
3426 dentry = __lookup_hash(&last, path->dentry, lookup_flags); in filename_create()
3464 struct path *path, unsigned int lookup_flags) in kern_path_create() argument
3467 path, lookup_flags); in kern_path_create()
3481 struct path *path, unsigned int lookup_flags) in user_path_create() argument
3483 return filename_create(dfd, getname(pathname), path, lookup_flags); in user_path_create()
3538 unsigned int lookup_flags = 0; in SYSCALL_DEFINE4() local
3544 dentry = user_path_create(dfd, filename, &path, lookup_flags); in SYSCALL_DEFINE4()
3567 if (retry_estale(error, lookup_flags)) { in SYSCALL_DEFINE4()
3568 lookup_flags |= LOOKUP_REVAL; in SYSCALL_DEFINE4()
3610 unsigned int lookup_flags = LOOKUP_DIRECTORY; in SYSCALL_DEFINE3() local
3613 dentry = user_path_create(dfd, pathname, &path, lookup_flags); in SYSCALL_DEFINE3()
3623 if (retry_estale(error, lookup_flags)) { in SYSCALL_DEFINE3()
3624 lookup_flags |= LOOKUP_REVAL; in SYSCALL_DEFINE3()
3707 unsigned int lookup_flags = 0; in do_rmdir() local
3710 &path, &last, &type, lookup_flags); in do_rmdir()
3731 dentry = __lookup_hash(&last, path.dentry, lookup_flags); in do_rmdir()
3751 if (retry_estale(error, lookup_flags)) { in do_rmdir()
3752 lookup_flags |= LOOKUP_REVAL; in do_rmdir()
3837 unsigned int lookup_flags = 0; in do_unlinkat() local
3840 &path, &last, &type, lookup_flags); in do_unlinkat()
3853 dentry = __lookup_hash(&last, path.dentry, lookup_flags); in do_unlinkat()
3883 if (retry_estale(error, lookup_flags)) { in do_unlinkat()
3884 lookup_flags |= LOOKUP_REVAL; in do_unlinkat()
3944 unsigned int lookup_flags = 0; in SYSCALL_DEFINE3() local
3950 dentry = user_path_create(newdfd, newname, &path, lookup_flags); in SYSCALL_DEFINE3()
3959 if (retry_estale(error, lookup_flags)) { in SYSCALL_DEFINE3()
3960 lookup_flags |= LOOKUP_REVAL; in SYSCALL_DEFINE3()
4323 unsigned int lookup_flags = 0, target_flags = LOOKUP_RENAME_TARGET; in SYSCALL_DEFINE5() local
4342 &old_path, &old_last, &old_type, lookup_flags); in SYSCALL_DEFINE5()
4349 &new_path, &new_last, &new_type, lookup_flags); in SYSCALL_DEFINE5()
4375 old_dentry = __lookup_hash(&old_last, old_path.dentry, lookup_flags); in SYSCALL_DEFINE5()
4383 new_dentry = __lookup_hash(&new_last, new_path.dentry, lookup_flags | target_flags); in SYSCALL_DEFINE5()
4439 if (retry_estale(error, lookup_flags)) in SYSCALL_DEFINE5()
4448 lookup_flags |= LOOKUP_REVAL; in SYSCALL_DEFINE5()