Lines Matching refs:array
786 u32 func_idx; /* 0 for non-func prog, the index in func array for func prog */
860 /* 'Ownership' of prog array is claimed by the first program that
870 /* Programs with direct jumps into programs part of this array. */
1015 bool bpf_prog_array_compatible(struct bpf_array *array, const struct bpf_prog *fp);
1028 /* an array of programs to be executed under rcu_lock.
1036 * is removed from the array before bpf_prog_put().
1038 * since other cpus are walking the array of pointers in parallel.
1053 bool bpf_prog_array_is_empty(struct bpf_prog_array *array);
1057 int bpf_prog_array_delete_safe_at(struct bpf_prog_array *array, int index);
1058 int bpf_prog_array_update_at(struct bpf_prog_array *array, int index, struct bpf_prog *prog);
1059 int bpf_prog_array_copy_info(struct bpf_prog_array *array, u32 *prog_ids, u32 request_cnt, u32 *prog_cnt);
1071 #define I_BPF_PROG_RUN_ARRAY(array, ctx, func, check_non_null, set_cg_storage) \
1081 _array = rcu_dereference(array); \
1120 #define BPF_PROG_CGROUP_INET_EGRESS_RUN_ARRAY(array, ctx, func) \
1132 _array = rcu_dereference(array); \
1152 #define BPF_PROG_RUN_ARRAY(array, ctx, func) I_BPF_PROG_RUN_ARRAY(array, ctx, func, false, true)
1154 #define BPF_PROG_RUN_ARRAY_CHECK(array, ctx, func) I_BPF_PROG_RUN_ARRAY(array, ctx, func, true, false)