Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/netronome/nfp/bpf/
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()
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()
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()
4052 if (ld_meta->ptr.type != PTR_TO_PACKET && in curr_pair_is_memcpy()
4056 if (st_meta->ptr.type != PTR_TO_PACKET) in curr_pair_is_memcpy()
4299 if (meta->ptr.type != PTR_TO_PACKET || meta->ldst_gather_len) { in nfp_bpf_opt_pkt_cache()
/Linux-v5.4/kernel/bpf/
Dverifier.c321 return type == PTR_TO_PACKET || in type_is_pkt_pointer()
391 [PTR_TO_PACKET] = "pkt",
1840 case PTR_TO_PACKET: in is_spillable_regtype()
2534 case PTR_TO_PACKET: in check_ptr_alignment()
3094 case PTR_TO_PACKET: in check_helper_mem_access()
5707 if ((dst_reg->type == PTR_TO_PACKET && in try_match_pkt_pointers()
5710 reg_is_init_pkt_pointer(src_reg, PTR_TO_PACKET))) { in try_match_pkt_pointers()
5715 src_reg->type == PTR_TO_PACKET) || in try_match_pkt_pointers()
5716 (reg_is_init_pkt_pointer(dst_reg, PTR_TO_PACKET) && in try_match_pkt_pointers()
5726 if ((dst_reg->type == PTR_TO_PACKET && in try_match_pkt_pointers()
[all …]
Dcgroup.c1464 info->reg_type = PTR_TO_PACKET; in cg_sockopt_is_valid_access()
/Linux-v5.4/net/core/
Dfilter.c6590 info->reg_type = PTR_TO_PACKET; in cg_skb_is_valid_access()
6627 info->reg_type = PTR_TO_PACKET; in lwt_is_valid_access()
6843 info->reg_type = PTR_TO_PACKET; in tc_cls_act_is_valid_access()
6887 info->reg_type = PTR_TO_PACKET; in xdp_is_valid_access()
7105 info->reg_type = PTR_TO_PACKET; in sk_skb_is_valid_access()
7128 info->reg_type = PTR_TO_PACKET; in sk_msg_is_valid_access()
7171 info->reg_type = PTR_TO_PACKET; in flow_dissector_is_valid_access()
8835 info->reg_type = PTR_TO_PACKET; in sk_reuseport_is_valid_access()
/Linux-v5.4/include/linux/
Dbpf.h273 PTR_TO_PACKET, /* reg points to skb->data */ enumerator
/Linux-v5.4/Documentation/networking/
Dfilter.txt1131 PTR_TO_PACKET skb->data.
1175 below, for more on PTR_TO_PACKET ranges.