Lines Matching refs:caller
6904 struct bpf_func_state *caller,
6909 struct bpf_func_state *caller,
6918 struct bpf_func_state *caller, *callee; in __check_func_call() local
6928 caller = state->frame[state->curframe]; in __check_func_call()
6938 err = btf_check_subprog_call(env, subprog, caller->regs); in __check_func_call()
6951 clear_caller_saved_regs(env, caller->regs); in __check_func_call()
6954 mark_reg_unknown(env, caller->regs, BPF_REG_0); in __check_func_call()
6955 caller->regs[BPF_REG_0].subreg_def = DEF_NOT_SUBREG; in __check_func_call()
6984 callee->async_entry_cnt = caller->async_entry_cnt + 1; in __check_func_call()
6987 err = set_callee_state_cb(env, caller, callee, *insn_idx); in __check_func_call()
6991 clear_caller_saved_regs(env, caller->regs); in __check_func_call()
6992 mark_reg_unknown(env, caller->regs, BPF_REG_0); in __check_func_call()
6993 caller->regs[BPF_REG_0].subreg_def = DEF_NOT_SUBREG; in __check_func_call()
7014 err = copy_reference_state(callee, caller); in __check_func_call()
7018 err = set_callee_state_cb(env, caller, callee, *insn_idx); in __check_func_call()
7022 clear_caller_saved_regs(env, caller->regs); in __check_func_call()
7032 print_verifier_state(env, caller, true); in __check_func_call()
7045 struct bpf_func_state *caller, in map_set_for_each_callback_args() argument
7053 callee->regs[BPF_REG_1] = caller->regs[BPF_REG_1]; in map_set_for_each_callback_args()
7057 callee->regs[BPF_REG_2].map_ptr = caller->regs[BPF_REG_1].map_ptr; in map_set_for_each_callback_args()
7061 callee->regs[BPF_REG_3].map_ptr = caller->regs[BPF_REG_1].map_ptr; in map_set_for_each_callback_args()
7064 callee->regs[BPF_REG_4] = caller->regs[BPF_REG_3]; in map_set_for_each_callback_args()
7072 struct bpf_func_state *caller, in set_callee_state() argument
7081 callee->regs[i] = caller->regs[i]; in set_callee_state()
7102 struct bpf_func_state *caller, in set_map_elem_callback_state() argument
7122 err = map->ops->map_set_for_each_callback_args(env, caller, callee); in set_map_elem_callback_state()
7132 struct bpf_func_state *caller, in set_loop_callback_state() argument
7141 callee->regs[BPF_REG_2] = caller->regs[BPF_REG_3]; in set_loop_callback_state()
7154 struct bpf_func_state *caller, in set_timer_callback_state() argument
7158 struct bpf_map *map_ptr = caller->regs[BPF_REG_1].map_ptr; in set_timer_callback_state()
7184 struct bpf_func_state *caller, in set_find_vma_callback_state() argument
7193 callee->regs[BPF_REG_1] = caller->regs[BPF_REG_1]; in set_find_vma_callback_state()
7201 callee->regs[BPF_REG_3] = caller->regs[BPF_REG_4]; in set_find_vma_callback_state()
7212 struct bpf_func_state *caller, in set_user_ringbuf_callback_state() argument
7223 callee->regs[BPF_REG_2] = caller->regs[BPF_REG_3]; in set_user_ringbuf_callback_state()
7238 struct bpf_func_state *caller, *callee; in prepare_func_exit() local
7255 caller = state->frame[state->curframe - 1]; in prepare_func_exit()
7277 caller->regs[BPF_REG_0] = *r0; in prepare_func_exit()
7287 err = copy_reference_state(caller, callee); in prepare_func_exit()
7297 print_verifier_state(env, caller, true); in prepare_func_exit()