| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | fib_lookup.c | 51 int lookup_flags; member 65 .lookup_flags = BPF_FIB_LOOKUP_SKIP_NEIGH, }, 73 .lookup_flags = BPF_FIB_LOOKUP_SKIP_NEIGH, }, 76 .lookup_flags = BPF_FIB_LOOKUP_DIRECT | BPF_FIB_LOOKUP_TBID, 80 .lookup_flags = BPF_FIB_LOOKUP_DIRECT | BPF_FIB_LOOKUP_TBID, .tbid = 100, 84 .lookup_flags = BPF_FIB_LOOKUP_DIRECT | BPF_FIB_LOOKUP_TBID, 88 .lookup_flags = BPF_FIB_LOOKUP_DIRECT | BPF_FIB_LOOKUP_TBID, .tbid = 100, 93 .lookup_flags = BPF_FIB_LOOKUP_SRC | BPF_FIB_LOOKUP_SKIP_NEIGH, }, 97 .lookup_flags = BPF_FIB_LOOKUP_SRC | BPF_FIB_LOOKUP_SKIP_NEIGH, }, 101 .lookup_flags = BPF_FIB_LOOKUP_SRC | BPF_FIB_LOOKUP_SKIP_NEIGH, }, [all …]
|
| /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()
|
| /linux/fs/ |
| H A D | fsopen.c | 167 unsigned int lookup_flags; in SYSCALL_DEFINE3() local 179 lookup_flags = LOOKUP_FOLLOW | LOOKUP_AUTOMOUNT; in SYSCALL_DEFINE3() 181 lookup_flags &= ~LOOKUP_FOLLOW; in SYSCALL_DEFINE3() 183 lookup_flags &= ~LOOKUP_AUTOMOUNT; in SYSCALL_DEFINE3() 186 ret = filename_lookup(dfd, filename, lookup_flags, &target, NULL); in SYSCALL_DEFINE3() 359 int lookup_flags = 0; in SYSCALL_DEFINE5() local 437 lookup_flags = LOOKUP_EMPTY; in SYSCALL_DEFINE5() 441 param.name = getname_flags(_value, lookup_flags); in SYSCALL_DEFINE5()
|
| H A D | namei.c | 1533 static int follow_automount(struct path *path, int *count, unsigned lookup_flags) in follow_automount() argument 1548 if (!(lookup_flags & (LOOKUP_PARENT | LOOKUP_DIRECTORY | in follow_automount() 1554 if (lookup_flags & LOOKUP_NO_XDEV) in follow_automount() 1570 int *count, unsigned lookup_flags) in __traverse_mounts() argument 1580 if (lookup_flags & LOOKUP_NO_XDEV) { in __traverse_mounts() 1601 if (unlikely(lookup_flags & LOOKUP_NO_XDEV)) { in __traverse_mounts() 1613 ret = follow_automount(path, count, lookup_flags); in __traverse_mounts() 1631 int *count, unsigned lookup_flags) in traverse_mounts() argument 1642 return __traverse_mounts(path, flags, jumped, count, lookup_flags); in traverse_mounts() 2902 unsigned int lookup_flags, in __start_dirop() argument [all …]
|
| H A D | file_attr.c | 379 unsigned int lookup_flags = 0; in SYSCALL_DEFINE5() local 391 lookup_flags |= LOOKUP_FOLLOW; in SYSCALL_DEFINE5() 408 error = filename_lookup(dfd, name, lookup_flags, &filepath, in SYSCALL_DEFINE5() 432 unsigned int lookup_flags = 0; in SYSCALL_DEFINE5() local 444 lookup_flags |= LOOKUP_FOLLOW; in SYSCALL_DEFINE5() 470 error = filename_lookup(dfd, name, lookup_flags, &filepath, in SYSCALL_DEFINE5()
|
| H A D | fhandle.c | 134 int lookup_flags; in SYSCALL_DEFINE5() local 158 lookup_flags = (flag & AT_SYMLINK_FOLLOW) ? LOOKUP_FOLLOW : 0; in SYSCALL_DEFINE5() 160 err = filename_lookup(dfd, filename, lookup_flags, &path, NULL); in SYSCALL_DEFINE5()
|
| H A D | namespace.c | 109 unsigned int lookup_flags; member 2052 int lookup_flags = LOOKUP_MOUNTPOINT; in ksys_umount() local 2061 lookup_flags |= LOOKUP_FOLLOW; in ksys_umount() 2062 ret = user_path_at(AT_FDCWD, name, lookup_flags, &path); in ksys_umount() 3190 int lookup_flags = LOOKUP_AUTOMOUNT | LOOKUP_FOLLOW; in vfs_open_tree() local 3207 lookup_flags &= ~LOOKUP_AUTOMOUNT; in vfs_open_tree() 3209 lookup_flags &= ~LOOKUP_FOLLOW; in vfs_open_tree() 3224 ret = filename_lookup(dfd, name, lookup_flags, &path, NULL); in vfs_open_tree() 5141 unsigned int lookup_flags = LOOKUP_AUTOMOUNT | LOOKUP_FOLLOW; in SYSCALL_DEFINE5() local 5150 lookup_flags &= ~LOOKUP_AUTOMOUNT; in SYSCALL_DEFINE5() [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | fib_lookup.c | 11 int lookup_flags = 0; variable 17 lookup_flags); in fib_lookup()
|
| /linux/fs/smb/server/ |
| H A D | vfs.c | 672 int err, lookup_flags = LOOKUP_NO_SYMLINKS; in ksmbd_vfs_rename() local 680 err = vfs_path_parent_lookup(to, lookup_flags | LOOKUP_BENEATH, in ksmbd_vfs_rename() 700 err = start_renaming_dentry(&rd, lookup_flags, old_child, &new_last); in ksmbd_vfs_rename() 731 if (retry_estale(err, lookup_flags)) { in ksmbd_vfs_rename() 732 lookup_flags |= LOOKUP_REVAL; in ksmbd_vfs_rename()
|
| /linux/io_uring/ |
| H A D | openclose.c | 140 op.lookup_flags |= LOOKUP_CACHED; in io_openat2()
|