Lines Matching refs:effective
63 array = rcu_dereference(cgrp->effective[atype]);
325 cgrp->bpf.effective[atype],
412 /* compute a chain of effective programs for a given cgroup:
428 /* count number of effective programs by walking parents */
439 /* populate the array with effective progs */
466 old_array = rcu_replace_pointer(cgrp->bpf.effective[atype], old_array,
475 * cgroup_bpf_inherit() - inherit effective programs from parent
483 #define NR ARRAY_SIZE(cgrp->bpf.effective)
527 /* allocate and recompute effective prog arrays */
558 /* oom while computing effective. Free all computed effective arrays
755 /* Swap updated BPF program for given link in effective program arrays across
776 /* find position of link in effective progs array */
793 desc->bpf.effective[atype],
921 /* recompute effective prog array in place */
928 /* find position of link or prog in effective progs array */
947 desc->bpf.effective[atype],
997 /* mark it deleted, so it's ignored while recomputing effective */
1003 /* if update effective array failed replace the prog with a dummy prog*/
1046 struct bpf_prog_array *effective;
1072 effective = rcu_dereference_protected(cgrp->bpf.effective[atype],
1074 total_cnt += bpf_prog_array_length(effective);
1080 /* always output uattr->query.attach_flags as 0 during effective query */
1097 effective = rcu_dereference_protected(cgrp->bpf.effective[atype],
1099 cnt = min_t(int, bpf_prog_array_length(effective), total_cnt);
1100 ret = bpf_prog_array_copy_to_user(effective, prog_ids, cnt);