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()846 ASSERT(0 == (byte_cnt & ~iovp_mask)); in sba_mark_invalid()954 offset = ((dma_addr_t) (long) addr) & ~iovp_mask; in sba_map_page()957 size = (size + offset + ~iovp_mask) & iovp_mask; in sba_map_page()1061 offset = iova & ~iovp_mask; in sba_unmap_page()1226 dma_offset = (unsigned long) pide & ~iovp_mask; in sba_fill_pdir()1315 dma_offset = vaddr & ~iovp_mask; in sba_coalesce_chunks()1340 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
307 #define SBA_IOVP(ioc,iova) ((iova) & (ioc)->iovp_mask)1320 ioc->iovp_mask = ~(iova_space_mask + PAGE_SIZE - 1); in sba_ioc_init_pluto()1458 ioc->iovp_mask = ~(iova_space_mask + PAGE_SIZE - 1); in sba_ioc_init()