/fs/ |
D | open.c | 130 unsigned int lookup_flags = LOOKUP_FOLLOW; in do_sys_truncate() local 138 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in do_sys_truncate() 143 if (retry_estale(error, lookup_flags)) { in do_sys_truncate() 144 lookup_flags |= LOOKUP_REVAL; in do_sys_truncate() 365 unsigned int lookup_flags = LOOKUP_FOLLOW; in do_faccessat() local 408 res = user_path_at(dfd, filename, lookup_flags, &path); in do_faccessat() 444 if (retry_estale(res, lookup_flags)) { in do_faccessat() 445 lookup_flags |= LOOKUP_REVAL; in do_faccessat() 468 unsigned int lookup_flags = LOOKUP_FOLLOW | LOOKUP_DIRECTORY; in ksys_chdir() local 470 error = user_path_at(AT_FDCWD, filename, lookup_flags, &path); in ksys_chdir() [all …]
|
D | xattr.c | 460 size_t size, int flags, unsigned int lookup_flags) in path_setxattr() argument 465 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_setxattr() 474 if (retry_estale(error, lookup_flags)) { in path_setxattr() 475 lookup_flags |= LOOKUP_REVAL; in path_setxattr() 558 size_t size, unsigned int lookup_flags) in path_getxattr() argument 563 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_getxattr() 568 if (retry_estale(error, lookup_flags)) { in path_getxattr() 569 lookup_flags |= LOOKUP_REVAL; in path_getxattr() 634 size_t size, unsigned int lookup_flags) in path_listxattr() argument 639 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_listxattr() [all …]
|
D | stat.c | 173 unsigned int lookup_flags = LOOKUP_FOLLOW | LOOKUP_AUTOMOUNT; in vfs_statx() local 180 lookup_flags &= ~LOOKUP_FOLLOW; in vfs_statx() 182 lookup_flags &= ~LOOKUP_AUTOMOUNT; in vfs_statx() 184 lookup_flags |= LOOKUP_EMPTY; in vfs_statx() 187 error = user_path_at(dfd, filename, lookup_flags, &path); in vfs_statx() 193 if (retry_estale(error, lookup_flags)) { in vfs_statx() 194 lookup_flags |= LOOKUP_REVAL; in vfs_statx() 393 unsigned int lookup_flags = LOOKUP_EMPTY; in do_readlinkat() local 399 error = user_path_at_empty(dfd, pathname, lookup_flags, &path, &empty); in do_readlinkat() 415 if (retry_estale(error, lookup_flags)) { in do_readlinkat() [all …]
|
D | utimes.c | 116 int lookup_flags = 0; in do_utimes() local 119 lookup_flags |= LOOKUP_FOLLOW; in do_utimes() 121 error = user_path_at(dfd, filename, lookup_flags, &path); in do_utimes() 127 if (retry_estale(error, lookup_flags)) { in do_utimes() 128 lookup_flags |= LOOKUP_REVAL; in do_utimes()
|
D | fsopen.c | 162 unsigned int lookup_flags; in SYSCALL_DEFINE3() local 174 lookup_flags = LOOKUP_FOLLOW | LOOKUP_AUTOMOUNT; in SYSCALL_DEFINE3() 176 lookup_flags &= ~LOOKUP_FOLLOW; in SYSCALL_DEFINE3() 178 lookup_flags &= ~LOOKUP_AUTOMOUNT; in SYSCALL_DEFINE3() 180 lookup_flags |= LOOKUP_EMPTY; in SYSCALL_DEFINE3() 181 ret = user_path_at(dfd, path, lookup_flags, &target); in SYSCALL_DEFINE3()
|
D | fhandle.c | 98 int lookup_flags; in SYSCALL_DEFINE5() local 104 lookup_flags = (flag & AT_SYMLINK_FOLLOW) ? LOOKUP_FOLLOW : 0; in SYSCALL_DEFINE5() 106 lookup_flags |= LOOKUP_EMPTY; in SYSCALL_DEFINE5() 107 err = user_path_at(dfd, name, lookup_flags, &path); in SYSCALL_DEFINE5()
|
D | namei.c | 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() [all …]
|
D | statfs.c | 99 unsigned int lookup_flags = LOOKUP_FOLLOW|LOOKUP_AUTOMOUNT; in user_statfs() local 101 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in user_statfs() 105 if (retry_estale(error, lookup_flags)) { in user_statfs() 106 lookup_flags |= LOOKUP_REVAL; in user_statfs()
|
D | exec.c | 131 .lookup_flags = LOOKUP_FOLLOW, in SYSCALL_DEFINE1() 847 .lookup_flags = LOOKUP_FOLLOW, in do_open_execat() 853 open_exec_flags.lookup_flags &= ~LOOKUP_FOLLOW; in do_open_execat() 855 open_exec_flags.lookup_flags |= LOOKUP_EMPTY; in do_open_execat() 1970 int lookup_flags = (flags & AT_EMPTY_PATH) ? LOOKUP_EMPTY : 0; in SYSCALL_DEFINE5() local 1973 getname_flags(filename, lookup_flags, NULL), in SYSCALL_DEFINE5() 1991 int lookup_flags = (flags & AT_EMPTY_PATH) ? LOOKUP_EMPTY : 0; in COMPAT_SYSCALL_DEFINE5() local 1994 getname_flags(filename, lookup_flags, NULL), in COMPAT_SYSCALL_DEFINE5()
|
D | internal.h | 119 int lookup_flags; member
|
D | namespace.c | 1694 int lookup_flags = 0; in ksys_umount() local 1703 lookup_flags |= LOOKUP_FOLLOW; in ksys_umount() 1705 retval = user_path_mountpoint_at(AT_FDCWD, name, lookup_flags, &path); in ksys_umount() 2385 int lookup_flags = LOOKUP_AUTOMOUNT | LOOKUP_FOLLOW; in SYSCALL_DEFINE3() local 2401 lookup_flags &= ~LOOKUP_AUTOMOUNT; in SYSCALL_DEFINE3() 2403 lookup_flags &= ~LOOKUP_FOLLOW; in SYSCALL_DEFINE3() 2405 lookup_flags |= LOOKUP_EMPTY; in SYSCALL_DEFINE3() 2414 error = user_path_at(dfd, filename, lookup_flags, &path); in SYSCALL_DEFINE3()
|
/fs/notify/fanotify/ |
D | fanotify_user.c | 557 unsigned int lookup_flags = 0; in fanotify_find_path() local 560 lookup_flags |= LOOKUP_FOLLOW; in fanotify_find_path() 562 lookup_flags |= LOOKUP_DIRECTORY; in fanotify_find_path() 564 ret = user_path_at(dfd, filename, lookup_flags, path); in fanotify_find_path()
|
/fs/nfs/ |
D | dir.c | 1504 unsigned int lookup_flags = 0; in nfs_atomic_open() local 1529 lookup_flags = LOOKUP_OPEN|LOOKUP_DIRECTORY; in nfs_atomic_open() 1605 res = nfs_lookup(dir, dentry, lookup_flags); in nfs_atomic_open()
|