Lines Matching full:effective
134 cgrp->bpf.effective[atype], in cgroup_bpf_release()
221 /* compute a chain of effective programs for a given cgroup:
237 /* count number of effective programs by walking parents */ in compute_effective_progs()
248 /* populate the array with effective progs */ in compute_effective_progs()
275 old_array = rcu_replace_pointer(cgrp->bpf.effective[atype], old_array, in activate_effective_progs()
284 * cgroup_bpf_inherit() - inherit effective programs from parent
292 #define NR ARRAY_SIZE(cgrp->bpf.effective) in cgroup_bpf_inherit()
336 /* allocate and recompute effective prog arrays */ in update_effective_progs()
367 /* oom while computing effective. Free all computed effective arrays in update_effective_progs()
526 /* Swap updated BPF program for given link in effective program arrays across
547 /* find position of link in effective progs array */ in replace_effective_prog()
564 desc->bpf.effective[atype], in replace_effective_prog()
706 /* mark it deleted, so it's ignored while recomputing effective */ in __cgroup_bpf_detach()
740 struct bpf_prog_array *effective; in __cgroup_bpf_query() local
753 effective = rcu_dereference_protected(cgrp->bpf.effective[atype], in __cgroup_bpf_query()
757 cnt = bpf_prog_array_length(effective); in __cgroup_bpf_query()
774 return bpf_prog_array_copy_to_user(effective, prog_ids, cnt); in __cgroup_bpf_query()
1043 cgrp->bpf.effective[atype], skb, __bpf_prog_run_save_cb); in __cgroup_bpf_run_filter_skb()
1045 ret = BPF_PROG_RUN_ARRAY_CG(cgrp->bpf.effective[atype], skb, in __cgroup_bpf_run_filter_skb()
1076 ret = BPF_PROG_RUN_ARRAY_CG(cgrp->bpf.effective[atype], sk, bpf_prog_run); in __cgroup_bpf_run_filter_sk()
1123 ret = BPF_PROG_RUN_ARRAY_CG_FLAGS(cgrp->bpf.effective[atype], &ctx, in __cgroup_bpf_run_filter_sock_addr()
1153 ret = BPF_PROG_RUN_ARRAY_CG(cgrp->bpf.effective[atype], sock_ops, in __cgroup_bpf_run_filter_sock_ops()
1172 allow = BPF_PROG_RUN_ARRAY_CG(cgrp->bpf.effective[atype], &ctx, in __cgroup_bpf_check_dev_permission()
1304 ret = BPF_PROG_RUN_ARRAY_CG(cgrp->bpf.effective[atype], &ctx, bpf_prog_run); in __cgroup_bpf_run_filter_sysctl()
1328 prog_array = rcu_dereference(cgrp->bpf.effective[attach_type]); in __cgroup_bpf_prog_array_is_empty()
1418 ret = BPF_PROG_RUN_ARRAY_CG(cgrp->bpf.effective[CGROUP_SETSOCKOPT], in __cgroup_bpf_run_filter_setsockopt()
1528 ret = BPF_PROG_RUN_ARRAY_CG(cgrp->bpf.effective[CGROUP_GETSOCKOPT], in __cgroup_bpf_run_filter_getsockopt()
1589 ret = BPF_PROG_RUN_ARRAY_CG(cgrp->bpf.effective[CGROUP_GETSOCKOPT], in __cgroup_bpf_run_filter_getsockopt_kern()