Lines Matching defs:bpf_verifier_env
359 struct bpf_verifier_env { struct
360 u32 insn_idx;
361 u32 prev_insn_idx;
362 struct bpf_prog *prog; /* eBPF program being verified */
363 const struct bpf_verifier_ops *ops;
364 struct bpf_verifier_stack_elem *head; /* stack of verifier states to be processed */
365 int stack_size; /* number of states to be processed */
366 bool strict_alignment; /* perform strict pointer alignment checks */
367 bool test_state_freq; /* test verifier with different pruning frequency */
368 struct bpf_verifier_state *cur_state; /* current verifier state */
369 struct bpf_verifier_state_list **explored_states; /* search pruning optimization */
370 struct bpf_verifier_state_list *free_list;
371 struct bpf_map *used_maps[MAX_USED_MAPS]; /* array of map's used by eBPF program */
372 u32 used_map_cnt; /* number of used maps */
373 u32 id_gen; /* used to generate unique reg IDs */
374 bool explore_alu_limits;
375 bool allow_ptr_leaks;
376 bool seen_direct_write;
377 struct bpf_insn_aux_data *insn_aux_data; /* array of per-insn state */
378 const struct bpf_line_info *prev_linfo;
379 struct bpf_verifier_log log;
380 struct bpf_subprog_info subprog_info[BPF_MAX_SUBPROGS + 1];
381 struct bpf_id_pair idmap_scratch[BPF_ID_MAP_SIZE];
382 struct {
409 __printf(2, 3) void bpf_verifier_log_write(struct bpf_verifier_env *env, argument