kernels/linux-2.4.0/mm/mmap_avl.c
/* check that all values are properly increasing */
check that all values are properly increasing
check that all values are properly increasing
static void avl_checkorder (struct vm_area_struct * tree)
{
	if (tree == vm_avl_empty)
		return;
	avl_checkorder(tree->vm_avl_left);
	avl_checkorder(tree->vm_avl_right);
	avl_checkleft(tree->vm_avl_left,tree->vm_avl_key);
	avl_checkright(tree->vm_avl_right,tree->vm_avl_key);
}
static void avl_checkorder ( struct vm_area_struct * tree ) { if ( tree == vm_avl_empty ) return ; avl_checkorder ( tree -> vm_avl_left ) ; avl_checkorder ( tree -> vm_avl_right ) ; avl_checkleft ( tree -> vm_avl_left , tree -> vm_avl_key ) ; avl_checkright ( tree -> vm_avl_right , tree -> vm_avl_key ) ; }
check that all values are properly increasing
check that all values are properly increasing