Home
last modified time | relevance | path

Searched refs:bpf_net_ctx (Results 1 – 7 of 7) sorted by relevance

/linux/include/linux/
H A Dfilter.h777 bpf_net_ctx->ri.kern_flags = 0; in bpf_net_ctx_set()
779 tsk->bpf_net_context = bpf_net_ctx; in bpf_net_ctx_set()
780 return bpf_net_ctx; in bpf_net_ctx_set()
785 if (bpf_net_ctx) in bpf_net_ctx_clear()
803 return &bpf_net_ctx->ri; in bpf_net_ctx_get_ri()
815 return &bpf_net_ctx->cpu_map_flush_list; in bpf_net_ctx_get_cpu_map_flush_list()
827 return &bpf_net_ctx->dev_map_flush_list; in bpf_net_ctx_get_dev_flush_list()
839 return &bpf_net_ctx->xskmap_map_flush_list; in bpf_net_ctx_get_xskmap_flush_list()
855 lh = &bpf_net_ctx->dev_map_flush_list; in bpf_net_ctx_get_all_used_flush_lists()
859 lh = &bpf_net_ctx->cpu_map_flush_list; in bpf_net_ctx_get_all_used_flush_lists()
[all …]
/linux/kernel/bpf/
H A Dcpumap.c241 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in cpu_map_bpf_prog_run() local
248 bpf_net_ctx = bpf_net_ctx_set(&__bpf_net_ctx); in cpu_map_bpf_prog_run()
258 bpf_net_ctx_clear(bpf_net_ctx); in cpu_map_bpf_prog_run()
/linux/net/core/
H A Dlwt_bpf.c42 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in run_lwt_bpf() local
49 bpf_net_ctx = bpf_net_ctx_set(&__bpf_net_ctx); in run_lwt_bpf()
82 bpf_net_ctx_clear(bpf_net_ctx); in run_lwt_bpf()
H A Ddev.c4091 bpf_net_ctx_clear(bpf_net_ctx); in sch_handle_ingress()
4096 bpf_net_ctx_clear(bpf_net_ctx); in sch_handle_ingress()
4106 bpf_net_ctx_clear(bpf_net_ctx); in sch_handle_ingress()
4109 bpf_net_ctx_clear(bpf_net_ctx); in sch_handle_ingress()
4142 bpf_net_ctx_clear(bpf_net_ctx); in sch_handle_egress()
4147 bpf_net_ctx_clear(bpf_net_ctx); in sch_handle_egress()
4157 bpf_net_ctx_clear(bpf_net_ctx); in sch_handle_egress()
4160 bpf_net_ctx_clear(bpf_net_ctx); in sch_handle_egress()
5158 bpf_net_ctx_clear(bpf_net_ctx); in do_xdp_generic()
6388 bpf_net_ctx_clear(bpf_net_ctx); in busy_poll_stop()
[all …]
/linux/net/bpf/
H A Dtest_run.c287 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in xdp_test_run_batch() local
300 bpf_net_ctx = bpf_net_ctx_set(&__bpf_net_ctx); in xdp_test_run_batch()
366 bpf_net_ctx_clear(bpf_net_ctx); in xdp_test_run_batch()
402 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in bpf_test_run() local
428 bpf_net_ctx = bpf_net_ctx_set(&__bpf_net_ctx); in bpf_test_run()
435 bpf_net_ctx_clear(bpf_net_ctx); in bpf_test_run()
/linux/drivers/net/
H A Dnetkit.c68 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in netkit_xmit() local
76 bpf_net_ctx = bpf_net_ctx_set(&__bpf_net_ctx); in netkit_xmit()
115 bpf_net_ctx_clear(bpf_net_ctx); in netkit_xmit()
H A Dtun.c1665 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in tun_build_skb() local
1705 bpf_net_ctx = bpf_net_ctx_set(&__bpf_net_ctx); in tun_build_skb()
1734 bpf_net_ctx_clear(bpf_net_ctx); in tun_build_skb()
1741 bpf_net_ctx_clear(bpf_net_ctx); in tun_build_skb()
2577 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in tun_sendmsg() local
2586 bpf_net_ctx = bpf_net_ctx_set(&__bpf_net_ctx); in tun_sendmsg()
2601 bpf_net_ctx_clear(bpf_net_ctx); in tun_sendmsg()