Lines Matching refs:bpf_prog
54 const struct bpf_prog *prog; in bpf_prog_run_array_cg()
86 const struct bpf_prog *shim_prog; in __cgroup_bpf_run_lsm_sock()
95 shim_prog = (const struct bpf_prog *)((void *)insn - offsetof(struct bpf_prog, insnsi)); in __cgroup_bpf_run_lsm_sock()
108 const struct bpf_prog *shim_prog; in __cgroup_bpf_run_lsm_socket()
117 shim_prog = (const struct bpf_prog *)((void *)insn - offsetof(struct bpf_prog, insnsi)); in __cgroup_bpf_run_lsm_socket()
130 const struct bpf_prog *shim_prog; in __cgroup_bpf_run_lsm_current()
135 shim_prog = (const struct bpf_prog *)((void *)insn - offsetof(struct bpf_prog, insnsi)); in __cgroup_bpf_run_lsm_current()
226 struct bpf_prog *prog, in bpf_cgroup_storages_alloc()
360 static struct bpf_prog *prog_list_prog(struct bpf_prog_list *pl) in prog_list_prog()
590 struct bpf_prog *prog, in find_attach_entry()
592 struct bpf_prog *replace_prog, in find_attach_entry()
641 struct bpf_prog *prog, struct bpf_prog *replace_prog, in __cgroup_bpf_attach()
646 struct bpf_prog *old_prog = NULL; in __cgroup_bpf_attach()
649 struct bpf_prog *new_prog = prog ? : link->link.prog; in __cgroup_bpf_attach()
759 struct bpf_prog *prog, struct bpf_prog *replace_prog, in cgroup_bpf_attach()
829 struct bpf_prog *new_prog) in __cgroup_bpf_replace()
832 struct bpf_prog *old_prog; in __cgroup_bpf_replace()
861 static int cgroup_bpf_replace(struct bpf_link *link, struct bpf_prog *new_prog, in cgroup_bpf_replace()
862 struct bpf_prog *old_prog) in cgroup_bpf_replace()
886 struct bpf_prog *prog, in find_detach_entry()
927 static void purge_effective_progs(struct cgroup *cgrp, struct bpf_prog *prog, in purge_effective_progs()
984 static int __cgroup_bpf_detach(struct cgroup *cgrp, struct bpf_prog *prog, in __cgroup_bpf_detach()
988 struct bpf_prog *old_prog; in __cgroup_bpf_detach()
1042 static int cgroup_bpf_detach(struct cgroup *cgrp, struct bpf_prog *prog, in cgroup_bpf_detach()
1121 struct bpf_prog *prog; in __cgroup_bpf_query()
1165 enum bpf_prog_type ptype, struct bpf_prog *prog) in cgroup_bpf_prog_attach()
1167 struct bpf_prog *replace_prog = NULL; in cgroup_bpf_prog_attach()
1195 struct bpf_prog *prog; in cgroup_bpf_prog_detach()
1308 int cgroup_bpf_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in cgroup_bpf_link_attach()
1648 cgroup_dev_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in cgroup_dev_func_proto()
1670 const struct bpf_prog *prog, in cgroup_dev_is_valid_access()
2199 sysctl_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in sysctl_func_proto()
2230 const struct bpf_prog *prog, in sysctl_is_valid_access()
2259 struct bpf_prog *prog, u32 *target_size) in sysctl_convert_ctx_access()
2346 cg_sockopt_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in cg_sockopt_func_proto()
2388 const struct bpf_prog *prog, in cg_sockopt_is_valid_access()
2463 struct bpf_prog *prog, in cg_sockopt_convert_ctx_access()
2540 const struct bpf_prog *prog) in cg_sockopt_get_prologue()
2559 cgroup_common_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in cgroup_common_func_proto()
2607 cgroup_current_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in cgroup_current_func_proto()