Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A 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()
H A 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/kernel/bpf/
H A Dlog.c448 [PTR_TO_MAP_VALUE] = "map_value", in reg_type_str()
667 case PTR_TO_MAP_VALUE: in type_is_map_ptr()
H A Dverifier.c401 type == PTR_TO_MAP_VALUE || in reg_not_null()
413 if (reg->type == PTR_TO_MAP_VALUE) { in reg_btf_record()
1886 if (base_type(reg->type) == PTR_TO_MAP_VALUE) { in mark_ptr_not_null_reg()
1905 reg->type = PTR_TO_MAP_VALUE; in mark_ptr_not_null_reg()
4546 case PTR_TO_MAP_VALUE: in is_spillable_regtype()
5303 case PTR_TO_MAP_VALUE: in __check_mem_access()
6061 case PTR_TO_MAP_VALUE: in check_ptr_alignment()
7123 } else if (reg->type == PTR_TO_MAP_VALUE) { in check_mem_access()
7638 case PTR_TO_MAP_VALUE: in check_helper_mem_access()
7859 if (reg->type == PTR_TO_MAP_VALUE) { in process_spin_lock()
[all …]
/linux/Documentation/bpf/
H A 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/include/linux/
H A Dbpf.h912 PTR_TO_MAP_VALUE, /* reg points to map element value */ enumerator
943 PTR_TO_MAP_VALUE_OR_NULL = PTR_MAYBE_NULL | PTR_TO_MAP_VALUE,