Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/netronome/nfp/bpf/
H 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()
H 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/kernel/bpf/
H A Dverifier.c4946 case PTR_TO_CTX: in is_spillable_regtype()
6309 return reg->type == PTR_TO_CTX; in is_ctx_reg()
6488 case PTR_TO_CTX: in check_ptr_alignment()
7643 } else if (reg->type == PTR_TO_CTX) { in check_mem_access()
8237 case PTR_TO_CTX: in check_helper_mem_access()
9239 static const struct bpf_reg_types context_types = { .types = { PTR_TO_CTX } };
10565 if (reg->type != PTR_TO_CTX) { in btf_check_func_arg_match()
13368 if (reg->type != PTR_TO_CTX) { in check_kfunc_args()
14715 case PTR_TO_CTX: in adjust_ptr_min_max_vals()
17267 if (regs[ctx_reg].type != PTR_TO_CTX) { in check_ld_abs()
[all …]
/linux/include/linux/
H A Dbpf.h975 PTR_TO_CTX, /* reg points to bpf_context */ enumerator