Searched refs:bpf_net_ctx (Results 1 – 7 of 7) sorted by relevance
794 bpf_net_ctx->ri.kern_flags = 0; in bpf_net_ctx_set()796 tsk->bpf_net_context = bpf_net_ctx; in bpf_net_ctx_set()797 return bpf_net_ctx; in bpf_net_ctx_set()802 if (bpf_net_ctx) in bpf_net_ctx_clear()820 return &bpf_net_ctx->ri; in bpf_net_ctx_get_ri()832 return &bpf_net_ctx->cpu_map_flush_list; in bpf_net_ctx_get_cpu_map_flush_list()844 return &bpf_net_ctx->dev_map_flush_list; in bpf_net_ctx_get_dev_flush_list()856 return &bpf_net_ctx->xskmap_map_flush_list; in bpf_net_ctx_get_xskmap_flush_list()872 lh = &bpf_net_ctx->dev_map_flush_list; in bpf_net_ctx_get_all_used_flush_lists()876 lh = &bpf_net_ctx->cpu_map_flush_list; in bpf_net_ctx_get_all_used_flush_lists()[all …]
43 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in run_lwt_bpf() local50 bpf_net_ctx = bpf_net_ctx_set(&__bpf_net_ctx); in run_lwt_bpf()83 bpf_net_ctx_clear(bpf_net_ctx); in run_lwt_bpf()
4295 bpf_net_ctx_clear(bpf_net_ctx); in sch_handle_ingress()4300 bpf_net_ctx_clear(bpf_net_ctx); in sch_handle_ingress()4310 bpf_net_ctx_clear(bpf_net_ctx); in sch_handle_ingress()4313 bpf_net_ctx_clear(bpf_net_ctx); in sch_handle_ingress()4346 bpf_net_ctx_clear(bpf_net_ctx); in sch_handle_egress()4351 bpf_net_ctx_clear(bpf_net_ctx); in sch_handle_egress()4361 bpf_net_ctx_clear(bpf_net_ctx); in sch_handle_egress()4364 bpf_net_ctx_clear(bpf_net_ctx); in sch_handle_egress()5368 bpf_net_ctx_clear(bpf_net_ctx); in do_xdp_generic()6615 bpf_net_ctx_clear(bpf_net_ctx); in busy_poll_stop()[all …]
251 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in cpu_map_bpf_prog_run() local257 bpf_net_ctx = bpf_net_ctx_set(&__bpf_net_ctx); in cpu_map_bpf_prog_run()267 bpf_net_ctx_clear(bpf_net_ctx); in cpu_map_bpf_prog_run()
288 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in xdp_test_run_batch() local301 bpf_net_ctx = bpf_net_ctx_set(&__bpf_net_ctx); in xdp_test_run_batch()367 bpf_net_ctx_clear(bpf_net_ctx); in xdp_test_run_batch()403 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in bpf_test_run() local429 bpf_net_ctx = bpf_net_ctx_set(&__bpf_net_ctx); in bpf_test_run()436 bpf_net_ctx_clear(bpf_net_ctx); in bpf_test_run()
80 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in netkit_xmit() local88 bpf_net_ctx = bpf_net_ctx_set(&__bpf_net_ctx); in netkit_xmit()128 bpf_net_ctx_clear(bpf_net_ctx); in netkit_xmit()
1603 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in tun_build_skb() local1644 bpf_net_ctx = bpf_net_ctx_set(&__bpf_net_ctx); in tun_build_skb()1678 bpf_net_ctx_clear(bpf_net_ctx); in tun_build_skb()1686 bpf_net_ctx_clear(bpf_net_ctx); in tun_build_skb()2496 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in tun_sendmsg() local2505 bpf_net_ctx = bpf_net_ctx_set(&__bpf_net_ctx); in tun_sendmsg()2520 bpf_net_ctx_clear(bpf_net_ctx); in tun_sendmsg()