Lines Matching refs:bpf_prog

37 	const struct bpf_prog *prog;  in bpf_prog_run_array_cg()
69 const struct bpf_prog *shim_prog; in __cgroup_bpf_run_lsm_sock()
78 shim_prog = (const struct bpf_prog *)((void *)insn - offsetof(struct bpf_prog, insnsi)); in __cgroup_bpf_run_lsm_sock()
91 const struct bpf_prog *shim_prog; in __cgroup_bpf_run_lsm_socket()
100 shim_prog = (const struct bpf_prog *)((void *)insn - offsetof(struct bpf_prog, insnsi)); in __cgroup_bpf_run_lsm_socket()
113 const struct bpf_prog *shim_prog; in __cgroup_bpf_run_lsm_current()
118 shim_prog = (const struct bpf_prog *)((void *)insn - offsetof(struct bpf_prog, insnsi)); in __cgroup_bpf_run_lsm_current()
209 struct bpf_prog *prog, in bpf_cgroup_storages_alloc()
343 static struct bpf_prog *prog_list_prog(struct bpf_prog_list *pl) in prog_list_prog()
557 struct bpf_prog *prog, in find_attach_entry()
559 struct bpf_prog *replace_prog, in find_attach_entry()
608 struct bpf_prog *prog, struct bpf_prog *replace_prog, in __cgroup_bpf_attach()
613 struct bpf_prog *old_prog = NULL; in __cgroup_bpf_attach()
616 struct bpf_prog *new_prog = prog ? : link->link.prog; in __cgroup_bpf_attach()
725 struct bpf_prog *prog, struct bpf_prog *replace_prog, in cgroup_bpf_attach()
795 struct bpf_prog *new_prog) in __cgroup_bpf_replace()
798 struct bpf_prog *old_prog; in __cgroup_bpf_replace()
827 static int cgroup_bpf_replace(struct bpf_link *link, struct bpf_prog *new_prog, in cgroup_bpf_replace()
828 struct bpf_prog *old_prog) in cgroup_bpf_replace()
852 struct bpf_prog *prog, in find_detach_entry()
893 static void purge_effective_progs(struct cgroup *cgrp, struct bpf_prog *prog, in purge_effective_progs()
950 static int __cgroup_bpf_detach(struct cgroup *cgrp, struct bpf_prog *prog, in __cgroup_bpf_detach()
954 struct bpf_prog *old_prog; in __cgroup_bpf_detach()
1008 static int cgroup_bpf_detach(struct cgroup *cgrp, struct bpf_prog *prog, in cgroup_bpf_detach()
1087 struct bpf_prog *prog; in __cgroup_bpf_query()
1131 enum bpf_prog_type ptype, struct bpf_prog *prog) in cgroup_bpf_prog_attach()
1133 struct bpf_prog *replace_prog = NULL; in cgroup_bpf_prog_attach()
1161 struct bpf_prog *prog; in cgroup_bpf_prog_detach()
1274 int cgroup_bpf_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in cgroup_bpf_link_attach()
1603 cgroup_dev_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in cgroup_dev_func_proto()
1625 const struct bpf_prog *prog, in cgroup_dev_is_valid_access()
2151 sysctl_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in sysctl_func_proto()
2182 const struct bpf_prog *prog, in sysctl_is_valid_access()
2211 struct bpf_prog *prog, u32 *target_size) in sysctl_convert_ctx_access()
2298 cg_sockopt_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in cg_sockopt_func_proto()
2340 const struct bpf_prog *prog, in cg_sockopt_is_valid_access()
2415 struct bpf_prog *prog, in cg_sockopt_convert_ctx_access()
2492 const struct bpf_prog *prog) in cg_sockopt_get_prologue()
2511 cgroup_common_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in cgroup_common_func_proto()
2553 cgroup_current_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in cgroup_current_func_proto()