Searched refs:lookup_flags (Results 1 - 23 of 23) sorted by relevance

/linux-master/tools/testing/selftests/bpf/progs/
H A Dfib_lookup.c11 int lookup_flags = 0; variable
17 lookup_flags);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dfib_lookup.c39 int lookup_flags; member in struct:fib_lookup_test
52 .lookup_flags = BPF_FIB_LOOKUP_SKIP_NEIGH, },
60 .lookup_flags = BPF_FIB_LOOKUP_SKIP_NEIGH, },
63 .lookup_flags = BPF_FIB_LOOKUP_DIRECT | BPF_FIB_LOOKUP_TBID,
67 .lookup_flags = BPF_FIB_LOOKUP_DIRECT | BPF_FIB_LOOKUP_TBID, .tbid = 100,
71 .lookup_flags = BPF_FIB_LOOKUP_DIRECT | BPF_FIB_LOOKUP_TBID,
75 .lookup_flags = BPF_FIB_LOOKUP_DIRECT | BPF_FIB_LOOKUP_TBID, .tbid = 100,
80 .lookup_flags = BPF_FIB_LOOKUP_SRC | BPF_FIB_LOOKUP_SKIP_NEIGH, },
84 .lookup_flags = BPF_FIB_LOOKUP_SRC | BPF_FIB_LOOKUP_SKIP_NEIGH, },
88 .lookup_flags
[all...]
/linux-master/io_uring/
H A Dxattr.c126 unsigned int lookup_flags = LOOKUP_FOLLOW; local
133 ret = filename_lookup(AT_FDCWD, ix->filename, lookup_flags, &path, NULL);
138 if (retry_estale(ret, lookup_flags)) {
139 lookup_flags |= LOOKUP_REVAL;
235 unsigned int lookup_flags = LOOKUP_FOLLOW; local
242 ret = filename_lookup(AT_FDCWD, ix->filename, lookup_flags, &path, NULL);
246 if (retry_estale(ret, lookup_flags)) {
247 lookup_flags |= LOOKUP_REVAL;
H A Dopenclose.c130 op.lookup_flags |= LOOKUP_CACHED;
/linux-master/fs/
H A Dopen.c124 unsigned int lookup_flags = LOOKUP_FOLLOW; local
132 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path);
137 if (retry_estale(error, lookup_flags)) {
138 lookup_flags |= LOOKUP_REVAL;
469 unsigned int lookup_flags = LOOKUP_FOLLOW; local
479 lookup_flags &= ~LOOKUP_FOLLOW;
481 lookup_flags |= LOOKUP_EMPTY;
490 res = user_path_at(dfd, filename, lookup_flags, &path);
525 if (retry_estale(res, lookup_flags)) {
526 lookup_flags |
556 unsigned int lookup_flags = LOOKUP_FOLLOW | LOOKUP_DIRECTORY; local
604 unsigned int lookup_flags = LOOKUP_FOLLOW | LOOKUP_DIRECTORY; local
686 unsigned int lookup_flags; local
806 int lookup_flags; local
1210 int lookup_flags = 0; local
[all...]
H A Dutimes.c84 int lookup_flags = 0, error; local
90 lookup_flags |= LOOKUP_FOLLOW;
92 lookup_flags |= LOOKUP_EMPTY;
95 error = user_path_at(dfd, filename, lookup_flags, &path);
101 if (retry_estale(error, lookup_flags)) {
102 lookup_flags |= LOOKUP_REVAL;
H A Dinit.c32 int lookup_flags = LOOKUP_MOUNTPOINT; local
37 lookup_flags |= LOOKUP_FOLLOW;
38 ret = kern_path(name, lookup_flags, &path);
84 int lookup_flags = (flags & AT_SYMLINK_NOFOLLOW) ? 0 : LOOKUP_FOLLOW; local
88 error = kern_path(filename, lookup_flags, &path);
128 int lookup_flags = (flags & AT_SYMLINK_NOFOLLOW) ? 0 : LOOKUP_FOLLOW; local
132 error = kern_path(filename, lookup_flags, &path);
H A Dfsopen.c162 unsigned int lookup_flags; local
174 lookup_flags = LOOKUP_FOLLOW | LOOKUP_AUTOMOUNT;
176 lookup_flags &= ~LOOKUP_FOLLOW;
178 lookup_flags &= ~LOOKUP_AUTOMOUNT;
180 lookup_flags |= LOOKUP_EMPTY;
181 ret = user_path_at(dfd, path, lookup_flags, &target);
359 int lookup_flags = 0; local
450 lookup_flags = LOOKUP_EMPTY;
454 param.name = getname_flags(_value, lookup_flags, NULL);
H A Dxattr.c660 size_t size, int flags, unsigned int lookup_flags)
666 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path);
676 if (retry_estale(error, lookup_flags)) {
677 lookup_flags |= LOOKUP_REVAL;
779 size_t size, unsigned int lookup_flags)
784 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path);
789 if (retry_estale(error, lookup_flags)) {
790 lookup_flags |= LOOKUP_REVAL;
856 size_t size, unsigned int lookup_flags)
861 error = user_path_at(AT_FDCWD, pathname, lookup_flags,
658 path_setxattr(const char __user *pathname, const char __user *name, const void __user *value, size_t size, int flags, unsigned int lookup_flags) argument
777 path_getxattr(const char __user *pathname, const char __user *name, void __user *value, size_t size, unsigned int lookup_flags) argument
855 path_listxattr(const char __user *pathname, char __user *list, size_t size, unsigned int lookup_flags) argument
920 path_removexattr(const char __user *pathname, const char __user *name, unsigned int lookup_flags) argument
[all...]
H A Dfhandle.c99 int lookup_flags; local
106 lookup_flags = (flag & AT_SYMLINK_FOLLOW) ? LOOKUP_FOLLOW : 0;
109 lookup_flags |= LOOKUP_EMPTY;
110 err = user_path_at(dfd, name, lookup_flags, &path);
H A Dstat.c205 int lookup_flags = 0; local
208 lookup_flags |= LOOKUP_FOLLOW;
210 lookup_flags |= LOOKUP_AUTOMOUNT;
212 lookup_flags |= LOOKUP_EMPTY;
214 return lookup_flags;
236 unsigned int lookup_flags = getname_statx_lookup_flags(flags); local
244 error = filename_lookup(dfd, filename, lookup_flags, &path, NULL);
271 if (retry_estale(error, lookup_flags)) {
272 lookup_flags |= LOOKUP_REVAL;
493 unsigned int lookup_flags local
[all...]
H A Dnamei.c1345 static int follow_automount(struct path *path, int *count, unsigned lookup_flags) argument
1360 if (!(lookup_flags & (LOOKUP_PARENT | LOOKUP_DIRECTORY |
1378 int *count, unsigned lookup_flags)
1413 ret = follow_automount(path, count, lookup_flags);
1431 int *count, unsigned lookup_flags)
1442 return __traverse_mounts(path, flags, jumped, count, lookup_flags);
3822 int flags = op->lookup_flags;
3841 int flags = op->lookup_flags;
3862 struct path *path, unsigned int lookup_flags)
3866 bool want_dir = lookup_flags
1377 __traverse_mounts(struct path *path, unsigned flags, bool *jumped, int *count, unsigned lookup_flags) argument
1430 traverse_mounts(struct path *path, bool *jumped, int *count, unsigned lookup_flags) argument
3861 filename_create(int dfd, struct filename *name, struct path *path, unsigned int lookup_flags) argument
3929 kern_path_create(int dfd, const char *pathname, struct path *path, unsigned int lookup_flags) argument
3949 user_path_create(int dfd, const char __user *pathname, struct path *path, unsigned int lookup_flags) argument
4032 unsigned int lookup_flags = 0; local
4135 unsigned int lookup_flags = LOOKUP_DIRECTORY; local
4231 unsigned int lookup_flags = 0; local
4372 unsigned int lookup_flags = 0; local
4493 unsigned int lookup_flags = 0; local
4929 unsigned int lookup_flags = 0, target_flags = LOOKUP_RENAME_TARGET; local
[all...]
H A Dstatfs.c101 unsigned int lookup_flags = LOOKUP_FOLLOW|LOOKUP_AUTOMOUNT; local
103 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path);
107 if (retry_estale(error, lookup_flags)) {
108 lookup_flags |= LOOKUP_REVAL;
H A Dnamespace.c86 unsigned int lookup_flags; member in struct:mount_kattr
1906 int lookup_flags = LOOKUP_MOUNTPOINT; local
1915 lookup_flags |= LOOKUP_FOLLOW;
1916 ret = user_path_at(AT_FDCWD, name, lookup_flags, &path);
2696 int lookup_flags = LOOKUP_AUTOMOUNT | LOOKUP_FOLLOW; local
2712 lookup_flags &= ~LOOKUP_AUTOMOUNT;
2714 lookup_flags &= ~LOOKUP_FOLLOW;
2716 lookup_flags |= LOOKUP_EMPTY;
2725 error = user_path_at(dfd, filename, lookup_flags, &path);
4574 unsigned int lookup_flags local
[all...]
H A Dinternal.h176 int lookup_flags; member in struct:open_flags
H A Dexec.c134 .lookup_flags = LOOKUP_FOLLOW,
920 .lookup_flags = LOOKUP_FOLLOW,
926 open_exec_flags.lookup_flags &= ~LOOKUP_FOLLOW;
928 open_exec_flags.lookup_flags |= LOOKUP_EMPTY;
/linux-master/net/ipv6/netfilter/
H A Dip6t_rpfilter.c46 int lookup_flags; local
50 lookup_flags = RT6_LOOKUP_F_HAS_SADDR;
52 lookup_flags = 0;
58 lookup_flags |= RT6_LOOKUP_F_IFACE;
63 rt = (void *)ip6_route_lookup(net, &fl6, skb, lookup_flags);
H A Dnft_fib_ipv6.c27 int lookup_flags = 0; local
42 lookup_flags |= RT6_LOOKUP_F_IFACE;
49 lookup_flags |= RT6_LOOKUP_F_HAS_SADDR;
56 return lookup_flags;
170 int lookup_flags; local
183 lookup_flags = nft_fib6_flowi_init(&fl6, priv, pkt, oif, iph);
196 lookup_flags);
/linux-master/fs/bcachefs/
H A Dfs-ioctl.c322 unsigned lookup_flags = 0; local
365 &dst_path, lookup_flags);
424 if (retry_estale(error, lookup_flags)) {
425 lookup_flags |= LOOKUP_REVAL;
/linux-master/drivers/reset/
H A Dcore.c847 unsigned int lookup_flags; local
883 lookup_flags = GPIO_PERSISTENT;
884 lookup_flags |= of_flags & GPIO_ACTIVE_LOW;
886 lookup_flags);
/linux-master/fs/smb/server/
H A Dvfs.c695 int err, lookup_flags = LOOKUP_NO_SYMLINKS; local
707 err = vfs_path_parent_lookup(to, lookup_flags | LOOKUP_BENEATH,
746 lookup_flags | LOOKUP_RENAME_TARGET);
799 if (retry_estale(err, lookup_flags)) {
800 lookup_flags |= LOOKUP_REVAL;
/linux-master/fs/notify/fanotify/
H A Dfanotify_user.c1023 unsigned int lookup_flags = 0; local
1026 lookup_flags |= LOOKUP_FOLLOW;
1028 lookup_flags |= LOOKUP_DIRECTORY;
1030 ret = user_path_at(dfd, filename, lookup_flags, path);
/linux-master/fs/nfs/
H A Ddir.c2052 unsigned int lookup_flags = 0; local
2078 lookup_flags = LOOKUP_OPEN|LOOKUP_DIRECTORY;
2159 res = nfs_lookup(dir, dentry, lookup_flags);
2162 if ((lookup_flags & LOOKUP_DIRECTORY) && inode &&
2169 if ((lookup_flags & LOOKUP_DIRECTORY) && inode &&

Completed in 262 milliseconds