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_checkright (struct vm_area_struct * tree, vm_avl_key_t key)
{
	if (tree == vm_avl_empty)
		return;
	avl_checkright(tree->vm_avl_left,key);
	avl_checkright(tree->vm_avl_right,key);
	if (tree->vm_avl_key > key)
		return;
	printk("%s: avl_checkright: right key %lu <= top key %lu\n",avl_check_point,tree->vm_avl_key,key);
}
static void avl_checkright ( struct vm_area_struct * tree , vm_avl_key_t key ) { if ( tree == vm_avl_empty ) return ; avl_checkright ( tree -> vm_avl_left , key ) ; avl_checkright ( 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