Home
last modified time | relevance | path

Searched refs:bpf_net_context (Results 1 – 8 of 8) sorted by relevance

/linux/include/linux/
H A Dfilter.h786 struct bpf_net_context { struct
793 static inline struct bpf_net_context *bpf_net_ctx_set(struct bpf_net_context *bpf_net_ctx) in bpf_net_ctx_set() argument
797 if (tsk->bpf_net_context != NULL) in bpf_net_ctx_set()
801 tsk->bpf_net_context = bpf_net_ctx; in bpf_net_ctx_set()
805 static inline void bpf_net_ctx_clear(struct bpf_net_context *bpf_net_ctx) in bpf_net_ctx_clear()
808 current->bpf_net_context = NULL; in bpf_net_ctx_clear()
811 static inline struct bpf_net_context *bpf_net_ctx_get(void) in bpf_net_ctx_get()
813 return current->bpf_net_context; in bpf_net_ctx_get()
818 struct bpf_net_context *bpf_net_ctx = bpf_net_ctx_get(); in bpf_net_ctx_get_ri()
821 memset(&bpf_net_ctx->ri, 0, offsetof(struct bpf_net_context, ri.nh)); in bpf_net_ctx_get_ri()
[all …]
H A Dsched.h63 struct bpf_net_context;
1586 struct bpf_net_context *bpf_net_context; member
/linux/net/core/
H A Dlwt_bpf.c43 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in run_lwt_bpf()
H A Ddev.c4459 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in sch_handle_ingress()
4522 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in sch_handle_egress()
5630 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in do_xdp_generic()
6866 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in busy_poll_stop()
6917 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in __napi_busy_loop()
7815 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in napi_threaded_poll_loop()
7895 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in net_rx_action()
/linux/kernel/bpf/
H A Dcpumap.c251 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in cpu_map_bpf_prog_run()
/linux/net/bpf/
H A Dtest_run.c277 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in xdp_test_run_batch()
392 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in bpf_test_run()
/linux/drivers/net/
H A Dnetkit.c81 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in netkit_xmit()
H A Dtun.c1603 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in tun_build_skb()
2522 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in tun_sendmsg()