Searched refs:bpf_prog (Results 1 – 4 of 4) sorted by relevance
9 struct bpf_prog;16 struct bpf_prog *filter __attribute__((aligned(8)));
310 struct bpf_prog { struct328 struct bpf_prog *prog; argument335 return max(sizeof(struct bpf_prog), in bpf_prog_size()336 offsetof(struct bpf_prog, insns[proglen])); in bpf_prog_size()342 static inline void bpf_prog_lock_ro(struct bpf_prog *fp) in bpf_prog_lock_ro()347 static inline void bpf_prog_unlock_ro(struct bpf_prog *fp) in bpf_prog_unlock_ro()352 static inline void bpf_prog_lock_ro(struct bpf_prog *fp) in bpf_prog_lock_ro()356 static inline void bpf_prog_unlock_ro(struct bpf_prog *fp) in bpf_prog_unlock_ro()363 void bpf_prog_select_runtime(struct bpf_prog *fp);364 void bpf_prog_free(struct bpf_prog *fp);[all …]
120 struct bpf_prog;129 struct bpf_prog *prog;133 void bpf_prog_put(struct bpf_prog *prog);134 struct bpf_prog *bpf_prog_get(u32 ufd);136 int bpf_check(struct bpf_prog *fp, union bpf_attr *attr);
183 struct bpf_prog *pass_filter; /* filter for packets to pass */184 struct bpf_prog *active_filter; /* filter for pkts to reset idle */