• Home
  • Raw
  • Download

Lines Matching full:effective

151 				cgrp->bpf.effective[type],  in cgroup_bpf_release()
238 /* compute a chain of effective programs for a given cgroup:
254 /* count number of effective programs by walking parents */ in compute_effective_progs()
265 /* populate the array with effective progs */ in compute_effective_progs()
292 old_array = rcu_replace_pointer(cgrp->bpf.effective[type], old_array, in activate_effective_progs()
301 * cgroup_bpf_inherit() - inherit effective programs from parent
309 #define NR ARRAY_SIZE(cgrp->bpf.effective) in cgroup_bpf_inherit()
353 /* allocate and recompute effective prog arrays */ in update_effective_progs()
384 /* oom while computing effective. Free all computed effective arrays in update_effective_progs()
536 /* Swap updated BPF program for given link in effective program arrays across
557 /* find position of link in effective progs array */ in replace_effective_prog()
574 desc->bpf.effective[type], in replace_effective_prog()
694 /* recompute effective prog array in place */ in purge_effective_progs()
701 /* find position of link or prog in effective progs array */ in purge_effective_progs()
720 desc->bpf.effective[type], in purge_effective_progs()
756 /* mark it deleted, so it's ignored while recomputing effective */ in __cgroup_bpf_detach()
762 /* if update effective array failed replace the prog with a dummy prog*/ in __cgroup_bpf_detach()
788 struct bpf_prog_array *effective; in __cgroup_bpf_query() local
792 effective = rcu_dereference_protected(cgrp->bpf.effective[type], in __cgroup_bpf_query()
796 cnt = bpf_prog_array_length(effective); in __cgroup_bpf_query()
813 return bpf_prog_array_copy_to_user(effective, prog_ids, cnt); in __cgroup_bpf_query()
1082 cgrp->bpf.effective[type], skb, __bpf_prog_run_save_cb); in __cgroup_bpf_run_filter_skb()
1084 ret = BPF_PROG_RUN_ARRAY(cgrp->bpf.effective[type], skb, in __cgroup_bpf_run_filter_skb()
1115 ret = BPF_PROG_RUN_ARRAY(cgrp->bpf.effective[type], sk, BPF_PROG_RUN); in __cgroup_bpf_run_filter_sk()
1159 ret = BPF_PROG_RUN_ARRAY(cgrp->bpf.effective[type], &ctx, BPF_PROG_RUN); in __cgroup_bpf_run_filter_sock_addr()
1188 ret = BPF_PROG_RUN_ARRAY(cgrp->bpf.effective[type], sock_ops, in __cgroup_bpf_run_filter_sock_ops()
1207 allow = BPF_PROG_RUN_ARRAY(cgrp->bpf.effective[type], &ctx, in __cgroup_bpf_check_dev_permission()
1339 ret = BPF_PROG_RUN_ARRAY(cgrp->bpf.effective[type], &ctx, BPF_PROG_RUN); in __cgroup_bpf_run_filter_sysctl()
1363 prog_array = rcu_dereference(cgrp->bpf.effective[attach_type]); in __cgroup_bpf_prog_array_is_empty()
1434 ret = BPF_PROG_RUN_ARRAY(cgrp->bpf.effective[BPF_CGROUP_SETSOCKOPT], in __cgroup_bpf_run_filter_setsockopt()
1527 ret = BPF_PROG_RUN_ARRAY(cgrp->bpf.effective[BPF_CGROUP_GETSOCKOPT], in __cgroup_bpf_run_filter_getsockopt()
1591 ret = BPF_PROG_RUN_ARRAY(cgrp->bpf.effective[BPF_CGROUP_GETSOCKOPT], in __cgroup_bpf_run_filter_getsockopt_kern()