/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | fib_lookup.c | 34 int lookup_flags; member 47 .lookup_flags = BPF_FIB_LOOKUP_SKIP_NEIGH, }, 55 .lookup_flags = BPF_FIB_LOOKUP_SKIP_NEIGH, }, 58 .lookup_flags = BPF_FIB_LOOKUP_DIRECT | BPF_FIB_LOOKUP_TBID, 62 .lookup_flags = BPF_FIB_LOOKUP_DIRECT | BPF_FIB_LOOKUP_TBID, .tbid = 100, 66 .lookup_flags = BPF_FIB_LOOKUP_DIRECT | BPF_FIB_LOOKUP_TBID, 70 .lookup_flags = BPF_FIB_LOOKUP_DIRECT | BPF_FIB_LOOKUP_TBID, .tbid = 100, 201 skel->bss->lookup_flags = tests[i].lookup_flags; in test_fib_lookup() 220 if (tests[i].lookup_flags & BPF_FIB_LOOKUP_DIRECT) { in test_fib_lookup()
|
/openbmc/linux/fs/ |
H A D | open.c | 139 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() 679 unsigned int lookup_flags; in do_fchmodat() local 686 lookup_flags |= LOOKUP_EMPTY; in do_fchmodat() 799 int lookup_flags; in do_fchownat() local 806 lookup_flags |= LOOKUP_EMPTY; in do_fchownat() 1223 int lookup_flags = 0; in build_open_flags() local [all …]
|
H A 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() 359 int lookup_flags = 0; in SYSCALL_DEFINE5() local 450 lookup_flags = LOOKUP_EMPTY; in SYSCALL_DEFINE5() 454 param.name = getname_flags(_value, lookup_flags, NULL); in SYSCALL_DEFINE5()
|
H A D | init.c | 32 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()
|
H A D | utimes.c | 84 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()
|
H A D | stat.c | 205 int lookup_flags = 0; in getname_statx_lookup_flags() local 208 lookup_flags |= LOOKUP_FOLLOW; in getname_statx_lookup_flags() 210 lookup_flags |= LOOKUP_AUTOMOUNT; in getname_statx_lookup_flags() 212 lookup_flags |= LOOKUP_EMPTY; in getname_statx_lookup_flags() 214 return lookup_flags; in getname_statx_lookup_flags() 236 unsigned int lookup_flags = getname_statx_lookup_flags(flags); in vfs_statx() local 266 if (retry_estale(error, lookup_flags)) { in vfs_statx() 267 lookup_flags |= LOOKUP_REVAL; in vfs_statx() 488 unsigned int lookup_flags = LOOKUP_EMPTY; in do_readlinkat() local 510 if (retry_estale(error, lookup_flags)) { in do_readlinkat() [all …]
|
H A D | xattr.c | 661 size_t size, int flags, unsigned int lookup_flags) in path_setxattr() argument 677 if (retry_estale(error, lookup_flags)) { in path_setxattr() 678 lookup_flags |= LOOKUP_REVAL; in path_setxattr() 780 size_t size, unsigned int lookup_flags) in path_getxattr() argument 790 if (retry_estale(error, lookup_flags)) { in path_getxattr() 791 lookup_flags |= LOOKUP_REVAL; in path_getxattr() 857 size_t size, unsigned int lookup_flags) in path_listxattr() argument 867 if (retry_estale(error, lookup_flags)) { in path_listxattr() 868 lookup_flags |= LOOKUP_REVAL; in path_listxattr() 936 if (retry_estale(error, lookup_flags)) { in path_removexattr() [all …]
|
H A D | fhandle.c | 103 int lookup_flags; in SYSCALL_DEFINE5() local 110 lookup_flags = (flag & AT_SYMLINK_FOLLOW) ? LOOKUP_FOLLOW : 0; in SYSCALL_DEFINE5() 113 lookup_flags |= LOOKUP_EMPTY; in SYSCALL_DEFINE5() 114 err = user_path_at(dfd, name, lookup_flags, &path); in SYSCALL_DEFINE5()
|
H A D | namei.c | 3814 int flags = op->lookup_flags; in do_filp_open() 3833 int flags = op->lookup_flags; in do_file_open_root() 4024 unsigned int lookup_flags = 0; in do_mknodat() local 4060 lookup_flags |= LOOKUP_REVAL; in do_mknodat() 4143 lookup_flags |= LOOKUP_REVAL; in do_mkdirat() 4223 unsigned int lookup_flags = 0; in do_rmdir() local 4266 lookup_flags |= LOOKUP_REVAL; in do_rmdir() 4364 unsigned int lookup_flags = 0; in do_unlinkat() local 4411 lookup_flags |= LOOKUP_REVAL; in do_unlinkat() 4487 unsigned int lookup_flags = 0; in do_symlinkat() local [all …]
|
H A D | statfs.c | 101 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()
|
H A D | namespace.c | 82 unsigned int lookup_flags; member 1904 int lookup_flags = LOOKUP_MOUNTPOINT; in ksys_umount() local 1913 lookup_flags |= LOOKUP_FOLLOW; in ksys_umount() 2691 int lookup_flags = LOOKUP_AUTOMOUNT | LOOKUP_FOLLOW; in SYSCALL_DEFINE3() local 2707 lookup_flags &= ~LOOKUP_AUTOMOUNT; in SYSCALL_DEFINE3() 2709 lookup_flags &= ~LOOKUP_FOLLOW; in SYSCALL_DEFINE3() 2711 lookup_flags |= LOOKUP_EMPTY; in SYSCALL_DEFINE3() 4575 lookup_flags &= ~LOOKUP_AUTOMOUNT; in build_mount_kattr() 4577 lookup_flags &= ~LOOKUP_FOLLOW; in build_mount_kattr() 4579 lookup_flags |= LOOKUP_EMPTY; in build_mount_kattr() [all …]
|
H A D | internal.h | 167 int lookup_flags; member
|
H A D | exec.c | 133 .lookup_flags = LOOKUP_FOLLOW, in SYSCALL_DEFINE1() 915 .lookup_flags = LOOKUP_FOLLOW, in do_open_execat() 921 open_exec_flags.lookup_flags &= ~LOOKUP_FOLLOW; in do_open_execat() 923 open_exec_flags.lookup_flags |= LOOKUP_EMPTY; in do_open_execat()
|
/openbmc/linux/io_uring/ |
H A D | xattr.c | 126 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()
|
H A D | openclose.c | 125 op.lookup_flags |= LOOKUP_CACHED; in io_openat2()
|
/openbmc/linux/net/ipv6/netfilter/ |
H A D | ip6t_rpfilter.c | 46 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()
|
H A D | nft_fib_ipv6.c | 27 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()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | fib_lookup.c | 11 int lookup_flags = 0; variable 17 lookup_flags); in fib_lookup()
|
/openbmc/linux/fs/smb/server/ |
H A D | vfs.c | 695 int err, lookup_flags = LOOKUP_NO_SYMLINKS; in ksmbd_vfs_rename() local 707 err = vfs_path_parent_lookup(to, lookup_flags | LOOKUP_BENEATH, in ksmbd_vfs_rename() 742 lookup_flags | LOOKUP_RENAME_TARGET); in ksmbd_vfs_rename() 794 if (retry_estale(err, lookup_flags)) { in ksmbd_vfs_rename() 795 lookup_flags |= LOOKUP_REVAL; in ksmbd_vfs_rename()
|
/openbmc/linux/fs/notify/fanotify/ |
H A D | fanotify_user.c | 1024 unsigned int lookup_flags = 0; in fanotify_find_path() local 1027 lookup_flags |= LOOKUP_FOLLOW; in fanotify_find_path() 1029 lookup_flags |= LOOKUP_DIRECTORY; in fanotify_find_path() 1031 ret = user_path_at(dfd, filename, lookup_flags, path); in fanotify_find_path()
|
/openbmc/linux/fs/nfs/ |
H A D | dir.c | 2076 unsigned int lookup_flags = 0; in nfs_atomic_open() local 2102 lookup_flags = LOOKUP_OPEN|LOOKUP_DIRECTORY; in nfs_atomic_open() 2183 res = nfs_lookup(dir, dentry, lookup_flags); in nfs_atomic_open() 2186 if ((lookup_flags & LOOKUP_DIRECTORY) && inode && in nfs_atomic_open() 2193 if ((lookup_flags & LOOKUP_DIRECTORY) && inode && in nfs_atomic_open()
|