/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | test_tc_neigh.c | 90 bool redirect = false; in tc_dst() local 94 redirect = is_remote_ep_v4(skb, __bpf_constant_htonl(ip4_src)); in tc_dst() 97 redirect = is_remote_ep_v6(skb, (struct in6_addr){{ip6_src}}); in tc_dst() 101 if (!redirect) in tc_dst() 115 bool redirect = false; in tc_src() local 119 redirect = is_remote_ep_v4(skb, __bpf_constant_htonl(ip4_dst)); in tc_src() 122 redirect = is_remote_ep_v6(skb, (struct in6_addr){{ip6_dst}}); in tc_src() 126 if (!redirect) in tc_src()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | test_tc_neigh.c | 104 bool redirect = false; in tc_dst() local 108 redirect = is_remote_ep_v4(skb, __bpf_constant_htonl(ip4_src)); in tc_dst() 111 redirect = is_remote_ep_v6(skb, (struct in6_addr)ip6_src); in tc_dst() 115 if (!redirect) in tc_dst() 128 bool redirect = false; in tc_src() local 132 redirect = is_remote_ep_v4(skb, __bpf_constant_htonl(ip4_dst)); in tc_src() 135 redirect = is_remote_ep_v6(skb, (struct in6_addr)ip6_dst); in tc_src() 139 if (!redirect) in tc_src()
|
/kernel/linux/linux-5.10/arch/ia64/uv/kernel/ |
H A D | setup.c | 26 unsigned long redirect; member 41 union uvh_rh_gam_alias210_redirect_config_2_mmr_u redirect; in get_lowmem_redirect() local 48 redirect.v = uv_read_local_mmr(redir_addrs[i].redirect); in get_lowmem_redirect() 49 *base = (unsigned long)redirect.s.dest_base << DEST_SHIFT; in get_lowmem_redirect()
|
/kernel/linux/linux-6.6/arch/ia64/uv/kernel/ |
H A D | setup.c | 26 unsigned long redirect; member 41 union uvh_rh_gam_alias210_redirect_config_2_mmr_u redirect; in get_lowmem_redirect() local 48 redirect.v = uv_read_local_mmr(redir_addrs[i].redirect); in get_lowmem_redirect() 49 *base = (unsigned long)redirect.s.dest_base << DEST_SHIFT; in get_lowmem_redirect()
|
/kernel/linux/linux-6.6/fs/overlayfs/ |
H A D | namei.c | 27 char *redirect; member 29 /* Referring to last redirect xattr */ 51 * But we have found an absolute redirect in descendant path in ovl_check_redirect() 63 kfree(d->redirect); in ovl_check_redirect() 64 d->redirect = buf; in ovl_check_redirect() 65 d->name.name = d->redirect; in ovl_check_redirect() 66 d->name.len = strlen(d->redirect); in ovl_check_redirect() 359 static int ovl_lookup_data_layer(struct dentry *dentry, const char *redirect, in ovl_lookup_data_layer() argument 365 err = vfs_path_lookup(layer->mnt->mnt_root, layer->mnt, redirect, in ovl_lookup_data_layer() 368 pr_debug("lookup lowerdata (%pd2, redirect in ovl_lookup_data_layer() 392 ovl_lookup_data_layers(struct dentry *dentry, const char *redirect, struct ovl_path *lowerdata) ovl_lookup_data_layers() argument 947 const char *redirect = ovl_lowerdata_redirect(inode); ovl_maybe_lookup_lowerdata() local [all...] |
H A D | dir.c | 22 "Maximum length of absolute redirect xattr value"); 1005 /* Absolute redirect: finished */ in ovl_get_redirect() 1032 * dirs. We could put a relative redirect now and convert in ovl_need_absolute_redirect() 1033 * it to absolute redirect later. But when nlink > 1 and in ovl_need_absolute_redirect() 1034 * indexing is on, that means relative redirect needs to be in ovl_need_absolute_redirect() 1040 * redirect. in ovl_need_absolute_redirect() 1050 const char *redirect = ovl_dentry_get_redirect(dentry); in ovl_set_redirect() local 1053 if (redirect && (!absolute_redirect || redirect[0] == '/')) in ovl_set_redirect() 1056 redirect in ovl_set_redirect() [all...] |
H A D | params.h | 15 bool redirect; member
|
H A D | params.c | 602 ctx->set.redirect = true; in ovl_parse_param() 843 if (set.metacopy && set.redirect) { in ovl_fs_params_verify() 848 if (config->verity_mode && set.redirect) { in ovl_fs_params_verify() 853 if (set.redirect) { in ovl_fs_params_verify() 862 /* Automatically enable redirect otherwise. */ in ovl_fs_params_verify() 921 /* Resolve userxattr -> !redirect && !metacopy && !verity dependency */ in ovl_fs_params_verify() 923 if (set.redirect && in ovl_fs_params_verify() 939 * Silently disable default setting of redirect and metacopy. in ovl_fs_params_verify()
|
/kernel/linux/linux-5.10/fs/overlayfs/ |
H A D | namei.c | 24 char *redirect; member 44 * But we have found an absolute redirect in decendant path in ovl_check_redirect() 56 kfree(d->redirect); in ovl_check_redirect() 57 d->redirect = buf; in ovl_check_redirect() 58 d->name.name = d->redirect; in ovl_check_redirect() 59 d->name.len = strlen(d->redirect); in ovl_check_redirect() 843 .redirect = NULL, in ovl_lookup() 881 if (d.redirect) { in ovl_lookup() 883 upperredirect = kstrdup(d.redirect, GFP_KERNEL); in ovl_lookup() 886 if (d.redirect[ in ovl_lookup() [all...] |
H A D | dir.c | 22 "Maximum length of absolute redirect xattr value"); 1015 /* Absolute redirect: finished */ in ovl_get_redirect() 1042 * dirs. We could put a relative redirect now and convert in ovl_need_absolute_redirect() 1043 * it to absolute redirect later. But when nlink > 1 and in ovl_need_absolute_redirect() 1044 * indexing is on, that means relative redirect needs to be in ovl_need_absolute_redirect() 1050 * redirect. in ovl_need_absolute_redirect() 1059 const char *redirect = ovl_dentry_get_redirect(dentry); in ovl_set_redirect() local 1062 if (redirect && (!absolute_redirect || redirect[0] == '/')) in ovl_set_redirect() 1065 redirect in ovl_set_redirect() [all...] |
H A D | util.c | 410 return OVL_I(d_inode(dentry))->redirect; in ovl_dentry_get_redirect() 413 void ovl_dentry_set_redirect(struct dentry *dentry, const char *redirect) in ovl_dentry_set_redirect() argument 417 kfree(oi->redirect); in ovl_dentry_set_redirect() 418 oi->redirect = redirect; in ovl_dentry_set_redirect() 595 #define OVL_XATTR_REDIRECT_POSTFIX "redirect" 645 * Upper inodes won't have origin nor redirect xattr anyway. in ovl_set_impure() 947 pr_warn_ratelimited("invalid redirect (%s)\n", buf); in ovl_get_redirect_xattr() 951 pr_warn_ratelimited("failed to get redirect (%i)\n", res); in ovl_get_redirect_xattr()
|
H A D | ovl_entry.h | 134 const char *redirect; member
|
/kernel/linux/linux-5.10/net/bridge/ |
H A D | br_nf_core.c | 55 .redirect = fake_redirect,
|
/kernel/linux/linux-6.6/net/bridge/ |
H A D | br_nf_core.c | 55 .redirect = fake_redirect,
|
/kernel/linux/linux-5.10/include/net/ |
H A D | dst_ops.h | 32 void (*redirect)(struct dst_entry *dst, struct sock *sk, member
|
/kernel/linux/linux-6.6/include/net/ |
H A D | dst_ops.h | 32 void (*redirect)(struct dst_entry *dst, struct sock *sk, member
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | xfrm4_policy.c | 118 path->ops->redirect(path, sk, skb); in xfrm4_redirect() 143 .redirect = xfrm4_redirect,
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | xfrm6_policy.c | 122 path->ops->redirect(path, sk, skb); in xfrm6_redirect() 166 .redirect = xfrm6_redirect,
|
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | xfrm6_policy.c | 113 path->ops->redirect(path, sk, skb); in xfrm6_redirect() 152 .redirect = xfrm6_redirect,
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | xfrm4_policy.c | 115 path->ops->redirect(path, sk, skb); in xfrm4_redirect() 130 .redirect = xfrm4_redirect,
|
/kernel/linux/linux-5.10/drivers/tty/ |
H A D | tty_io.c | 515 static struct file *redirect; variable 560 * redirect lock for undoing redirection 580 if (redirect && file_tty(redirect) == tty) { in __tty_hangup() 581 f = redirect; in __tty_hangup() 582 redirect = NULL; in __tty_hangup() 1134 if (redirect) in redirected_tty_write() 1135 p = get_file(redirect); in redirected_tty_write() 2372 * Locking: uses redirect_lock to guard the redirect information 2382 f = redirect; in tioccons() [all...] |
/kernel/linux/linux-6.6/drivers/tty/ |
H A D | tty_io.c | 505 static struct file *redirect; variable 532 * tty_release_redirect - Release a redirect on a pty if present 536 * redirect it can release the redirect. 543 if (redirect && file_tty(redirect) == tty) { in tty_release_redirect() 544 f = redirect; in tty_release_redirect() 545 redirect = NULL; in tty_release_redirect() 568 * * redirect lock for undoing redirection 1117 if (redirect) in redirected_tty_write() [all...] |
/kernel/linux/linux-5.10/arch/ia64/include/asm/ |
H A D | hw_irq.h | 124 extern void ia64_send_ipi (int cpu, int vector, int delivery_mode, int redirect);
|
/kernel/linux/linux-6.6/arch/ia64/include/asm/ |
H A D | hw_irq.h | 123 extern void ia64_send_ipi (int cpu, int vector, int delivery_mode, int redirect);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | cxgb3_offload.h | 87 int (*redirect)(void *ctx, struct dst_entry *old, member
|