/linux-6.1.9/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-6.1.9/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
|
D | xdp.h | 396 static inline bool xdp_metalen_invalid(unsigned long metalen) in xdp_metalen_invalid() argument 398 return (metalen & (sizeof(__u32) - 1)) || (metalen > 32); in xdp_metalen_invalid()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
D | rx.c | 211 u32 metalen = xdp->data - xdp->data_meta; in mlx5e_xsk_construct_skb() local 222 if (metalen) { in mlx5e_xsk_construct_skb() 223 skb_metadata_set(skb, metalen); in mlx5e_xsk_construct_skb() 224 __skb_pull(skb, metalen); in mlx5e_xsk_construct_skb()
|
/linux-6.1.9/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-6.1.9/net/xdp/ |
D | xsk.c | 157 u32 metalen; in xsk_copy_xdp() local 162 metalen = 0; in xsk_copy_xdp() 165 metalen = from->data - from->data_meta; in xsk_copy_xdp() 166 to_buf = to->data - metalen; in xsk_copy_xdp() 169 memcpy(to_buf, from_buf, len + metalen); in xsk_copy_xdp()
|
/linux-6.1.9/drivers/misc/ |
D | fastrpc.c | 825 static u64 fastrpc_get_payload_size(struct fastrpc_invoke_ctx *ctx, int metalen) in fastrpc_get_payload_size() argument 830 size = ALIGN(metalen, FASTRPC_ALIGN); in fastrpc_get_payload_size() 888 int metalen; in fastrpc_get_args() local 891 metalen = fastrpc_get_meta_size(ctx); in fastrpc_get_args() 892 pkt_size = fastrpc_get_payload_size(ctx, metalen); in fastrpc_get_args() 907 args = (uintptr_t)ctx->buf->virt + metalen; in fastrpc_get_args() 908 rlen = pkt_size - metalen; in fastrpc_get_args()
|
/linux-6.1.9/drivers/net/ |
D | veth.c | 805 u32 act, metalen; in veth_xdp_rcv_skb() local 888 metalen = xdp.data - xdp.data_meta; in veth_xdp_rcv_skb() 889 if (metalen) in veth_xdp_rcv_skb() 890 skb_metadata_set(skb, metalen); in veth_xdp_rcv_skb()
|
/linux-6.1.9/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-6.1.9/net/core/ |
D | filter.c | 3836 unsigned long metalen = xdp_get_metalen(xdp); in BPF_CALL_2() local 3837 void *data_start = xdp_frame_end + metalen; in BPF_CALL_2() 3844 if (metalen) in BPF_CALL_2() 3846 xdp->data_meta, metalen); in BPF_CALL_2() 4097 unsigned long metalen = xdp->data - meta; in BPF_CALL_2() local 4104 if (unlikely(xdp_metalen_invalid(metalen))) in BPF_CALL_2()
|
D | dev.c | 4734 u32 metalen, act; in bpf_prog_run_generic_xdp() local 4804 metalen = xdp->data - xdp->data_meta; in bpf_prog_run_generic_xdp() 4805 if (metalen) in bpf_prog_run_generic_xdp() 4806 skb_metadata_set(skb, metalen); in bpf_prog_run_generic_xdp()
|
/linux-6.1.9/fs/ext4/ |
D | mballoc.c | 3069 int metalen = 0; in ext4_mb_add_groupinfo() local 3081 metalen = sizeof(*meta_group_info) << in ext4_mb_add_groupinfo() 3083 meta_group_info = kmalloc(metalen, GFP_NOFS); in ext4_mb_add_groupinfo()
|