Searched refs:XV_ALIGN (Results 1 – 2 of 2) sorted by relevance
85 ((char *)block + block->size + XV_ALIGN); in BLOCK_NEXT()289 block->size = PAGE_SIZE - XV_ALIGN; in grow_pool()355 size = ALIGN(size, XV_ALIGN); in xv_malloc()383 tmpoffset = *offset + size + XV_ALIGN; in xv_malloc()385 tmpblock = (struct block_header *)((char *)block + size + XV_ALIGN); in xv_malloc()387 tmpblock->size = tmpsize - XV_ALIGN; in xv_malloc()395 if (tmpoffset + XV_ALIGN + tmpblock->size != PAGE_SIZE) { in xv_malloc()411 *offset += XV_ALIGN; in xv_malloc()425 offset -= XV_ALIGN; in xv_free()435 block->size = ALIGN(block->size, XV_ALIGN); in xv_free()[all …]
27 #define XV_ALIGN (1 << XV_ALIGN_SHIFT) macro28 #define XV_ALIGN_MASK (XV_ALIGN - 1)32 #define XV_MAX_ALLOC_SIZE (PAGE_SIZE - XV_ALIGN)78 u8 common[XV_ALIGN];