/* Get index of free list having blocks of size greater than or equal to requested size.  */
static u32 get_index(u32 size)
/* Get index of free list having blocks of size greater than or equal to requested size.  */
static u32 get_index(u32 size)
{
	if (unlikely(size < XV_MIN_ALLOC_SIZE))
		size = XV_MIN_ALLOC_SIZE;
	size = ALIGN(size, FL_DELTA);
	return (size - XV_MIN_ALLOC_SIZE) >> FL_DELTA_SHIFT;
}