Home
last modified time | relevance | path

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

/linux-6.3-rc2/Documentation/bpf/
A Dverifier.rst17 and has type PTR_TO_CTX.
19 PTR_TO_CTX as well and can be used on the right hand side of expression.
20 If R1=PTR_TO_CTX and insn is R2=R1+R1, then R2=SCALAR_VALUE,
48 are PTR_TO_CTX, PTR_TO_MAP, PTR_TO_STACK. They are bounds and alignment checked.
59 At the start R1 type is PTR_TO_CTX (a pointer to generic ``struct bpf_context``)
68 If R6=PTR_TO_CTX, via is_valid_access() callback the verifier will know
122 PTR_TO_CTX
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/bpf/
A 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()
A Djit.c2858 if (meta->ptr.type == PTR_TO_CTX) { in mem_ldx()
3006 if (meta->ptr.type == PTR_TO_CTX) in mem_stx4()
/linux-6.3-rc2/kernel/bpf/
A Dverifier.c587 [PTR_TO_CTX] = "ctx", in reg_type_str()
3392 case PTR_TO_CTX: in is_spillable_regtype()
4550 return reg->type == PTR_TO_CTX; in is_ctx_reg()
4681 case PTR_TO_CTX: in check_ptr_alignment()
5397 } else if (reg->type == PTR_TO_CTX) { in check_mem_access()
5862 case PTR_TO_CTX: in check_helper_mem_access()
9612 if (reg->type != PTR_TO_CTX) { in check_kfunc_args()
14473 case PTR_TO_CTX: in reg_type_mismatch_ok()
15877 case PTR_TO_CTX: in convert_ctx_accesses()
17059 if (regs[i].type == PTR_TO_CTX) in do_check_common()
[all …]
A Dbtf.c6838 if (reg->type != PTR_TO_CTX) { in btf_check_func_arg_match()
7040 reg->type = PTR_TO_CTX; in btf_prepare_func_args()
/linux-6.3-rc2/include/linux/
A Dbpf.h778 PTR_TO_CTX, /* reg points to bpf_context */ enumerator

Completed in 104 milliseconds