Lines Matching defs:pgsz
38 unsigned long pgsz)
40 return (size_t)((ALIGN(umem->iova + umem->length, pgsz) -
41 ALIGN_DOWN(umem->iova, pgsz))) /
42 pgsz;
52 unsigned long pgsz)
54 __rdma_block_iter_start(biter, umem->sg_head.sgl, umem->nmap, pgsz);
60 * @pgsz: Page size to split the list into
62 * pgsz must be <= PAGE_SIZE or computed by ib_umem_find_best_pgsz(). The
63 * returned DMA blocks will be aligned to pgsz and span the range:
64 * ALIGN_DOWN(umem->address, pgsz) to ALIGN(umem->address + umem->length, pgsz)
68 #define rdma_umem_for_each_dma_block(umem, biter, pgsz) \
69 for (__rdma_umem_block_iter_start(biter, umem, pgsz); \