Searched refs:bpf_net_ctx (Results 1 – 7 of 7) sorted by relevance
777 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 …]
241 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in cpu_map_bpf_prog_run() local248 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()
42 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in run_lwt_bpf() local49 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()
4091 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 …]
287 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in xdp_test_run_batch() local300 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() local428 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()
68 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in netkit_xmit() local76 bpf_net_ctx = bpf_net_ctx_set(&__bpf_net_ctx); in netkit_xmit()115 bpf_net_ctx_clear(bpf_net_ctx); in netkit_xmit()
1665 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in tun_build_skb() local1705 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() local2586 bpf_net_ctx = bpf_net_ctx_set(&__bpf_net_ctx); in tun_sendmsg()2601 bpf_net_ctx_clear(bpf_net_ctx); in tun_sendmsg()