Lines Matching refs:effective
61 cgrp->bpf.effective[type], in cgroup_bpf_release()
186 rcu_swap_protected(cgrp->bpf.effective[type], old_array, in activate_effective_progs()
203 #define NR ARRAY_SIZE(cgrp->bpf.effective) in cgroup_bpf_inherit()
508 struct bpf_prog_array *effective; in __cgroup_bpf_query() local
511 effective = rcu_dereference_protected(cgrp->bpf.effective[type], in __cgroup_bpf_query()
515 cnt = bpf_prog_array_length(effective); in __cgroup_bpf_query()
532 return bpf_prog_array_copy_to_user(effective, prog_ids, cnt); in __cgroup_bpf_query()
652 cgrp->bpf.effective[type], skb, __bpf_prog_run_save_cb); in __cgroup_bpf_run_filter_skb()
654 ret = BPF_PROG_RUN_ARRAY(cgrp->bpf.effective[type], skb, in __cgroup_bpf_run_filter_skb()
685 ret = BPF_PROG_RUN_ARRAY(cgrp->bpf.effective[type], sk, BPF_PROG_RUN); in __cgroup_bpf_run_filter_sk()
729 ret = BPF_PROG_RUN_ARRAY(cgrp->bpf.effective[type], &ctx, BPF_PROG_RUN); in __cgroup_bpf_run_filter_sock_addr()
758 ret = BPF_PROG_RUN_ARRAY(cgrp->bpf.effective[type], sock_ops, in __cgroup_bpf_run_filter_sock_ops()
777 allow = BPF_PROG_RUN_ARRAY(cgrp->bpf.effective[type], &ctx, in __cgroup_bpf_check_dev_permission()
936 ret = BPF_PROG_RUN_ARRAY(cgrp->bpf.effective[type], &ctx, BPF_PROG_RUN); in __cgroup_bpf_run_filter_sysctl()
960 prog_array = rcu_dereference(cgrp->bpf.effective[attach_type]); in __cgroup_bpf_prog_array_is_empty()
1031 ret = BPF_PROG_RUN_ARRAY(cgrp->bpf.effective[BPF_CGROUP_SETSOCKOPT], in __cgroup_bpf_run_filter_setsockopt()
1125 ret = BPF_PROG_RUN_ARRAY(cgrp->bpf.effective[BPF_CGROUP_GETSOCKOPT], in __cgroup_bpf_run_filter_getsockopt()