Home
last modified time | relevance | path

Searched refs:net_iov (Results 1 – 9 of 9) sorted by relevance

/linux/include/net/
H A Dnetmem.h95 struct net_iov { struct
107 offsetof(struct net_iov, iov))
113 struct net_iov *niovs;
120 static inline struct net_iov_area *net_iov_owner(const struct net_iov *niov) in net_iov_owner()
125 static inline unsigned int net_iov_idx(const struct net_iov *niov) in net_iov_idx()
136 static inline void net_iov_init(struct net_iov *niov, in net_iov_init()
186 static inline struct net_iov *netmem_to_net_iov(netmem_ref netmem) in netmem_to_net_iov()
189 return (struct net_iov *)((__force unsigned long)netmem & in netmem_to_net_iov()
196 static inline netmem_ref net_iov_to_netmem(struct net_iov *niov) in net_iov_to_netmem()
285 return &((struct net_iov *)p)->desc; in netmem_to_nmdesc()
[all …]
/linux/net/core/
H A Ddevmem.c43 static dma_addr_t net_devmem_get_dma_addr(const struct net_iov *niov) in net_devmem_get_dma_addr()
87 struct net_iov *
92 struct net_iov *niov; in net_devmem_alloc_dmabuf()
112 void net_devmem_free_dmabuf(struct net_iov *niov) in net_devmem_free_dmabuf()
244 binding->tx_vec = kvmalloc_objs(struct net_iov *, in net_devmem_bind_dmabuf()
268 struct net_iov *niov; in net_devmem_bind_dmabuf()
355 void net_devmem_get_net_iov(struct net_iov *niov) in net_devmem_get_net_iov()
360 void net_devmem_put_net_iov(struct net_iov *niov) in net_devmem_put_net_iov()
416 struct net_iov *
454 struct net_iov *niov; in mp_dmabuf_devmem_alloc_netmems()
H A Dpage_pool.c1348 bool net_mp_niov_set_dma_addr(struct net_iov *niov, dma_addr_t addr) in net_mp_niov_set_dma_addr()
1356 void net_mp_niov_set_page_pool(struct page_pool *pool, struct net_iov *niov) in net_mp_niov_set_page_pool()
1369 void net_mp_niov_clear_page_pool(struct net_iov *niov) in net_mp_niov_clear_page_pool()
H A Ddatagram.c713 struct net_iov *niov; in zerocopy_fill_skb_from_devmem()
H A Dskbuff.c7426 struct net_iov *niov = netmem_to_net_iov(netmem); in __get_netmem()
7435 struct net_iov *niov = netmem_to_net_iov(netmem); in __put_netmem()
H A Ddev.c3994 struct net_iov *niov; in validate_xmit_unreadable_skb()
/linux/io_uring/
H A Dzcrx.c40 static inline struct io_zcrx_area *io_zcrx_iov_to_area(const struct net_iov *niov) in io_zcrx_iov_to_area()
47 static inline struct page *io_zcrx_iov_page(const struct net_iov *niov) in io_zcrx_iov_page()
86 struct net_iov *niov = &area->nia.niovs[niov_idx]; in io_populate_area_dma()
338 static inline atomic_t *io_get_user_counter(struct net_iov *niov) in io_get_user_counter()
345 static bool io_zcrx_put_niov_uref(struct net_iov *niov) in io_zcrx_put_niov_uref()
359 static void io_zcrx_get_niov_uref(struct net_iov *niov) in io_zcrx_get_niov_uref()
496 struct net_iov *niov = &area->nia.niovs[i]; in io_zcrx_create_area()
599 static void io_zcrx_return_niov_freelist(struct net_iov *niov) in io_zcrx_return_niov_freelist()
609 static struct net_iov *zcrx_get_free_niov(struct io_zcrx_area *area) in zcrx_get_free_niov()
622 static void io_zcrx_return_niov(struct net_iov *niov) in io_zcrx_return_niov()
[all …]
/linux/include/linux/
H A Dskbuff.h3690 static inline struct net_iov *skb_frag_net_iov(const skb_frag_t *frag) in skb_frag_net_iov()
/linux/net/ipv4/
H A Dtcp.c2562 struct net_iov *niov; in tcp_recvmsg_dmabuf()