Home
last modified time | relevance | path

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

/linux/fs/
A Dopen.c137 lookup_flags |= LOOKUP_REVAL; in do_sys_truncate()
412 lookup_flags |= LOOKUP_EMPTY; in do_faccessat()
457 lookup_flags |= LOOKUP_REVAL; in do_faccessat()
502 lookup_flags |= LOOKUP_REVAL; in SYSCALL_DEFINE1()
557 lookup_flags |= LOOKUP_REVAL; in SYSCALL_DEFINE1()
623 lookup_flags |= LOOKUP_REVAL; in do_fchmodat()
694 int lookup_flags; in do_fchownat() local
701 lookup_flags |= LOOKUP_EMPTY; in do_fchownat()
714 lookup_flags |= LOOKUP_REVAL; in do_fchownat()
1024 int lookup_flags = 0; in build_open_flags() local
[all …]
A Dfsopen.c162 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()
324 int lookup_flags = 0; in SYSCALL_DEFINE5() local
414 lookup_flags = LOOKUP_EMPTY; in SYSCALL_DEFINE5()
418 param.name = getname_flags(_value, lookup_flags, NULL); in SYSCALL_DEFINE5()
A Dinit.c32 int lookup_flags = LOOKUP_MOUNTPOINT; in init_umount() local
37 lookup_flags |= LOOKUP_FOLLOW; in init_umount()
38 ret = kern_path(name, lookup_flags, &path); in init_umount()
84 int lookup_flags = (flags & AT_SYMLINK_NOFOLLOW) ? 0 : LOOKUP_FOLLOW; in init_chown() local
88 error = kern_path(filename, lookup_flags, &path); in init_chown()
128 int lookup_flags = (flags & AT_SYMLINK_NOFOLLOW) ? 0 : LOOKUP_FOLLOW; in init_stat() local
132 error = kern_path(filename, lookup_flags, &path); in init_stat()
A Dxattr.c584 size_t size, int flags, unsigned int lookup_flags) in path_setxattr() argument
600 if (retry_estale(error, lookup_flags)) { in path_setxattr()
601 lookup_flags |= LOOKUP_REVAL; in path_setxattr()
686 size_t size, unsigned int lookup_flags) in path_getxattr() argument
696 if (retry_estale(error, lookup_flags)) { in path_getxattr()
697 lookup_flags |= LOOKUP_REVAL; in path_getxattr()
763 size_t size, unsigned int lookup_flags) in path_listxattr() argument
773 if (retry_estale(error, lookup_flags)) { in path_listxattr()
774 lookup_flags |= LOOKUP_REVAL; in path_listxattr()
839 if (retry_estale(error, lookup_flags)) { in path_removexattr()
[all …]
A Dutimes.c83 int lookup_flags = 0, error; in do_utimes_path() local
89 lookup_flags |= LOOKUP_FOLLOW; in do_utimes_path()
91 lookup_flags |= LOOKUP_EMPTY; in do_utimes_path()
94 error = user_path_at(dfd, filename, lookup_flags, &path); in do_utimes_path()
100 if (retry_estale(error, lookup_flags)) { in do_utimes_path()
101 lookup_flags |= LOOKUP_REVAL; in do_utimes_path()
A Dstat.c206 unsigned lookup_flags = 0; in vfs_statx() local
214 lookup_flags |= LOOKUP_FOLLOW; in vfs_statx()
216 lookup_flags |= LOOKUP_AUTOMOUNT; in vfs_statx()
218 lookup_flags |= LOOKUP_EMPTY; in vfs_statx()
221 error = user_path_at(dfd, filename, lookup_flags, &path); in vfs_statx()
232 if (retry_estale(error, lookup_flags)) { in vfs_statx()
233 lookup_flags |= LOOKUP_REVAL; in vfs_statx()
437 unsigned int lookup_flags = LOOKUP_EMPTY; in do_readlinkat() local
443 error = user_path_at_empty(dfd, pathname, lookup_flags, &path, &empty); in do_readlinkat()
459 if (retry_estale(error, lookup_flags)) { in do_readlinkat()
[all …]
A Dfhandle.c98 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()
A Dnamei.c3582 int flags = op->lookup_flags; in do_filp_open()
3601 int flags = op->lookup_flags; in do_file_open_root()
3635 lookup_flags &= LOOKUP_REVAL; in filename_create()
3792 unsigned int lookup_flags = 0; in do_mknodat() local
3829 lookup_flags |= LOOKUP_REVAL; in do_mknodat()
3914 lookup_flags |= LOOKUP_REVAL; in do_mkdirat()
3995 unsigned int lookup_flags = 0; in do_rmdir() local
4039 lookup_flags |= LOOKUP_REVAL; in do_rmdir()
4136 unsigned int lookup_flags = 0; in do_unlinkat() local
4185 lookup_flags |= LOOKUP_REVAL; in do_unlinkat()
[all …]
A Dstatfs.c101 unsigned int lookup_flags = LOOKUP_FOLLOW|LOOKUP_AUTOMOUNT; in user_statfs() local
103 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in user_statfs()
107 if (retry_estale(error, lookup_flags)) { in user_statfs()
108 lookup_flags |= LOOKUP_REVAL; in user_statfs()
A Dnamespace.c81 unsigned int lookup_flags; member
1763 int lookup_flags = LOOKUP_MOUNTPOINT; in ksys_umount() local
1772 lookup_flags |= LOOKUP_FOLLOW; in ksys_umount()
2458 int lookup_flags = LOOKUP_AUTOMOUNT | LOOKUP_FOLLOW; in SYSCALL_DEFINE3() local
2474 lookup_flags &= ~LOOKUP_AUTOMOUNT; in SYSCALL_DEFINE3()
2476 lookup_flags &= ~LOOKUP_FOLLOW; in SYSCALL_DEFINE3()
2478 lookup_flags |= LOOKUP_EMPTY; in SYSCALL_DEFINE3()
4159 lookup_flags &= ~LOOKUP_AUTOMOUNT; in build_mount_kattr()
4161 lookup_flags &= ~LOOKUP_FOLLOW; in build_mount_kattr()
4163 lookup_flags |= LOOKUP_EMPTY; in build_mount_kattr()
[all …]
A Dinternal.h120 int lookup_flags; member
A Dexec.c132 .lookup_flags = LOOKUP_FOLLOW, in SYSCALL_DEFINE1()
902 .lookup_flags = LOOKUP_FOLLOW, in do_open_execat()
908 open_exec_flags.lookup_flags &= ~LOOKUP_FOLLOW; in do_open_execat()
910 open_exec_flags.lookup_flags |= LOOKUP_EMPTY; in do_open_execat()
A Dio_uring.c4284 op.lookup_flags |= LOOKUP_CACHED; in io_openat2()
/linux/net/ipv6/netfilter/
A Dnft_fib_ipv6.c27 int lookup_flags = 0; in nft_fib6_flowi_init() local
38 lookup_flags |= RT6_LOOKUP_F_IFACE; in nft_fib6_flowi_init()
43 lookup_flags |= RT6_LOOKUP_F_HAS_SADDR; in nft_fib6_flowi_init()
50 return lookup_flags; in nft_fib6_flowi_init()
162 int lookup_flags; in nft_fib6_eval() local
175 lookup_flags = nft_fib6_flowi_init(&fl6, priv, pkt, oif, iph); in nft_fib6_eval()
188 lookup_flags); in nft_fib6_eval()
A Dip6t_rpfilter.c44 int lookup_flags; in rpfilter_lookup_reverse6() local
48 lookup_flags = RT6_LOOKUP_F_HAS_SADDR; in rpfilter_lookup_reverse6()
50 lookup_flags = 0; in rpfilter_lookup_reverse6()
56 lookup_flags |= RT6_LOOKUP_F_IFACE; in rpfilter_lookup_reverse6()
63 rt = (void *)ip6_route_lookup(net, &fl6, skb, lookup_flags); in rpfilter_lookup_reverse6()
/linux/fs/notify/fanotify/
A Dfanotify_user.c930 unsigned int lookup_flags = 0; in fanotify_find_path() local
933 lookup_flags |= LOOKUP_FOLLOW; in fanotify_find_path()
935 lookup_flags |= LOOKUP_DIRECTORY; in fanotify_find_path()
937 ret = user_path_at(dfd, filename, lookup_flags, path); in fanotify_find_path()
/linux/fs/nfs/
A Ddir.c1868 unsigned int lookup_flags = 0; in nfs_atomic_open() local
1893 lookup_flags = LOOKUP_OPEN|LOOKUP_DIRECTORY; in nfs_atomic_open()
1969 res = nfs_lookup(dir, dentry, lookup_flags); in nfs_atomic_open()

Completed in 72 milliseconds