Lines Matching refs:pgsz
55 unsigned long pgsz) in ib_umem_dma_offset() argument
58 (pgsz - 1); in ib_umem_dma_offset()
62 unsigned long pgsz) in ib_umem_num_dma_blocks() argument
64 return (size_t)((ALIGN(umem->iova + umem->length, pgsz) - in ib_umem_num_dma_blocks()
65 ALIGN_DOWN(umem->iova, pgsz))) / in ib_umem_num_dma_blocks()
66 pgsz; in ib_umem_num_dma_blocks()
76 unsigned long pgsz) in __rdma_umem_block_iter_start() argument
79 umem->sgt_append.sgt.nents, pgsz); in __rdma_umem_block_iter_start()
80 biter->__sg_advance = ib_umem_offset(umem) & ~(pgsz - 1); in __rdma_umem_block_iter_start()
81 biter->__sg_numblocks = ib_umem_num_dma_blocks(umem, pgsz); in __rdma_umem_block_iter_start()
100 #define rdma_umem_for_each_dma_block(umem, biter, pgsz) \ argument
101 for (__rdma_umem_block_iter_start(biter, umem, pgsz); \