• Home
  • Raw
  • Download

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()
505 struct bpf_prog_array *effective; in __cgroup_bpf_query() local
508 effective = rcu_dereference_protected(cgrp->bpf.effective[type], in __cgroup_bpf_query()
512 cnt = bpf_prog_array_length(effective); in __cgroup_bpf_query()
529 return bpf_prog_array_copy_to_user(effective, prog_ids, cnt); in __cgroup_bpf_query()
649 cgrp->bpf.effective[type], skb, __bpf_prog_run_save_cb); in __cgroup_bpf_run_filter_skb()
651 ret = BPF_PROG_RUN_ARRAY(cgrp->bpf.effective[type], skb, in __cgroup_bpf_run_filter_skb()
682 ret = BPF_PROG_RUN_ARRAY(cgrp->bpf.effective[type], sk, BPF_PROG_RUN); in __cgroup_bpf_run_filter_sk()
726 ret = BPF_PROG_RUN_ARRAY(cgrp->bpf.effective[type], &ctx, BPF_PROG_RUN); in __cgroup_bpf_run_filter_sock_addr()
755 ret = BPF_PROG_RUN_ARRAY(cgrp->bpf.effective[type], sock_ops, in __cgroup_bpf_run_filter_sock_ops()
774 allow = BPF_PROG_RUN_ARRAY(cgrp->bpf.effective[type], &ctx, in __cgroup_bpf_check_dev_permission()
933 ret = BPF_PROG_RUN_ARRAY(cgrp->bpf.effective[type], &ctx, BPF_PROG_RUN); in __cgroup_bpf_run_filter_sysctl()
957 prog_array = rcu_dereference(cgrp->bpf.effective[attach_type]); in __cgroup_bpf_prog_array_is_empty()
1021 ret = BPF_PROG_RUN_ARRAY(cgrp->bpf.effective[BPF_CGROUP_SETSOCKOPT], in __cgroup_bpf_run_filter_setsockopt()
1105 ret = BPF_PROG_RUN_ARRAY(cgrp->bpf.effective[BPF_CGROUP_GETSOCKOPT], in __cgroup_bpf_run_filter_getsockopt()