Home
last modified time | relevance | path

Searched refs:lookup_flags (Results 1 – 12 of 12) sorted by relevance

/fs/
Dopen.c140 unsigned int lookup_flags = LOOKUP_FOLLOW; in do_sys_truncate() local
148 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in do_sys_truncate()
153 if (retry_estale(error, lookup_flags)) { in do_sys_truncate()
154 lookup_flags |= LOOKUP_REVAL; in do_sys_truncate()
370 unsigned int lookup_flags = LOOKUP_FOLLOW; in SYSCALL_DEFINE3() local
413 res = user_path_at(dfd, filename, lookup_flags, &path); in SYSCALL_DEFINE3()
449 if (retry_estale(res, lookup_flags)) { in SYSCALL_DEFINE3()
450 lookup_flags |= LOOKUP_REVAL; in SYSCALL_DEFINE3()
468 unsigned int lookup_flags = LOOKUP_FOLLOW | LOOKUP_DIRECTORY; in SYSCALL_DEFINE1() local
470 error = user_path_at(AT_FDCWD, filename, lookup_flags, &path); in SYSCALL_DEFINE1()
[all …]
Dxattr.c471 size_t size, int flags, unsigned int lookup_flags) in path_setxattr() argument
476 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_setxattr()
485 if (retry_estale(error, lookup_flags)) { in path_setxattr()
486 lookup_flags |= LOOKUP_REVAL; in path_setxattr()
569 size_t size, unsigned int lookup_flags) in path_getxattr() argument
574 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_getxattr()
579 if (retry_estale(error, lookup_flags)) { in path_getxattr()
580 lookup_flags |= LOOKUP_REVAL; in path_getxattr()
645 size_t size, unsigned int lookup_flags) in path_listxattr() argument
650 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_listxattr()
[all …]
Dstat.c171 unsigned int lookup_flags = LOOKUP_FOLLOW | LOOKUP_AUTOMOUNT; in vfs_statx() local
178 lookup_flags &= ~LOOKUP_FOLLOW; in vfs_statx()
180 lookup_flags &= ~LOOKUP_AUTOMOUNT; in vfs_statx()
182 lookup_flags |= LOOKUP_EMPTY; in vfs_statx()
185 error = user_path_at(dfd, filename, lookup_flags, &path); in vfs_statx()
191 if (retry_estale(error, lookup_flags)) { in vfs_statx()
192 lookup_flags |= LOOKUP_REVAL; in vfs_statx()
388 unsigned int lookup_flags = LOOKUP_EMPTY; in SYSCALL_DEFINE4() local
394 error = user_path_at_empty(dfd, pathname, lookup_flags, &path, &empty); in SYSCALL_DEFINE4()
410 if (retry_estale(error, lookup_flags)) { in SYSCALL_DEFINE4()
[all …]
Dutimes.c147 int lookup_flags = 0; in do_utimes() local
150 lookup_flags |= LOOKUP_FOLLOW; in do_utimes()
152 error = user_path_at(dfd, filename, lookup_flags, &path); in do_utimes()
158 if (retry_estale(error, lookup_flags)) { in do_utimes()
159 lookup_flags |= LOOKUP_REVAL; in do_utimes()
Dfhandle.c99 int lookup_flags; in SYSCALL_DEFINE5() local
105 lookup_flags = (flag & AT_SYMLINK_FOLLOW) ? LOOKUP_FOLLOW : 0; in SYSCALL_DEFINE5()
107 lookup_flags |= LOOKUP_EMPTY; in SYSCALL_DEFINE5()
108 err = user_path_at(dfd, name, lookup_flags, &path); in SYSCALL_DEFINE5()
Dnamei.c3630 int flags = op->lookup_flags; in do_filp_open()
3649 int flags = op->lookup_flags | LOOKUP_ROOT; in do_file_open_root()
3673 struct path *path, unsigned int lookup_flags) in filename_create() argument
3680 bool is_dir = (lookup_flags & LOOKUP_DIRECTORY); in filename_create()
3686 lookup_flags &= LOOKUP_REVAL; in filename_create()
3688 name = filename_parentat(dfd, name, lookup_flags, path, &last, &type); in filename_create()
3704 lookup_flags |= LOOKUP_CREATE | LOOKUP_EXCL; in filename_create()
3706 dentry = __lookup_hash(&last, path->dentry, lookup_flags); in filename_create()
3744 struct path *path, unsigned int lookup_flags) in kern_path_create() argument
3747 path, lookup_flags); in kern_path_create()
[all …]
Dstatfs.c85 unsigned int lookup_flags = LOOKUP_FOLLOW|LOOKUP_AUTOMOUNT; in user_statfs() local
87 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in user_statfs()
91 if (retry_estale(error, lookup_flags)) { in user_statfs()
92 lookup_flags |= LOOKUP_REVAL; in user_statfs()
Dexec.c130 .lookup_flags = LOOKUP_FOLLOW, in SYSCALL_DEFINE1()
839 .lookup_flags = LOOKUP_FOLLOW, in do_open_execat()
845 open_exec_flags.lookup_flags &= ~LOOKUP_FOLLOW; in do_open_execat()
847 open_exec_flags.lookup_flags |= LOOKUP_EMPTY; in do_open_execat()
1937 int lookup_flags = (flags & AT_EMPTY_PATH) ? LOOKUP_EMPTY : 0; in SYSCALL_DEFINE5() local
1940 getname_flags(filename, lookup_flags, NULL), in SYSCALL_DEFINE5()
1958 int lookup_flags = (flags & AT_EMPTY_PATH) ? LOOKUP_EMPTY : 0; in COMPAT_SYSCALL_DEFINE5() local
1961 getname_flags(filename, lookup_flags, NULL), in COMPAT_SYSCALL_DEFINE5()
Dinternal.h108 int lookup_flags; member
Dnamespace.c1737 int lookup_flags = 0; in SYSCALL_DEFINE2() local
1746 lookup_flags |= LOOKUP_FOLLOW; in SYSCALL_DEFINE2()
1748 retval = user_path_mountpoint_at(AT_FDCWD, name, lookup_flags, &path); in SYSCALL_DEFINE2()
/fs/notify/fanotify/
Dfanotify_user.c485 unsigned int lookup_flags = 0; in fanotify_find_path() local
488 lookup_flags |= LOOKUP_FOLLOW; in fanotify_find_path()
490 lookup_flags |= LOOKUP_DIRECTORY; in fanotify_find_path()
492 ret = user_path_at(dfd, filename, lookup_flags, path); in fanotify_find_path()
/fs/nfs/
Ddir.c1509 unsigned int lookup_flags = 0; in nfs_atomic_open() local
1533 lookup_flags = LOOKUP_OPEN|LOOKUP_DIRECTORY; in nfs_atomic_open()
1607 res = nfs_lookup(dir, dentry, lookup_flags); in nfs_atomic_open()