Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/netronome/nfp/bpf/
Dmain.h373 return is_mbpf_load(meta) && meta->ptr.type == PTR_TO_PACKET; in is_mbpf_load_pkt()
378 return is_mbpf_store(meta) && meta->ptr.type == PTR_TO_PACKET; in is_mbpf_store_pkt()
398 return is_mbpf_classic_store(meta) && meta->ptr.type == PTR_TO_PACKET; in is_mbpf_classic_store_pkt()
Dverifier.c223 NFP_BPF_PACKET_DATA != PTR_TO_PACKET); in nfp_bpf_check_call()
252 reg1->type != PTR_TO_PACKET) { in nfp_bpf_check_call()
436 reg->type != PTR_TO_PACKET) { in nfp_bpf_check_ptr()
Djit.c2712 if (meta->ptr.type == PTR_TO_PACKET) { in mem_ldx()
2769 if (meta->ptr.type == PTR_TO_PACKET) in mem_st()
2831 if (meta->ptr.type == PTR_TO_PACKET) in mem_stx()
3584 if (ld_meta->ptr.type != PTR_TO_PACKET && in curr_pair_is_memcpy()
3588 if (st_meta->ptr.type != PTR_TO_PACKET) in curr_pair_is_memcpy()
3830 if (meta->ptr.type != PTR_TO_PACKET || meta->ldst_gather_len) { in nfp_bpf_opt_pkt_cache()
/Linux-v4.19/kernel/bpf/
Dverifier.c248 return type == PTR_TO_PACKET || in type_is_pkt_pointer()
261 [PTR_TO_PACKET] = "pkt",
993 case PTR_TO_PACKET: in is_spillable_regtype()
1502 case PTR_TO_PACKET: in check_ptr_alignment()
1924 case PTR_TO_PACKET: in check_helper_mem_access()
3734 if ((dst_reg->type == PTR_TO_PACKET && in try_match_pkt_pointers()
3737 reg_is_init_pkt_pointer(src_reg, PTR_TO_PACKET))) { in try_match_pkt_pointers()
3742 src_reg->type == PTR_TO_PACKET) || in try_match_pkt_pointers()
3743 (reg_is_init_pkt_pointer(dst_reg, PTR_TO_PACKET) && in try_match_pkt_pointers()
3753 if ((dst_reg->type == PTR_TO_PACKET && in try_match_pkt_pointers()
[all …]
/Linux-v4.19/include/linux/
Dbpf.h213 PTR_TO_PACKET, /* reg points to skb->data */ enumerator
/Linux-v4.19/net/core/
Dfilter.c5285 info->reg_type = PTR_TO_PACKET; in lwt_is_valid_access()
5471 info->reg_type = PTR_TO_PACKET; in tc_cls_act_is_valid_access()
5515 info->reg_type = PTR_TO_PACKET; in xdp_is_valid_access()
5697 info->reg_type = PTR_TO_PACKET; in sk_skb_is_valid_access()
5717 info->reg_type = PTR_TO_PACKET; in sk_msg_is_valid_access()
7222 info->reg_type = PTR_TO_PACKET; in sk_reuseport_is_valid_access()
/Linux-v4.19/Documentation/networking/
Dfilter.txt1126 PTR_TO_PACKET skb->data.
1162 below, for more on PTR_TO_PACKET ranges.