kernels/linux-2.4.0/mm/mmap_avl.c
/* check that all values stored in a tree are < key */
check that all values stored in a tree are < key
check that all values stored in a tree are < key
static void avl_checkleft (struct vm_area_struct * tree, vm_avl_key_t key)
{
	if (tree == vm_avl_empty)
		return;
	avl_checkleft(tree->vm_avl_left,key);
	avl_checkleft(tree->vm_avl_right,key);
	if (tree->vm_avl_key < key)
		return;
	printk("%s: avl_checkleft: left key %lu >= top key %lu\n",avl_check_point,tree->vm_avl_key,key);
}
static void avl_checkleft ( struct vm_area_struct * tree , vm_avl_key_t key ) { if ( tree == vm_avl_empty ) return ; avl_checkleft ( tree -> vm_avl_left , key ) ; avl_checkleft ( tree -> vm_avl_right , key ) ; if ( tree -> vm_avl_key < key ) return ; printk ( " \n " , avl_check_point , tree -> vm_avl_key , key ) ; }
check that all values stored in a tree are < key
check that all values stored in a tree are < key