Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/
A Dopen.c139 lookup_flags |= LOOKUP_REVAL; in do_sys_truncate()
474 lookup_flags |= LOOKUP_EMPTY; in do_faccessat()
519 lookup_flags |= LOOKUP_REVAL; in do_faccessat()
564 lookup_flags |= LOOKUP_REVAL; in SYSCALL_DEFINE1()
619 lookup_flags |= LOOKUP_REVAL; in SYSCALL_DEFINE1()
685 lookup_flags |= LOOKUP_REVAL; in do_fchmodat()
790 int lookup_flags; in do_fchownat() local
797 lookup_flags |= LOOKUP_EMPTY; in do_fchownat()
810 lookup_flags |= LOOKUP_REVAL; in do_fchownat()
1160 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 Dutimes.c84 int lookup_flags = 0, error; in do_utimes_path() local
90 lookup_flags |= LOOKUP_FOLLOW; in do_utimes_path()
92 lookup_flags |= LOOKUP_EMPTY; in do_utimes_path()
95 error = user_path_at(dfd, filename, lookup_flags, &path); in do_utimes_path()
101 if (retry_estale(error, lookup_flags)) { in do_utimes_path()
102 lookup_flags |= LOOKUP_REVAL; in do_utimes_path()
A Dstat.c199 int lookup_flags = 0; in getname_statx_lookup_flags() local
202 lookup_flags |= LOOKUP_FOLLOW; in getname_statx_lookup_flags()
204 lookup_flags |= LOOKUP_AUTOMOUNT; in getname_statx_lookup_flags()
206 lookup_flags |= LOOKUP_EMPTY; in getname_statx_lookup_flags()
208 return lookup_flags; in getname_statx_lookup_flags()
230 unsigned int lookup_flags = getname_statx_lookup_flags(flags); in vfs_statx() local
260 if (retry_estale(error, lookup_flags)) { in vfs_statx()
261 lookup_flags |= LOOKUP_REVAL; in vfs_statx()
471 unsigned int lookup_flags = LOOKUP_EMPTY; in do_readlinkat() local
493 if (retry_estale(error, lookup_flags)) { in do_readlinkat()
[all …]
A Dxattr.c640 size_t size, int flags, unsigned int lookup_flags) in path_setxattr() argument
656 if (retry_estale(error, lookup_flags)) { in path_setxattr()
657 lookup_flags |= LOOKUP_REVAL; in path_setxattr()
759 size_t size, unsigned int lookup_flags) in path_getxattr() argument
769 if (retry_estale(error, lookup_flags)) { in path_getxattr()
770 lookup_flags |= LOOKUP_REVAL; in path_getxattr()
836 size_t size, unsigned int lookup_flags) in path_listxattr() argument
846 if (retry_estale(error, lookup_flags)) { in path_listxattr()
847 lookup_flags |= LOOKUP_REVAL; in path_listxattr()
915 if (retry_estale(error, lookup_flags)) { in path_removexattr()
[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.c3738 int flags = op->lookup_flags; in do_filp_open()
3757 int flags = op->lookup_flags; in do_file_open_root()
3947 unsigned int lookup_flags = 0; in do_mknodat() local
3983 lookup_flags |= LOOKUP_REVAL; in do_mknodat()
4066 lookup_flags |= LOOKUP_REVAL; in do_mkdirat()
4146 unsigned int lookup_flags = 0; in do_rmdir() local
4189 lookup_flags |= LOOKUP_REVAL; in do_rmdir()
4287 unsigned int lookup_flags = 0; in do_unlinkat() local
4334 lookup_flags |= LOOKUP_REVAL; in do_unlinkat()
4410 unsigned int lookup_flags = 0; in do_symlinkat() local
[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.c82 unsigned int lookup_flags; member
1814 int lookup_flags = LOOKUP_MOUNTPOINT; in ksys_umount() local
1823 lookup_flags |= LOOKUP_FOLLOW; in ksys_umount()
2510 int lookup_flags = LOOKUP_AUTOMOUNT | LOOKUP_FOLLOW; in SYSCALL_DEFINE3() local
2526 lookup_flags &= ~LOOKUP_AUTOMOUNT; in SYSCALL_DEFINE3()
2528 lookup_flags &= ~LOOKUP_FOLLOW; in SYSCALL_DEFINE3()
2530 lookup_flags |= LOOKUP_EMPTY; in SYSCALL_DEFINE3()
4264 lookup_flags &= ~LOOKUP_AUTOMOUNT; in build_mount_kattr()
4266 lookup_flags &= ~LOOKUP_FOLLOW; in build_mount_kattr()
4268 lookup_flags |= LOOKUP_EMPTY; in build_mount_kattr()
[all …]
A Dinternal.h133 int lookup_flags; member
A Dexec.c132 .lookup_flags = LOOKUP_FOLLOW, in SYSCALL_DEFINE1()
908 .lookup_flags = LOOKUP_FOLLOW, in do_open_execat()
914 open_exec_flags.lookup_flags &= ~LOOKUP_FOLLOW; in do_open_execat()
916 open_exec_flags.lookup_flags |= LOOKUP_EMPTY; in do_open_execat()
/linux-6.3-rc2/io_uring/
A Dxattr.c126 unsigned int lookup_flags = LOOKUP_FOLLOW; in io_getxattr() local
133 ret = filename_lookup(AT_FDCWD, ix->filename, lookup_flags, &path, NULL); in io_getxattr()
138 if (retry_estale(ret, lookup_flags)) { in io_getxattr()
139 lookup_flags |= LOOKUP_REVAL; in io_getxattr()
235 unsigned int lookup_flags = LOOKUP_FOLLOW; in io_setxattr() local
242 ret = filename_lookup(AT_FDCWD, ix->filename, lookup_flags, &path, NULL); in io_setxattr()
246 if (retry_estale(ret, lookup_flags)) { in io_setxattr()
247 lookup_flags |= LOOKUP_REVAL; in io_setxattr()
A Dopenclose.c123 op.lookup_flags |= LOOKUP_CACHED; in io_openat2()
/linux-6.3-rc2/net/ipv6/netfilter/
A Dip6t_rpfilter.c46 int lookup_flags; in rpfilter_lookup_reverse6() local
50 lookup_flags = RT6_LOOKUP_F_HAS_SADDR; in rpfilter_lookup_reverse6()
52 lookup_flags = 0; in rpfilter_lookup_reverse6()
58 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()
A Dnft_fib_ipv6.c27 int lookup_flags = 0; in nft_fib6_flowi_init() local
42 lookup_flags |= RT6_LOOKUP_F_IFACE; in nft_fib6_flowi_init()
49 lookup_flags |= RT6_LOOKUP_F_HAS_SADDR; in nft_fib6_flowi_init()
56 return lookup_flags; in nft_fib6_flowi_init()
170 int lookup_flags; in nft_fib6_eval() local
183 lookup_flags = nft_fib6_flowi_init(&fl6, priv, pkt, oif, iph); in nft_fib6_eval()
196 lookup_flags); in nft_fib6_eval()
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dfib_lookup.c33 int lookup_flags; member
45 .lookup_flags = BPF_FIB_LOOKUP_SKIP_NEIGH, },
53 .lookup_flags = BPF_FIB_LOOKUP_SKIP_NEIGH, },
162 skel->bss->lookup_flags = BPF_FIB_LOOKUP_OUTPUT | in test_fib_lookup()
163 tests[i].lookup_flags; in test_fib_lookup()
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dfib_lookup.c11 int lookup_flags = 0; variable
17 lookup_flags); in fib_lookup()
/linux-6.3-rc2/fs/notify/fanotify/
A Dfanotify_user.c1019 unsigned int lookup_flags = 0; in fanotify_find_path() local
1022 lookup_flags |= LOOKUP_FOLLOW; in fanotify_find_path()
1024 lookup_flags |= LOOKUP_DIRECTORY; in fanotify_find_path()
1026 ret = user_path_at(dfd, filename, lookup_flags, path); in fanotify_find_path()
/linux-6.3-rc2/fs/nfs/
A Ddir.c2047 unsigned int lookup_flags = 0; in nfs_atomic_open() local
2073 lookup_flags = LOOKUP_OPEN|LOOKUP_DIRECTORY; in nfs_atomic_open()
2154 res = nfs_lookup(dir, dentry, lookup_flags); in nfs_atomic_open()
2157 if ((lookup_flags & LOOKUP_DIRECTORY) && inode && in nfs_atomic_open()
2164 if ((lookup_flags & LOOKUP_DIRECTORY) && inode && in nfs_atomic_open()

Completed in 54 milliseconds