Home
last modified time | relevance | path

Searched refs:PTR_TO_PACKET (Results 1 – 8 of 8) 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()
/linux/kernel/bpf/
H A Dverifier.c4314 case PTR_TO_PACKET: in __check_mem_access()
5186 case PTR_TO_PACKET: in check_ptr_alignment()
6966 case PTR_TO_PACKET: in check_helper_mem_access()
8106 PTR_TO_PACKET,
8467 case PTR_TO_PACKET: in __check_func_arg_reg_off()
9342 if (reg->type != PTR_TO_PACKET) in mark_pkt_end()
14500 case PTR_TO_PACKET: in adjust_ptr_min_max_vals()
16580 if ((dst_reg->type == PTR_TO_PACKET && in try_match_pkt_pointers()
16583 reg_is_init_pkt_pointer(src_reg, PTR_TO_PACKET))) { in try_match_pkt_pointers()
16589 src_reg->type == PTR_TO_PACKET) || in try_match_pkt_pointers()
[all …]
H A Dlog.c409 [PTR_TO_PACKET] = "pkt", in reg_type_str()
H A Dstates.c624 case PTR_TO_PACKET: in regsafe()
H A Dcgroup.c2647 info->reg_type = PTR_TO_PACKET; in cg_sockopt_is_valid_access()
/linux/include/linux/
H A Dbpf_verifier.h1395 return type == PTR_TO_PACKET || in type_is_pkt_pointer()
H A Dbpf.h1057 PTR_TO_PACKET, /* reg points to skb->data */ enumerator
/linux/net/core/
H A Dfilter.c9190 info->reg_type = PTR_TO_PACKET; in cg_skb_is_valid_access()
9228 info->reg_type = PTR_TO_PACKET; in lwt_is_valid_access()
9454 info->reg_type = PTR_TO_PACKET; in tc_cls_act_is_valid_access()
9544 info->reg_type = PTR_TO_PACKET; in xdp_is_valid_access()
9742 info->reg_type = PTR_TO_PACKET; in sock_ops_is_valid_access()
9801 info->reg_type = PTR_TO_PACKET; in sk_skb_is_valid_access()
9824 info->reg_type = PTR_TO_PACKET; in sk_msg_is_valid_access()
9875 info->reg_type = PTR_TO_PACKET; in flow_dissector_is_valid_access()
11863 info->reg_type = PTR_TO_PACKET; in sk_reuseport_is_valid_access()