Lines Matching defs:caller

1607              * caller saved clobber with DST_OP_NO_MARK for which we

1992 * commit 7640ead93924 ("bpf: verifier: make sure callees don't prune with caller differences")
2299 /* caller checked that off % size == 0 and -MAX_BPF_STACK <= off < 0,
2348 verbose(env, "cannot spill pointers to stack into stack frame of the caller\n");
2502 * SCALAR. This function does not deal with register filling; the caller must
2600 /* If dst_regno==-1, the caller is asking us whether
2683 * The caller must ensure that the offset falls within the allocated stack
2741 * The caller must ensure that the offset falls within the maximum stack size.
3232 * bpf2bpf calls get combined with tailcalls. Limit the caller's stack
3248 * of caller's stack as shown on the example above.
5066 struct bpf_func_state *caller, *callee;
5082 caller = state->frame[state->curframe];
5092 err = btf_check_func_arg_match(env, subprog, caller->regs);
5104 clear_caller_saved_regs(env, caller->regs);
5107 mark_reg_unknown(env, caller->regs, BPF_REG_0);
5108 caller->regs[BPF_REG_0].subreg_def = DEF_NOT_SUBREG;
5123 * callee can read/write into caller's stack
5131 err = transfer_reference_state(callee, caller);
5140 callee->regs[i] = caller->regs[i];
5143 clear_caller_saved_regs(env, caller->regs);
5152 verbose(env, "caller:\n");
5153 print_verifier_state(env, caller);
5163 struct bpf_func_state *caller, *callee;
5170 /* technically it's ok to return caller's stack pointer
5171 * (or caller's caller's pointer) back to the caller,
5176 verbose(env, "cannot return stack pointer to the caller\n");
5181 caller = state->frame[state->curframe];
5182 /* return to the caller whatever r0 had in the callee */
5183 caller->regs[BPF_REG_0] = *r0;
5185 /* Transfer references to the caller */
5186 err = transfer_reference_state(caller, callee);
5195 verbose(env, "to caller at %d:\n", *insn_idx);
5196 print_verifier_state(env, caller);
5409 /* reset caller saved regs */
5939 * If we return -EACCES, caller may want to try again treating pointer as a
8144 /* reset caller saved regs to unreadable */