Lines Matching full:effective

46 	array = rcu_dereference(cgrp->effective[atype]);  in bpf_prog_run_array_cg()
308 cgrp->bpf.effective[atype], in cgroup_bpf_release()
395 /* compute a chain of effective programs for a given cgroup:
411 /* count number of effective programs by walking parents */ in compute_effective_progs()
422 /* populate the array with effective progs */ in compute_effective_progs()
449 old_array = rcu_replace_pointer(cgrp->bpf.effective[atype], old_array, in activate_effective_progs()
458 * cgroup_bpf_inherit() - inherit effective programs from parent
466 #define NR ARRAY_SIZE(cgrp->bpf.effective) in cgroup_bpf_inherit()
510 /* allocate and recompute effective prog arrays */ in update_effective_progs()
541 /* oom while computing effective. Free all computed effective arrays in update_effective_progs()
738 /* Swap updated BPF program for given link in effective program arrays across
759 /* find position of link in effective progs array */ in replace_effective_prog()
776 desc->bpf.effective[atype], in replace_effective_prog()
904 /* recompute effective prog array in place */ in purge_effective_progs()
911 /* find position of link or prog in effective progs array */ in purge_effective_progs()
930 desc->bpf.effective[atype], in purge_effective_progs()
980 /* mark it deleted, so it's ignored while recomputing effective */ in __cgroup_bpf_detach()
986 /* if update effective array failed replace the prog with a dummy prog*/ in __cgroup_bpf_detach()
1029 struct bpf_prog_array *effective; in __cgroup_bpf_query() local
1055 effective = rcu_dereference_protected(cgrp->bpf.effective[atype], in __cgroup_bpf_query()
1057 total_cnt += bpf_prog_array_length(effective); in __cgroup_bpf_query()
1063 /* always output uattr->query.attach_flags as 0 during effective query */ in __cgroup_bpf_query()
1080 effective = rcu_dereference_protected(cgrp->bpf.effective[atype], in __cgroup_bpf_query()
1082 cnt = min_t(int, bpf_prog_array_length(effective), total_cnt); in __cgroup_bpf_query()
1083 ret = bpf_prog_array_copy_to_user(effective, prog_ids, cnt); in __cgroup_bpf_query()