Home
last modified time | relevance | path

Searched refs:PTR_TO_PACKET (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Dmain.h403 return is_mbpf_load(meta) && meta->ptr.type == PTR_TO_PACKET; in is_mbpf_load_pkt()
408 return is_mbpf_store(meta) && meta->ptr.type == PTR_TO_PACKET; in is_mbpf_store_pkt()
428 return is_mbpf_classic_store(meta) && meta->ptr.type == PTR_TO_PACKET; in is_mbpf_classic_store_pkt()
H A Dverifier.c237 NFP_BPF_PACKET_DATA != PTR_TO_PACKET); in nfp_bpf_check_helper_call()
266 reg1->type != PTR_TO_PACKET) { in nfp_bpf_check_helper_call()
460 reg->type != PTR_TO_PACKET) { in nfp_bpf_check_ptr()
H A Djit.c2865 if (meta->ptr.type == PTR_TO_PACKET) { in mem_ldx()
2922 if (meta->ptr.type == PTR_TO_PACKET) in mem_st()
2984 if (meta->ptr.type == PTR_TO_PACKET) in mem_stx()
4058 if (ld_meta->ptr.type != PTR_TO_PACKET && in curr_pair_is_memcpy()
4062 if (st_meta->ptr.type != PTR_TO_PACKET) in curr_pair_is_memcpy()
4305 if (meta->ptr.type != PTR_TO_PACKET || meta->ldst_gather_len) { in nfp_bpf_opt_pkt_cache()
/linux/include/linux/
H A Dbpf_verifier.h977 return type == PTR_TO_PACKET || in type_is_pkt_pointer()
H A Dbpf.h968 PTR_TO_PACKET, /* reg points to skb->data */ enumerator
/linux/kernel/bpf/
H A Dverifier.c4892 case PTR_TO_PACKET: in is_spillable_regtype()
5642 case PTR_TO_PACKET: in __check_mem_access()
6405 case PTR_TO_PACKET: in check_ptr_alignment()
8097 case PTR_TO_PACKET: in check_helper_mem_access()
9121 PTR_TO_PACKET,
9402 case PTR_TO_PACKET: in check_func_arg_reg_off()
10286 if (reg->type != PTR_TO_PACKET) in mark_pkt_end()
14583 case PTR_TO_PACKET: in adjust_ptr_min_max_vals()
16499 if ((dst_reg->type == PTR_TO_PACKET && in try_match_pkt_pointers()
16502 reg_is_init_pkt_pointer(src_reg, PTR_TO_PACKET))) { in try_match_pkt_pointers()
[all …]
H A Dlog.c450 [PTR_TO_PACKET] = "pkt", in reg_type_str()
H A Dcgroup.c2587 info->reg_type = PTR_TO_PACKET; in cg_sockopt_is_valid_access()
/linux/Documentation/bpf/
H A Dverifier.rst136 PTR_TO_PACKET
187 below, for more on PTR_TO_PACKET ranges.
/linux/net/core/
H A Dfilter.c8802 info->reg_type = PTR_TO_PACKET; in cg_skb_is_valid_access()
8840 info->reg_type = PTR_TO_PACKET; in lwt_is_valid_access()
9066 info->reg_type = PTR_TO_PACKET; in tc_cls_act_is_valid_access()
9156 info->reg_type = PTR_TO_PACKET; in xdp_is_valid_access()
9354 info->reg_type = PTR_TO_PACKET; in sock_ops_is_valid_access()
9413 info->reg_type = PTR_TO_PACKET; in sk_skb_is_valid_access()
9436 info->reg_type = PTR_TO_PACKET; in sk_msg_is_valid_access()
9487 info->reg_type = PTR_TO_PACKET; in flow_dissector_is_valid_access()
11473 info->reg_type = PTR_TO_PACKET; in sk_reuseport_is_valid_access()