Searched refs:PTR_TO_CTX (Results 1 – 2 of 2) sorted by relevance
132 PTR_TO_CTX, /* reg points to bpf_context */ enumerator233 [PTR_TO_CTX] = "ctx",477 regs[BPF_REG_1].type = PTR_TO_CTX; in init_reg_state()540 case PTR_TO_CTX: in is_spillable_regtype()701 } else if (state->regs[regno].type == PTR_TO_CTX) { in check_mem_access()831 expected_type = PTR_TO_CTX; in check_func_arg()1373 if (regs[BPF_REG_6].type != PTR_TO_CTX) { in check_ld_abs()1807 (src_reg_type == PTR_TO_CTX || in do_check()1808 insn->imm == PTR_TO_CTX)) { in do_check()1852 (dst_reg_type == PTR_TO_CTX || in do_check()[all …]
1018 and has type PTR_TO_CTX.1020 PTR_TO_CTX as well and can be used on the right hand side of expression.1021 If R1=PTR_TO_CTX and insn is R2=R1+R1, then R2=UNKNOWN_VALUE,1043 are PTR_TO_CTX, PTR_TO_MAP, FRAME_PTR. They are bounds and alignment checked.1052 At the start R1 type is PTR_TO_CTX (a pointer to generic 'struct bpf_context')1059 If R6=PTR_TO_CTX, via is_valid_access() callback the verifier will know