Searched refs:DVMA_PAGE_MASK (Results 1 – 3 of 3) sorted by relevance
212 baddr &= DVMA_PAGE_MASK; in free_baddr()297 off = kaddr & ~DVMA_PAGE_MASK; in dvma_map_align()300 len = ((len + (DVMA_PAGE_SIZE-1)) & DVMA_PAGE_MASK); in dvma_map_align()305 align = ((align + (DVMA_PAGE_SIZE-1)) & DVMA_PAGE_MASK); in dvma_map_align()346 len = ((len + (DVMA_PAGE_SIZE-1)) & DVMA_PAGE_MASK); in dvma_malloc_align()
16 #define DVMA_PAGE_MASK (~(DVMA_PAGE_SIZE-1)) macro17 #define DVMA_PAGE_ALIGN(addr) (((addr)+DVMA_PAGE_SIZE-1)&DVMA_PAGE_MASK)
159 if(len & ~DVMA_PAGE_MASK) in dvma_map_iommu()