Home
last modified time | relevance | path

Searched refs:PTR_TO_CTX (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/netronome/nfp/bpf/
Dverifier.c457 if (reg->type != PTR_TO_CTX && in nfp_bpf_check_ptr()
507 if (reg->type == PTR_TO_CTX) { in nfp_bpf_check_store()
Djit.c2858 if (meta->ptr.type == PTR_TO_CTX) { in mem_ldx()
3006 if (meta->ptr.type == PTR_TO_CTX) in mem_stx4()
/Linux-v5.4/Documentation/networking/
Dfilter.txt1032 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 know
1121 PTR_TO_CTX Pointer to bpf_context.
/Linux-v5.4/kernel/bpf/
Dverifier.c386 [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 …]
/Linux-v5.4/include/linux/
Dbpf.h267 PTR_TO_CTX, /* reg points to bpf_context */ enumerator