Lines Matching refs:prog

232 	int (*test_run)(struct bpf_prog *prog, const union bpf_attr *kattr,
240 const struct bpf_prog *prog);
246 const struct bpf_prog *prog,
249 const struct bpf_prog *prog);
255 struct bpf_prog *prog, u32 *target_size);
264 struct bpf_prog *prog; member
288 struct bpf_prog *prog; member
341 int bpf_prog_test_run_xdp(struct bpf_prog *prog, const union bpf_attr *kattr,
343 int bpf_prog_test_run_skb(struct bpf_prog *prog, const union bpf_attr *kattr,
359 struct bpf_prog *prog; member
396 while ((_prog = READ_ONCE(_item->prog))) { \
435 struct bpf_prog * __must_check bpf_prog_add(struct bpf_prog *prog, int i);
436 void bpf_prog_sub(struct bpf_prog *prog, int i);
437 struct bpf_prog * __must_check bpf_prog_inc(struct bpf_prog *prog);
438 struct bpf_prog * __must_check bpf_prog_inc_not_zero(struct bpf_prog *prog);
439 void bpf_prog_put(struct bpf_prog *prog);
443 void bpf_prog_free_id(struct bpf_prog *prog, bool do_idr_lock);
461 int bpf_prog_new_fd(struct bpf_prog *prog);
547 static inline struct bpf_prog * __must_check bpf_prog_add(struct bpf_prog *prog, in bpf_prog_add() argument
553 static inline void bpf_prog_sub(struct bpf_prog *prog, int i) in bpf_prog_sub() argument
557 static inline void bpf_prog_put(struct bpf_prog *prog) in bpf_prog_put() argument
561 static inline struct bpf_prog * __must_check bpf_prog_inc(struct bpf_prog *prog) in bpf_prog_inc() argument
567 bpf_prog_inc_not_zero(struct bpf_prog *prog) in bpf_prog_inc_not_zero() argument
655 int bpf_prog_offload_compile(struct bpf_prog *prog);
656 void bpf_prog_offload_destroy(struct bpf_prog *prog);
658 struct bpf_prog *prog);
669 bool bpf_offload_prog_map_match(struct bpf_prog *prog, struct bpf_map *map);
677 bool bpf_offload_dev_match(struct bpf_prog *prog, struct net_device *netdev);
680 int bpf_prog_offload_init(struct bpf_prog *prog, union bpf_attr *attr);
695 static inline int bpf_prog_offload_init(struct bpf_prog *prog, in bpf_prog_offload_init() argument
724 int sock_map_prog(struct bpf_map *map, struct bpf_prog *prog, u32 type);
726 struct bpf_prog *prog);
740 struct bpf_prog *prog, in sock_map_prog() argument
747 struct bpf_prog *prog) in sockmap_get_from_fd() argument