Lines Matching refs:prog
301 int (*test_run)(struct bpf_prog *prog, const union bpf_attr *kattr,
309 const struct bpf_prog *prog);
315 const struct bpf_prog *prog,
318 const struct bpf_prog *prog);
324 struct bpf_prog *prog, u32 *target_size);
337 int (*prepare)(struct bpf_prog *prog);
338 int (*translate)(struct bpf_prog *prog);
339 void (*destroy)(struct bpf_prog *prog);
343 struct bpf_prog *prog; member
386 struct bpf_prog *prog; member
493 struct bpf_prog *prog,
512 struct bpf_prog *prog; member
550 while ((_prog = READ_ONCE(_item->prog))) { \
595 while ((_prog = READ_ONCE(_item->prog))) { \
639 struct bpf_prog * __must_check bpf_prog_add(struct bpf_prog *prog, int i);
640 void bpf_prog_sub(struct bpf_prog *prog, int i);
641 struct bpf_prog * __must_check bpf_prog_inc(struct bpf_prog *prog);
642 struct bpf_prog * __must_check bpf_prog_inc_not_zero(struct bpf_prog *prog);
643 void bpf_prog_put(struct bpf_prog *prog);
647 void bpf_prog_free_id(struct bpf_prog *prog, bool do_idr_lock);
670 int bpf_prog_new_fd(struct bpf_prog *prog);
743 int bpf_prog_test_run_xdp(struct bpf_prog *prog, const union bpf_attr *kattr,
745 int bpf_prog_test_run_skb(struct bpf_prog *prog, const union bpf_attr *kattr,
747 int bpf_prog_test_run_flow_dissector(struct bpf_prog *prog,
763 static inline struct bpf_prog * __must_check bpf_prog_add(struct bpf_prog *prog, in bpf_prog_add() argument
769 static inline void bpf_prog_sub(struct bpf_prog *prog, int i) in bpf_prog_sub() argument
773 static inline void bpf_prog_put(struct bpf_prog *prog) in bpf_prog_put() argument
777 static inline struct bpf_prog * __must_check bpf_prog_inc(struct bpf_prog *prog) in bpf_prog_inc() argument
783 bpf_prog_inc_not_zero(struct bpf_prog *prog) in bpf_prog_inc_not_zero() argument
860 static inline int bpf_prog_test_run_xdp(struct bpf_prog *prog, in bpf_prog_test_run_xdp() argument
867 static inline int bpf_prog_test_run_skb(struct bpf_prog *prog, in bpf_prog_test_run_skb() argument
874 static inline int bpf_prog_test_run_flow_dissector(struct bpf_prog *prog, in bpf_prog_test_run_flow_dissector() argument
890 int bpf_prog_offload_compile(struct bpf_prog *prog);
891 void bpf_prog_offload_destroy(struct bpf_prog *prog);
893 struct bpf_prog *prog);
904 bool bpf_offload_prog_map_match(struct bpf_prog *prog, struct bpf_map *map);
914 bool bpf_offload_dev_match(struct bpf_prog *prog, struct net_device *netdev);
917 int bpf_prog_offload_init(struct bpf_prog *prog, union bpf_attr *attr);
932 static inline int bpf_prog_offload_init(struct bpf_prog *prog, in bpf_prog_offload_init() argument
959 int sock_map_prog_update(struct bpf_map *map, struct bpf_prog *prog, u32 which);
960 int sock_map_get_from_fd(const union bpf_attr *attr, struct bpf_prog *prog);
963 struct bpf_prog *prog, u32 which) in sock_map_prog_update() argument
969 struct bpf_prog *prog) in sock_map_get_from_fd() argument
1072 struct bpf_prog *prog,
1090 struct bpf_prog *prog, in bpf_sock_convert_ctx_access() argument
1104 struct bpf_prog *prog,
1113 struct bpf_prog *prog,
1126 struct bpf_prog *prog, in bpf_tcp_sock_convert_ctx_access() argument
1141 struct bpf_prog *prog, in bpf_xdp_sock_convert_ctx_access() argument