taglinefilesource code
tree217mm/mmap.c#define heightof(tree)  ((tree) == avl_empty ? 0 : (tree)->vm_avl_height)
tree240mm/mmap.cstruct vm_area_struct * tree;
tree242mm/mmap.cfor (tree = task->mm->mmap_avl ; ; ) {
tree243mm/mmap.cif (tree == avl_empty)
tree245mm/mmap.cif (tree->vm_end > addr) {
tree246mm/mmap.cif (tree->vm_start <= addr)
tree247mm/mmap.creturn tree;
tree248mm/mmap.cresult = tree;
tree249mm/mmap.ctree = tree->vm_avl_left;
tree251mm/mmap.ctree = tree->vm_avl_right;
tree279mm/mmap.cstatic void avl_neighbours (struct vm_area_struct * node, struct vm_area_struct * tree, struct vm_area_struct ** to_the_left, struct vm_area_struct ** to_the_right)
tree285mm/mmap.cif (tree == avl_empty) {
tree289mm/mmap.cif (key == tree->vm_avl_key)
tree291mm/mmap.cif (key < tree->vm_avl_key) {
tree292mm/mmap.c*to_the_right = tree;
tree293mm/mmap.ctree = tree->vm_avl_left;
tree295mm/mmap.c*to_the_left = tree;
tree296mm/mmap.ctree = tree->vm_avl_right;
tree299mm/mmap.cif (tree != node) {
tree303mm/mmap.cif (tree->vm_avl_left != avl_empty) {
tree305mm/mmap.cfor (node = tree->vm_avl_left; node->vm_avl_right != avl_empty; node = node->vm_avl_right)
tree309mm/mmap.cif (tree->vm_avl_right != avl_empty) {
tree311mm/mmap.cfor (node = tree->vm_avl_right; node->vm_avl_left != avl_empty; node = node->vm_avl_left)
tree526mm/mmap.cstatic void printk_avl (struct vm_area_struct * tree)
tree528mm/mmap.cif (tree != avl_empty) {
tree530mm/mmap.cif (tree->vm_avl_left != avl_empty) {
tree531mm/mmap.cprintk_avl(tree->vm_avl_left);
tree534mm/mmap.cprintk("%08lX-%08lX", tree->vm_start, tree->vm_end);
tree535mm/mmap.cif (tree->vm_avl_right != avl_empty) {
tree537mm/mmap.cprintk_avl(tree->vm_avl_right);
tree546mm/mmap.cstatic void avl_checkheights (struct vm_area_struct * tree)
tree550mm/mmap.cif (tree == avl_empty)
tree552mm/mmap.cavl_checkheights(tree->vm_avl_left);
tree553mm/mmap.cavl_checkheights(tree->vm_avl_right);
tree554mm/mmap.ch = tree->vm_avl_height;
tree555mm/mmap.chl = heightof(tree->vm_avl_left);
tree556mm/mmap.chr = heightof(tree->vm_avl_right);
tree565mm/mmap.cstatic void avl_checkleft (struct vm_area_struct * tree, vm_avl_key_t key)
tree567mm/mmap.cif (tree == avl_empty)
tree569mm/mmap.cavl_checkleft(tree->vm_avl_left,key);
tree570mm/mmap.cavl_checkleft(tree->vm_avl_right,key);
tree571mm/mmap.cif (tree->vm_avl_key < key)
tree573mm/mmap.cprintk("%s: avl_checkleft: left key %lu >= top key %lu\n",avl_check_point,tree->vm_avl_key,key);
tree577mm/mmap.cstatic void avl_checkright (struct vm_area_struct * tree, vm_avl_key_t key)
tree579mm/mmap.cif (tree == avl_empty)
tree581mm/mmap.cavl_checkright(tree->vm_avl_left,key);
tree582mm/mmap.cavl_checkright(tree->vm_avl_right,key);
tree583mm/mmap.cif (tree->vm_avl_key > key)
tree585mm/mmap.cprintk("%s: avl_checkright: right key %lu <= top key %lu\n",avl_check_point,tree->vm_avl_key,key);
tree589mm/mmap.cstatic void avl_checkorder (struct vm_area_struct * tree)
tree591mm/mmap.cif (tree == avl_empty)
tree593mm/mmap.cavl_checkorder(tree->vm_avl_left);
tree594mm/mmap.cavl_checkorder(tree->vm_avl_right);
tree595mm/mmap.cavl_checkleft(tree->vm_avl_left,tree->vm_avl_key);
tree596mm/mmap.cavl_checkright(tree->vm_avl_right,tree->vm_avl_key);