Lines Matching defs:bpf_prog_array
1962 * ret = bpf_prog_run_array(rcu_dereference(&bpf_prog_array), ctx, bpf_prog_run);
1968 * The 'struct bpf_prog_array *' should only be replaced with xchg()
1979 struct bpf_prog_array {
1985 struct bpf_prog_array hdr;
1989 /* to avoid allocating empty bpf_prog_array for cgroups that
1997 struct bpf_prog_array *bpf_prog_array_alloc(u32 prog_cnt, gfp_t flags);
1998 void bpf_prog_array_free(struct bpf_prog_array *progs);
1999 /* Use when traversal over the bpf_prog_array uses tasks_trace rcu */
2000 void bpf_prog_array_free_sleepable(struct bpf_prog_array *progs);
2001 int bpf_prog_array_length(struct bpf_prog_array *progs);
2002 bool bpf_prog_array_is_empty(struct bpf_prog_array *array);
2003 int bpf_prog_array_copy_to_user(struct bpf_prog_array *progs,
2006 void bpf_prog_array_delete_safe(struct bpf_prog_array *progs,
2008 int bpf_prog_array_delete_safe_at(struct bpf_prog_array *array, int index);
2009 int bpf_prog_array_update_at(struct bpf_prog_array *array, int index,
2011 int bpf_prog_array_copy_info(struct bpf_prog_array *array,
2014 int bpf_prog_array_copy(struct bpf_prog_array *old_array,
2018 struct bpf_prog_array **new_array);
2066 bpf_prog_run_array(const struct bpf_prog_array *array,
2097 * We use the tasks_trace rcu flavor read section to protect the bpf_prog_array
2106 bpf_prog_run_array_uprobe(const struct bpf_prog_array __rcu *array_rcu,
2111 const struct bpf_prog_array *array;
3110 bpf_prog_inc_misses_counters(const struct bpf_prog_array *array)