Searched refs:iovp_mask (Results 1 – 3 of 3) sorted by relevance
196 static unsigned long iovp_mask; variable490 BUG_ON(ioc->ibase & ~iovp_mask); in sba_search_bitmap()631 ASSERT(0 == (size & ~iovp_mask)); in sba_alloc_range()854 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()1069 offset = iova & ~iovp_mask; in sba_unmap_page()1234 dma_offset = (unsigned long) pide & ~iovp_mask; in sba_fill_pdir()1323 dma_offset = vaddr & ~iovp_mask; in sba_coalesce_chunks()1348 if (((dma_len + dma_offset + startsg->length + ~iovp_mask) & iovp_mask) in sba_coalesce_chunks()[all …]
36 unsigned long iovp_mask; /* help convert IOVA to IOVP */ member
311 #define SBA_IOVP(ioc,iova) ((iova) & (ioc)->iovp_mask)1331 ioc->iovp_mask = ~(iova_space_mask + PAGE_SIZE - 1); in sba_ioc_init_pluto()1469 ioc->iovp_mask = ~(iova_space_mask + PAGE_SIZE - 1); in sba_ioc_init()