Searched refs:iovp_mask (Results 1 – 3 of 3) sorted by relevance
200 static unsigned long iovp_mask; variable499 BUG_ON(ioc->ibase & ~iovp_mask); in sba_search_bitmap()640 ASSERT(0 == (size & ~iovp_mask)); in sba_alloc_range()855 ASSERT(0 == (byte_cnt & ~iovp_mask)); in sba_mark_invalid()962 offset = ((dma_addr_t) (long) addr) & ~iovp_mask; in sba_map_page()965 size = (size + offset + ~iovp_mask) & iovp_mask; in sba_map_page()1077 offset = iova & ~iovp_mask; in sba_unmap_page()1255 dma_offset = (unsigned long) pide & ~iovp_mask; in sba_fill_pdir()1344 dma_offset = vaddr & ~iovp_mask; in sba_coalesce_chunks()1369 if (((dma_len + dma_offset + startsg->length + ~iovp_mask) & iovp_mask) in sba_coalesce_chunks()[all …]
35 unsigned long iovp_mask; /* help convert IOVA to IOVP */ member
307 #define SBA_IOVP(ioc,iova) ((iova) & (ioc)->iovp_mask)1313 ioc->iovp_mask = ~(iova_space_mask + PAGE_SIZE - 1); in sba_ioc_init_pluto()1451 ioc->iovp_mask = ~(iova_space_mask + PAGE_SIZE - 1); in sba_ioc_init()