Lines Matching refs:array
1450 u32 func_idx; /* 0 for non-func prog, the index in func array for func prog */
1574 /* Programs with direct jumps into programs part of this array. */
1975 /* an array of programs to be executed under rcu_lock.
1983 * is removed from the array before bpf_prog_put().
1985 * since other cpus are walking the array of pointers in parallel.
2018 bool bpf_prog_array_is_empty(struct bpf_prog_array *array);
2024 int bpf_prog_array_delete_safe_at(struct bpf_prog_array *array, int index);
2025 int bpf_prog_array_update_at(struct bpf_prog_array *array, int index,
2027 int bpf_prog_array_copy_info(struct bpf_prog_array *array,
2082 bpf_prog_run_array(const struct bpf_prog_array *array,
2093 if (unlikely(!array))
2100 item = &array->items[0];
2117 * When a non-sleepable program is inside the array, we take the rcu read
2127 const struct bpf_prog_array *array;
2139 array = rcu_dereference_check(array_rcu, rcu_read_lock_trace_held());
2140 if (unlikely(!array))
2143 item = &array->items[0];
3133 bpf_prog_inc_misses_counters(const struct bpf_prog_array *array)
3138 if (unlikely(!array))
3141 item = &array->items[0];