Searched refs:PTR_TO_CTX (Results 1 – 5 of 5) sorted by relevance
457 if (reg->type != PTR_TO_CTX && in nfp_bpf_check_ptr()507 if (reg->type == PTR_TO_CTX) { in nfp_bpf_check_store()
2858 if (meta->ptr.type == PTR_TO_CTX) { in mem_ldx()3006 if (meta->ptr.type == PTR_TO_CTX) in mem_stx4()
1032 and has type PTR_TO_CTX.1034 PTR_TO_CTX as well and can be used on the right hand side of expression.1035 If R1=PTR_TO_CTX and insn is R2=R1+R1, then R2=SCALAR_VALUE,1057 are PTR_TO_CTX, PTR_TO_MAP, PTR_TO_STACK. They are bounds and alignment checked.1066 At the start R1 type is PTR_TO_CTX (a pointer to generic 'struct bpf_context')1073 If R6=PTR_TO_CTX, via is_valid_access() callback the verifier will know1121 PTR_TO_CTX Pointer to bpf_context.
386 [PTR_TO_CTX] = "ctx",1060 regs[BPF_REG_1].type = PTR_TO_CTX; in init_reg_state()1839 case PTR_TO_CTX: in is_spillable_regtype()2442 return reg->type == PTR_TO_CTX; in is_ctx_reg()2546 case PTR_TO_CTX: in check_ptr_alignment()2782 } else if (reg->type == PTR_TO_CTX) { in check_mem_access()3277 expected_type = PTR_TO_CTX; in check_func_arg()6074 if (regs[BPF_REG_6].type != PTR_TO_CTX) { in check_ld_abs()6905 case PTR_TO_CTX: in regsafe()7435 case PTR_TO_CTX: in reg_type_mismatch_ok()[all …]
267 PTR_TO_CTX, /* reg points to bpf_context */ enumerator