Searched refs:metalen (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.10/net/ife/ |
D | ife.c | 30 __be16 metalen; member 34 void *ife_encode(struct sk_buff *skb, u16 metalen) in ife_encode() argument 39 int hdrm = metalen + IFE_METAHDRLEN; in ife_encode() 59 metalen += IFE_METAHDRLEN; in ife_encode() 60 ifehdr->metalen = htons(metalen); in ife_encode() 66 void *ife_decode(struct sk_buff *skb, u16 *metalen) in ife_decode() argument 76 ifehdrln = ntohs(ifehdr->metalen); in ife_decode() 87 *metalen = ifehdrln - IFE_METAHDRLEN; in ife_decode()
|
/Linux-v5.10/include/net/ |
D | ife.h | 11 void *ife_encode(struct sk_buff *skb, u16 metalen); 12 void *ife_decode(struct sk_buff *skb, u16 *metalen); 23 static inline void *ife_encode(struct sk_buff *skb, u16 metalen) in ife_encode() argument 28 static inline void *ife_decode(struct sk_buff *skb, u16 *metalen) in ife_decode() argument
|
/Linux-v5.10/net/sched/ |
D | act_ife.c | 718 u16 metalen; in tcf_ife_decode() local 726 tlv_data = ife_decode(skb, &metalen); in tcf_ife_decode() 732 ifehdr_end = tlv_data + metalen; in tcf_ife_decode() 795 u16 metalen = ife_get_sz(skb, ife); in tcf_ife_encode() local 796 int hdrm = metalen + skb->dev->hard_header_len + IFE_METAHDRLEN; in tcf_ife_encode() 811 if (!metalen) { /* no metadata to send */ in tcf_ife_encode() 828 ife_meta = ife_encode(skb, metalen); in tcf_ife_encode()
|
/Linux-v5.10/net/xdp/ |
D | xsk.c | 171 u32 metalen; in xsk_copy_xdp() local 176 metalen = 0; in xsk_copy_xdp() 179 metalen = from->data - from->data_meta; in xsk_copy_xdp() 180 to_buf = to->data - metalen; in xsk_copy_xdp() 183 memcpy(to_buf, from_buf, len + metalen); in xsk_copy_xdp()
|
/Linux-v5.10/drivers/misc/ |
D | fastrpc.c | 716 static u64 fastrpc_get_payload_size(struct fastrpc_invoke_ctx *ctx, int metalen) in fastrpc_get_payload_size() argument 721 size = ALIGN(metalen, FASTRPC_ALIGN); in fastrpc_get_payload_size() 770 int metalen; in fastrpc_get_args() local 773 metalen = fastrpc_get_meta_size(ctx); in fastrpc_get_args() 774 pkt_size = fastrpc_get_payload_size(ctx, metalen); in fastrpc_get_args() 790 args = (uintptr_t)ctx->buf->virt + metalen; in fastrpc_get_args() 791 rlen = pkt_size - metalen; in fastrpc_get_args()
|
/Linux-v5.10/drivers/net/ |
D | veth.c | 657 u32 pktlen, headroom, act, metalen; in veth_xdp_rcv_skb() local 781 metalen = xdp.data - xdp.data_meta; in veth_xdp_rcv_skb() 782 if (metalen) in veth_xdp_rcv_skb() 783 skb_metadata_set(skb, metalen); in veth_xdp_rcv_skb()
|
/Linux-v5.10/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp_nsp.c | 1068 u8 metalen; in nfp_nsp_read_module_eeprom() member 1085 buf->metalen = in nfp_nsp_read_module_eeprom()
|
/Linux-v5.10/net/core/ |
D | filter.c | 3838 unsigned long metalen = xdp_get_metalen(xdp); in BPF_CALL_2() local 3839 void *data_start = xdp_frame_end + metalen; in BPF_CALL_2() 3846 if (metalen) in BPF_CALL_2() 3848 xdp->data_meta, metalen); in BPF_CALL_2() 3902 unsigned long metalen = xdp->data - meta; in BPF_CALL_2() local 3909 if (unlikely((metalen & (sizeof(__u32) - 1)) || in BPF_CALL_2() 3910 (metalen > 32))) in BPF_CALL_2()
|
D | dev.c | 4597 u32 metalen, act = XDP_DROP; in netif_receive_generic_xdp() local 4688 metalen = xdp->data - xdp->data_meta; in netif_receive_generic_xdp() 4689 if (metalen) in netif_receive_generic_xdp() 4690 skb_metadata_set(skb, metalen); in netif_receive_generic_xdp()
|
/Linux-v5.10/fs/ext4/ |
D | mballoc.c | 2626 int metalen = 0; in ext4_mb_add_groupinfo() local 2638 metalen = sizeof(*meta_group_info) << in ext4_mb_add_groupinfo() 2640 meta_group_info = kmalloc(metalen, GFP_NOFS); in ext4_mb_add_groupinfo()
|