Lines Matching refs:IOVP_MASK
185 #define IOVP_MASK PAGE_MASK macro
571 ASSERT(0 == (size & ~IOVP_MASK)); in sba_alloc_range()
758 ASSERT(0 == (byte_cnt & ~IOVP_MASK)); in sba_mark_invalid()
847 offset = ((dma_addr_t) (long) addr) & ~IOVP_MASK; in sba_map_single()
850 size = (size + offset + ~IOVP_MASK) & IOVP_MASK; in sba_map_single()
921 offset = iova & ~IOVP_MASK; in sba_unmap_single()
1073 dma_offset = (unsigned long) pide & ~IOVP_MASK; in sba_fill_pdir()
1159 dma_offset = vaddr & ~IOVP_MASK; in sba_coalesce_chunks()
1186 if (((dma_len + dma_offset + startsg->length + ~IOVP_MASK) & IOVP_MASK) > DMA_CHUNK_SIZE) in sba_coalesce_chunks()
1248 dma_len = (dma_len + dma_offset + ~IOVP_MASK) & IOVP_MASK; in sba_coalesce_chunks()
1381 …ioc->usg_pages += ((sg_dma_address(sglist) & ~IOVP_MASK) + sg_dma_len(sglist) + IOVP_SIZE - 1) >> … in sba_unmap_sg()