Home
last modified time | relevance | path

Searched refs:bpf_insn_aux_data (Results 1 – 6 of 6) sorted by relevance

/linux/kernel/bpf/
H A Dconst_fold.c235 struct bpf_insn_aux_data *insn_aux = env->insn_aux_data; in bpf_compute_const_regs()
278 struct bpf_insn_aux_data *aux = &insn_aux[i]; in bpf_compute_const_regs()
341 struct bpf_insn_aux_data *insn_aux = env->insn_aux_data; in bpf_prune_dead_branches()
348 struct bpf_insn_aux_data *aux = &insn_aux[i]; in bpf_prune_dead_branches()
H A Dfixups.c223 struct bpf_insn_aux_data *data = env->insn_aux_data; in adjust_insn_aux_data()
241 sizeof(struct bpf_insn_aux_data) * (prog_len - off - cnt + 1)); in adjust_insn_aux_data()
242 memset(data + off, 0, sizeof(struct bpf_insn_aux_data) * (cnt - 1)); in adjust_insn_aux_data()
313 struct bpf_insn_aux_data *new_data = NULL; in bpf_patch_insn_data()
318 sizeof(struct bpf_insn_aux_data)), in bpf_patch_insn_data()
508 struct bpf_insn_aux_data *aux_data = env->insn_aux_data; in bpf_clear_insn_aux_data()
522 struct bpf_insn_aux_data *aux_data = env->insn_aux_data; in verifier_remove_insns()
571 struct bpf_insn_aux_data *aux_data = env->insn_aux_data; in bpf_opt_hard_wire_dead_code_branches()
597 struct bpf_insn_aux_data *aux_data = env->insn_aux_data; in bpf_opt_remove_dead_code()
651 struct bpf_insn_aux_data *aux = env->insn_aux_data; in bpf_opt_subreg_zext_lo32_rnd_hi32()
[all …]
H A Dverifier.c223 static void bpf_map_ptr_store(struct bpf_insn_aux_data *aux, in bpf_map_ptr_store()
233 static void bpf_map_key_store(struct bpf_insn_aux_data *aux, u64 state) in bpf_map_key_store()
3481 struct bpf_insn_aux_data *aux = env->insn_aux_data; in check_fastcall_stack_contract()
10067 struct bpf_insn_aux_data *insn_aux = &env->insn_aux_data[insn_idx]; in set_map_elem_callback_state()
10487 struct bpf_insn_aux_data *aux = &env->insn_aux_data[insn_idx]; in record_func_map()
10533 struct bpf_insn_aux_data *aux = &env->insn_aux_data[insn_idx]; in record_func_key()
10695 static struct bpf_insn_aux_data *cur_aux(const struct bpf_verifier_env *env) in cur_aux()
13404 struct bpf_insn_aux_data *aux = &env->insn_aux_data[insn_idx]; in bpf_helper_stack_access_bytes()
13522 struct bpf_insn_aux_data *aux = &env->insn_aux_data[insn_idx]; in bpf_kfunc_stack_access_bytes()
13585 struct bpf_reg_state *regs, struct bpf_insn_aux_data *insn_aux, in check_special_kfunc()
[all …]
H A Dcfg.c749 struct bpf_insn_aux_data *aux = env->insn_aux_data; in bpf_compute_scc()
H A Dliveness.c1468 struct bpf_insn_aux_data *aux = &env->insn_aux_data[insn_idx]; in find_callback_subprog()
2226 struct bpf_insn_aux_data *insn_aux = env->insn_aux_data; in bpf_compute_live_registers()
/linux/include/linux/
H A Dbpf_verifier.h642 struct bpf_insn_aux_data { struct
958 struct bpf_insn_aux_data *insn_aux_data; /* array of per-insn state */
1647 static inline bool bpf_map_ptr_poisoned(const struct bpf_insn_aux_data *aux) in bpf_map_ptr_poisoned()
1652 static inline bool bpf_map_ptr_unpriv(const struct bpf_insn_aux_data *aux) in bpf_map_ptr_unpriv()
1657 static inline bool bpf_map_key_poisoned(const struct bpf_insn_aux_data *aux) in bpf_map_key_poisoned()
1662 static inline bool bpf_map_key_unseen(const struct bpf_insn_aux_data *aux) in bpf_map_key_unseen()
1667 static inline u64 bpf_map_key_immediate(const struct bpf_insn_aux_data *aux) in bpf_map_key_immediate()