/linux-6.3-rc2/drivers/vdpa/solidrun/ |
A D | snet_main.c | 87 struct snet *snet = data; in snet_cfg_irq_hndlr() local 136 struct snet *snet = vdpa_to_snet(vdev); in snet_set_vq_address() local 147 struct snet *snet = vdpa_to_snet(vdev); in snet_set_vq_num() local 154 struct snet *snet = vdpa_to_snet(vdev); in snet_kick_vq() local 164 struct snet *snet = vdpa_to_snet(vdev); in snet_set_vq_cb() local 172 struct snet *snet = vdpa_to_snet(vdev); in snet_set_vq_ready() local 179 struct snet *snet = vdpa_to_snet(vdev); in snet_get_vq_ready() local 371 snet_write32(snet, off, snet->sid); in snet_write_conf() 424 snet->cfg_irq_name, snet); in snet_request_irqs() 821 snet->vqs[i]->kick_ptr = snet->bar + snet->psnet->cfg.kick_off + in snet_build_vqs() [all …]
|
A D | snet_vdpa.h | 49 struct snet { struct 164 static inline u32 snet_read32(struct snet *snet, u32 off) in snet_read32() argument 166 return ioread32(snet->bar + off); in snet_read32() 169 static inline void snet_write32(struct snet *snet, u32 off, u32 val) in snet_write32() argument 171 iowrite32(val, snet->bar + off); in snet_write32() 183 static inline void snet_write64(struct snet *snet, u32 off, u64 val) in snet_write64() argument 186 snet_write32(snet, off, (u32)val); in snet_write64() 187 snet_write32(snet, off + 4, (u32)(val >> 32)); in snet_write64()
|
/linux-6.3-rc2/net/netfilter/ |
A D | nft_synproxy.c | 25 struct synproxy_net *snet, in nft_synproxy_tcp_options() argument 29 this_cpu_inc(snet->stats->syn_received); in nft_synproxy_tcp_options() 177 err = nf_synproxy_ipv4_init(snet, ctx->net); in nft_synproxy_do_init() 183 err = nf_synproxy_ipv6_init(snet, ctx->net); in nft_synproxy_do_init() 190 err = nf_synproxy_ipv4_init(snet, ctx->net); in nft_synproxy_do_init() 193 err = nf_synproxy_ipv6_init(snet, ctx->net); in nft_synproxy_do_init() 195 nf_synproxy_ipv4_fini(snet, ctx->net); in nft_synproxy_do_init() 214 nf_synproxy_ipv4_fini(snet, ctx->net); in nft_synproxy_do_destroy() 218 nf_synproxy_ipv6_fini(snet, ctx->net); in nft_synproxy_do_destroy() 223 nf_synproxy_ipv4_fini(snet, ctx->net); in nft_synproxy_do_destroy() [all …]
|
A D | nf_synproxy_core.c | 346 snet->tmpl = ct; in synproxy_net_init() 349 if (snet->stats == NULL) in synproxy_net_init() 359 free_percpu(snet->stats); in synproxy_net_init() 370 nf_ct_put(snet->tmpl); in synproxy_net_exit() 372 free_percpu(snet->stats); in synproxy_net_exit() 778 snet->hook_ref4++; in nf_synproxy_ipv4_init() 785 snet->hook_ref4--; in nf_synproxy_ipv4_fini() 786 if (snet->hook_ref4 == 0) in nf_synproxy_ipv4_fini() 1202 snet->hook_ref6++; in nf_synproxy_ipv6_init() 1210 snet->hook_ref6--; in nf_synproxy_ipv6_fini() [all …]
|
/linux-6.3-rc2/include/net/netfilter/ |
A D | nf_synproxy.h | 65 int nf_synproxy_ipv4_init(struct synproxy_net *snet, struct net *net); 66 void nf_synproxy_ipv4_fini(struct synproxy_net *snet, struct net *net); 80 int nf_synproxy_ipv6_init(struct synproxy_net *snet, struct net *net); 81 void nf_synproxy_ipv6_fini(struct synproxy_net *snet, struct net *net); 84 nf_synproxy_ipv6_init(struct synproxy_net *snet, struct net *net) { return 0; } in nf_synproxy_ipv6_init() argument 86 nf_synproxy_ipv6_fini(struct synproxy_net *snet, struct net *net) {}; in nf_synproxy_ipv6_fini() argument
|
/linux-6.3-rc2/net/ipv4/netfilter/ |
A D | ipt_SYNPROXY.c | 17 struct synproxy_net *snet = synproxy_pernet(net); in synproxy_tg4() local 33 this_cpu_inc(snet->stats->syn_received); in synproxy_tg4() 66 struct synproxy_net *snet = synproxy_pernet(par->net); in synproxy_tg4_check() local 78 err = nf_synproxy_ipv4_init(snet, par->net); in synproxy_tg4_check() 89 struct synproxy_net *snet = synproxy_pernet(par->net); in synproxy_tg4_destroy() local 91 nf_synproxy_ipv4_fini(snet, par->net); in synproxy_tg4_destroy()
|
/linux-6.3-rc2/net/ipv6/netfilter/ |
A D | ip6t_SYNPROXY.c | 17 struct synproxy_net *snet = synproxy_pernet(net); in synproxy_tg6() local 33 this_cpu_inc(snet->stats->syn_received); in synproxy_tg6() 68 struct synproxy_net *snet = synproxy_pernet(par->net); in synproxy_tg6_check() local 81 err = nf_synproxy_ipv6_init(snet, par->net); in synproxy_tg6_check() 92 struct synproxy_net *snet = synproxy_pernet(par->net); in synproxy_tg6_destroy() local 94 nf_synproxy_ipv6_fini(snet, par->net); in synproxy_tg6_destroy()
|
/linux-6.3-rc2/net/netfilter/ipvs/ |
A D | ip_vs_core.c | 284 snet.ip = src_addr->ip & svc->netmask; in ip_vs_sched_persist() 290 IP_VS_DBG_ADDR(svc->af, &snet)); in ip_vs_sched_persist() 857 union nf_inet_addr *snet, in handle_response_icmp() argument 872 IP_VS_DBG_ADDR(af, snet)); in handle_response_icmp() 924 union nf_inet_addr snet; in ip_vs_out_icmp() local 984 snet.ip = iph->saddr; in ip_vs_out_icmp() 998 union nf_inet_addr snet; in ip_vs_out_icmp_v6() local 1041 snet.in6 = ciph.saddr.in6; in ip_vs_out_icmp_v6() 1139 union nf_inet_addr snet; in ip_vs_new_conn_out() local 1164 snet.ip = caddr->ip & svc->netmask; in ip_vs_new_conn_out() [all …]
|