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
103 struct net_iov *niovs; argument
110 static inline struct net_iov_area *net_iov_owner(const struct net_iov *niov) in net_iov_owner()
115 static inline unsigned int net_iov_idx(const struct net_iov *niov) in net_iov_idx()
122 static inline void net_iov_init(struct net_iov *niov, in net_iov_init()
171 static inline struct net_iov *netmem_to_net_iov(netmem_ref netmem) in netmem_to_net_iov()
174 return (struct net_iov *)((__force unsigned long)netmem & in netmem_to_net_iov()
181 static inline netmem_ref net_iov_to_netmem(struct net_iov *niov) in net_iov_to_netmem()
270 return &((struct net_iov *)p)->desc; in netmem_to_nmdesc()
367 static inline bool net_is_devmem_iov(const struct net_iov *niov) in net_is_devmem_iov()
[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()
250 binding->tx_vec = kvmalloc_objs(struct net_iov *, in net_devmem_bind_dmabuf()
274 struct net_iov *niov; in net_devmem_bind_dmabuf()
367 void net_devmem_get_net_iov(struct net_iov *niov) in net_devmem_get_net_iov()
372 void net_devmem_put_net_iov(struct net_iov *niov) in net_devmem_put_net_iov()
429 struct net_iov * in net_devmem_get_niov_at()
467 struct net_iov *nio in mp_dmabuf_devmem_alloc_netmems()
[all...]
H A Dpage_pool.c1326 bool net_mp_niov_set_dma_addr(struct net_iov *niov, dma_addr_t addr)
1334 void net_mp_niov_set_page_pool(struct page_pool *pool, struct net_iov *niov)
1347 void net_mp_niov_clear_page_pool(struct net_iov *niov)
H A Ddatagram.c713 struct net_iov *niov; in zerocopy_fill_skb_from_devmem()
H A Dskbuff.c7475 struct net_iov *niov = netmem_to_net_iov(netmem); in __get_netmem()
7484 struct net_iov *niov = netmem_to_net_iov(netmem); in __put_netmem()
H A Ddev.c3995 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()
58 static inline struct page *io_zcrx_iov_page(const struct net_iov *niov) in io_area_max_shift()
97 struct net_iov *niov = &area->nia.niovs[niov_idx]; in io_populate_area_dma()
347 static inline atomic_t *io_get_user_counter(struct net_iov *niov) in io_zcrx_put_niov_uref()
354 static bool io_zcrx_put_niov_uref(struct net_iov *niov) in io_zcrx_put_niov_uref()
368 static void io_zcrx_get_niov_uref(struct net_iov *niov) in io_fill_zcrx_offsets()
506 struct net_iov *niov = &area->nia.niovs[i]; in io_zcrx_create_area()
615 static void io_zcrx_return_niov_freelist(struct net_iov *niov) in zcrx_get_free_niov()
625 static struct net_iov *zcrx_get_free_niov(struct io_zcrx_area *area) in io_zcrx_return_niov()
638 static void io_zcrx_return_niov(struct net_iov *nio in io_zcrx_scrub()
[all...]
/linux/include/linux/
H A Dskbuff.h3678 /* Return: true if the skb_frag contains a net_iov. */
3685 * skb_frag_net_iov - retrieve the net_iov referred to by fragment
3688 * Return: the &struct net_iov associated with @frag. Returns NULL if this
3689 * frag has no associated net_iov.
3691 static inline struct net_iov *skb_frag_net_iov(const skb_frag_t *frag)
/linux/net/ipv4/
H A Dtcp.c2558 struct net_iov *niov; in tcp_recvmsg_dmabuf()
2570 net_err_ratelimited("Found non-dmabuf skb with net_iov"); in tcp_recvmsg_dmabuf()