Lines Matching defs:umem
174 static u64 umem_size(struct xsk_umem_info *umem) in umem_size()
179 static int xsk_configure_umem(struct ifobject *ifobj, struct xsk_umem_info *umem, void *buffer, in xsk_configure_umem()
208 static u64 umem_alloc_buffer(struct xsk_umem_info *umem) in umem_alloc_buffer()
220 static void umem_reset_alloc(struct xsk_umem_info *umem) in umem_reset_alloc()
245 static int __xsk_configure_socket(struct xsk_socket_info *xsk, struct xsk_umem_info *umem, in __xsk_configure_socket()
271 struct xsk_umem_info *umem; in ifobj_zc_avail() local
599 static void pkt_set(struct xsk_umem_info *umem, struct pkt *pkt, int offset, u32 len) in pkt_set()
609 static u32 pkt_get_buffer_len(struct xsk_umem_info *umem, u32 len) in pkt_get_buffer_len()
614 static struct pkt_stream *pkt_stream_generate(struct xsk_umem_info *umem, u32 nb_pkts, u32 pkt_len) in pkt_stream_generate()
635 static struct pkt_stream *pkt_stream_clone(struct xsk_umem_info *umem, in pkt_stream_clone()
654 struct xsk_umem_info *umem = ifobj->umem; in __pkt_stream_replace_half() local
673 struct xsk_umem_info *umem = test->ifobj_rx->umem; in pkt_stream_receive_half() local
684 static u64 pkt_get_addr(struct pkt *pkt, struct xsk_umem_info *umem) in pkt_get_addr()
817 static bool is_offset_correct(struct xsk_umem_info *umem, struct pkt *pkt, u64 addr) in is_offset_correct()
849 static bool is_frag_valid(struct xsk_umem_info *umem, u64 addr, u32 len, u32 expected_pkt_nb, in is_frag_valid()
974 struct xsk_umem_info *umem = xsk->umem; in receive_pkts() local
1100 struct xsk_umem_info *umem = ifobject->umem; in __send_pkts() local
1352 struct xsk_umem_info *umem, bool tx) in xsk_configure_socket()
1385 static void xsk_populate_fill_ring(struct xsk_umem_info *umem, struct pkt_stream *pkt_stream, in xsk_populate_fill_ring()
1848 struct xsk_umem_info *umem = test->ifobj_tx->umem; in testapp_invalid_desc_mb() local
1888 struct xsk_umem_info *umem = test->ifobj_tx->umem; in testapp_invalid_desc() local