Searched refs:pages_to_map (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/infiniband/hw/mlx5/ |
D | umr.c | 765 size_t pages_to_map = 0; in mlx5r_umr_update_xlt() local 787 pages_to_map = ALIGN(npages, page_align); in mlx5r_umr_update_xlt() 800 pages_to_map = min_t(size_t, pages_to_map, max_pages); in mlx5r_umr_update_xlt() 808 pages_mapped < pages_to_map && !err; in mlx5r_umr_update_xlt() 810 npages = min_t(int, pages_iter, pages_to_map - pages_mapped); in mlx5r_umr_update_xlt() 819 if (pages_mapped + pages_iter >= pages_to_map) in mlx5r_umr_update_xlt()
|
/linux-6.12.1/drivers/net/xen-netback/ |
D | common.h | 173 struct page *pages_to_map[MAX_PENDING_REQS]; member
|
D | netback.c | 346 queue->pages_to_map[mop-queue->tx_map_ops] = queue->mmap_pages[pending_idx]; in xenvif_tx_create_map_op() 1406 queue->pages_to_map, in xenvif_tx_action()
|
/linux-6.12.1/net/ipv4/ |
D | tcp.c | 2008 unsigned int pages_to_map, in tcp_zerocopy_vm_insert_batch() argument 2015 unsigned long pages_remaining = pages_to_map; in tcp_zerocopy_vm_insert_batch() 2021 pages_mapped = pages_to_map - (unsigned int)pages_remaining; in tcp_zerocopy_vm_insert_batch() 2101 unsigned int pages_to_map = 0; in tcp_zerocopy_receive() local 2190 pages[pages_to_map++] = page; in tcp_zerocopy_receive() 2194 if (pages_to_map == TCP_ZEROCOPY_PAGE_BATCH_SIZE || in tcp_zerocopy_receive() 2200 pages_to_map, in tcp_zerocopy_receive() 2206 pages_to_map = 0; in tcp_zerocopy_receive() 2209 if (pages_to_map) { in tcp_zerocopy_receive() 2210 ret = tcp_zerocopy_vm_insert_batch(vma, pages, pages_to_map, in tcp_zerocopy_receive()
|