Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/netronome/nfp/bpf/
Dverifier.c235 NFP_BPF_MAP_VALUE != PTR_TO_MAP_VALUE || in nfp_bpf_check_helper_call()
265 reg1->type != PTR_TO_MAP_VALUE && in nfp_bpf_check_helper_call()
459 reg->type != PTR_TO_MAP_VALUE && in nfp_bpf_check_ptr()
471 if (reg->type == PTR_TO_MAP_VALUE) { in nfp_bpf_check_ptr()
537 if (dreg->type != PTR_TO_MAP_VALUE) { in nfp_bpf_check_atomic()
Djit.c743 src_40bit_addr = meta->ptr.type == PTR_TO_MAP_VALUE; in nfp_cpp_memcpy()
2880 if (meta->ptr.type == PTR_TO_MAP_VALUE) in mem_ldx()
4059 ld_meta->ptr.type != PTR_TO_MAP_VALUE) in curr_pair_is_memcpy()
/Linux-v6.1/kernel/bpf/
Dverifier.c449 type == PTR_TO_MAP_VALUE || in reg_type_not_null()
456 return reg->type == PTR_TO_MAP_VALUE && in reg_may_point_to_spin_lock()
550 [PTR_TO_MAP_VALUE] = "map_value", in reg_type_str()
886 base_type(t) == PTR_TO_MAP_VALUE) in print_verifier_state()
1394 if (base_type(reg->type) == PTR_TO_MAP_VALUE) { in mark_ptr_not_null_reg()
1411 reg->type = PTR_TO_MAP_VALUE; in mark_ptr_not_null_reg()
2946 case PTR_TO_MAP_VALUE: in is_spillable_regtype()
3572 case PTR_TO_MAP_VALUE: in __check_mem_access()
4177 case PTR_TO_MAP_VALUE: in check_ptr_alignment()
4753 } else if (reg->type == PTR_TO_MAP_VALUE) { in check_mem_access()
[all …]
Dbtf.c6372 if (reg->type != PTR_TO_MAP_VALUE) { in btf_check_func_arg_match()
/Linux-v6.1/Documentation/bpf/
Dverifier.rst127 PTR_TO_MAP_VALUE
132 PTR_TO_MAP_VALUE when checked != NULL. Arithmetic on
201 behaviour to the handling for PTR_TO_MAP_VALUE_OR_NULL->PTR_TO_MAP_VALUE, but
/Linux-v6.1/include/linux/
Dbpf.h630 PTR_TO_MAP_VALUE, /* reg points to map element value */ enumerator
664 PTR_TO_MAP_VALUE_OR_NULL = PTR_MAYBE_NULL | PTR_TO_MAP_VALUE,