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()
574 struct bpf_prog *prog, in find_attach_entry()
576 struct bpf_prog *replace_prog, in find_attach_entry()
625 struct bpf_prog *prog, struct bpf_prog *replace_prog, in __cgroup_bpf_attach()
630 struct bpf_prog *old_prog = NULL; in __cgroup_bpf_attach()
633 struct bpf_prog *new_prog = prog ? : link->link.prog; in __cgroup_bpf_attach()
742 struct bpf_prog *prog, struct bpf_prog *replace_prog, in cgroup_bpf_attach()
812 struct bpf_prog *new_prog) in __cgroup_bpf_replace()
815 struct bpf_prog *old_prog; in __cgroup_bpf_replace()
844 static int cgroup_bpf_replace(struct bpf_link *link, struct bpf_prog *new_prog, in cgroup_bpf_replace()
845 struct bpf_prog *old_prog) in cgroup_bpf_replace()
869 struct bpf_prog *prog, in find_detach_entry()
910 static void purge_effective_progs(struct cgroup *cgrp, struct bpf_prog *prog, in purge_effective_progs()
967 static int __cgroup_bpf_detach(struct cgroup *cgrp, struct bpf_prog *prog, in __cgroup_bpf_detach()
971 struct bpf_prog *old_prog; in __cgroup_bpf_detach()
1025 static int cgroup_bpf_detach(struct cgroup *cgrp, struct bpf_prog *prog, in cgroup_bpf_detach()
1104 struct bpf_prog *prog; in __cgroup_bpf_query()
1148 enum bpf_prog_type ptype, struct bpf_prog *prog) in cgroup_bpf_prog_attach()
1150 struct bpf_prog *replace_prog = NULL; in cgroup_bpf_prog_attach()
1178 struct bpf_prog *prog; in cgroup_bpf_prog_detach()
1291 int cgroup_bpf_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in cgroup_bpf_link_attach()
1631 cgroup_dev_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in cgroup_dev_func_proto()
1653 const struct bpf_prog *prog, in cgroup_dev_is_valid_access()
2182 sysctl_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in sysctl_func_proto()
2213 const struct bpf_prog *prog, in sysctl_is_valid_access()
2242 struct bpf_prog *prog, u32 *target_size) in sysctl_convert_ctx_access()
2329 cg_sockopt_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in cg_sockopt_func_proto()
2371 const struct bpf_prog *prog, in cg_sockopt_is_valid_access()
2446 struct bpf_prog *prog, in cg_sockopt_convert_ctx_access()
2523 const struct bpf_prog *prog) in cg_sockopt_get_prologue()
2542 cgroup_common_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in cgroup_common_func_proto()
2590 cgroup_current_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in cgroup_current_func_proto()