Home
last modified time | relevance | path

Searched refs:pages_to_map (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/infiniband/hw/mlx5/
Dumr.c700 size_t pages_to_map = 0; in mlx5r_umr_update_xlt() local
722 pages_to_map = ALIGN(npages, page_align); in mlx5r_umr_update_xlt()
735 pages_to_map = min_t(size_t, pages_to_map, max_pages); in mlx5r_umr_update_xlt()
743 pages_mapped < pages_to_map && !err; in mlx5r_umr_update_xlt()
745 npages = min_t(int, pages_iter, pages_to_map - pages_mapped); in mlx5r_umr_update_xlt()
754 if (pages_mapped + pages_iter >= pages_to_map) in mlx5r_umr_update_xlt()
/linux-6.6.21/drivers/net/xen-netback/
Dcommon.h173 struct page *pages_to_map[MAX_PENDING_REQS]; member
Dnetback.c345 queue->pages_to_map[mop-queue->tx_map_ops] = queue->mmap_pages[pending_idx]; in xenvif_tx_create_map_op()
1400 queue->pages_to_map, in xenvif_tx_action()
/linux-6.6.21/net/ipv4/
Dtcp.c1996 unsigned int pages_to_map, in tcp_zerocopy_vm_insert_batch() argument
2003 unsigned long pages_remaining = pages_to_map; in tcp_zerocopy_vm_insert_batch()
2009 pages_mapped = pages_to_map - (unsigned int)pages_remaining; in tcp_zerocopy_vm_insert_batch()
2089 unsigned int pages_to_map = 0; in tcp_zerocopy_receive() local
2172 pages[pages_to_map++] = page; in tcp_zerocopy_receive()
2176 if (pages_to_map == TCP_ZEROCOPY_PAGE_BATCH_SIZE || in tcp_zerocopy_receive()
2182 pages_to_map, in tcp_zerocopy_receive()
2188 pages_to_map = 0; in tcp_zerocopy_receive()
2191 if (pages_to_map) { in tcp_zerocopy_receive()
2192 ret = tcp_zerocopy_vm_insert_batch(vma, pages, pages_to_map, in tcp_zerocopy_receive()