Searched refs:pages_to_map (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/infiniband/hw/mlx5/ |
H A D | umr.c | 794 size_t pages_to_map = 0; in mlx5r_umr_update_xlt() local 816 pages_to_map = ALIGN(npages, page_align); in mlx5r_umr_update_xlt() 829 pages_to_map = min_t(size_t, pages_to_map, max_pages); in mlx5r_umr_update_xlt() 837 pages_mapped < pages_to_map && !err; in mlx5r_umr_update_xlt() 839 npages = min_t(int, pages_iter, pages_to_map - pages_mapped); in mlx5r_umr_update_xlt() 848 if (pages_mapped + pages_iter >= pages_to_map) in mlx5r_umr_update_xlt()
|
/linux/drivers/net/xen-netback/ |
H A D | common.h | 173 struct page *pages_to_map[MAX_PENDING_REQS]; member
|
H A 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/net/ipv4/ |
H A D | tcp.c | 2028 unsigned int pages_to_map, in tcp_zerocopy_vm_insert_batch() argument 2035 unsigned long pages_remaining = pages_to_map; in tcp_zerocopy_vm_insert_batch() 2041 pages_mapped = pages_to_map - (unsigned int)pages_remaining; in tcp_zerocopy_vm_insert_batch() 2121 unsigned int pages_to_map = 0; in tcp_zerocopy_receive() local 2210 pages[pages_to_map++] = page; in tcp_zerocopy_receive() 2214 if (pages_to_map == TCP_ZEROCOPY_PAGE_BATCH_SIZE || in tcp_zerocopy_receive() 2220 pages_to_map, in tcp_zerocopy_receive() 2226 pages_to_map = 0; in tcp_zerocopy_receive() 2229 if (pages_to_map) { in tcp_zerocopy_receive() 2230 ret = tcp_zerocopy_vm_insert_batch(vma, pages, pages_to_map, in tcp_zerocopy_receive()
|