taglinefilesource code
tree340include/linux/mm.hstruct vm_area_struct * tree = task->mm->mmap_avl;
tree342include/linux/mm.hif (tree == avl_empty)
tree344include/linux/mm.hif (tree->vm_end > addr) {
tree345include/linux/mm.hresult = tree;
tree346include/linux/mm.hif (tree->vm_start <= addr)
tree348include/linux/mm.htree = tree->vm_avl_left;
tree350include/linux/mm.htree = tree->vm_avl_right;
tree238mm/mmap.c#define heightof(tree)  ((tree) == avl_empty ? 0 : (tree)->vm_avl_height)
tree248mm/mmap.cstatic inline 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)
tree254mm/mmap.cif (tree == avl_empty) {
tree258mm/mmap.cif (key == tree->vm_avl_key)
tree260mm/mmap.cif (key < tree->vm_avl_key) {
tree261mm/mmap.c*to_the_right = tree;
tree262mm/mmap.ctree = tree->vm_avl_left;
tree264mm/mmap.c*to_the_left = tree;
tree265mm/mmap.ctree = tree->vm_avl_right;
tree268mm/mmap.cif (tree != node) {
tree272mm/mmap.cif (tree->vm_avl_left != avl_empty) {
tree274mm/mmap.cfor (node = tree->vm_avl_left; node->vm_avl_right != avl_empty; node = node->vm_avl_right)
tree278mm/mmap.cif (tree->vm_avl_right != avl_empty) {
tree280mm/mmap.cfor (node = tree->vm_avl_right; node->vm_avl_left != avl_empty; node = node->vm_avl_left)
tree495mm/mmap.cstatic void printk_avl (struct vm_area_struct * tree)
tree497mm/mmap.cif (tree != avl_empty) {
tree499mm/mmap.cif (tree->vm_avl_left != avl_empty) {
tree500mm/mmap.cprintk_avl(tree->vm_avl_left);
tree503mm/mmap.cprintk("%08lX-%08lX", tree->vm_start, tree->vm_end);
tree504mm/mmap.cif (tree->vm_avl_right != avl_empty) {
tree506mm/mmap.cprintk_avl(tree->vm_avl_right);
tree515mm/mmap.cstatic void avl_checkheights (struct vm_area_struct * tree)
tree519mm/mmap.cif (tree == avl_empty)
tree521mm/mmap.cavl_checkheights(tree->vm_avl_left);
tree522mm/mmap.cavl_checkheights(tree->vm_avl_right);
tree523mm/mmap.ch = tree->vm_avl_height;
tree524mm/mmap.chl = heightof(tree->vm_avl_left);
tree525mm/mmap.chr = heightof(tree->vm_avl_right);
tree534mm/mmap.cstatic void avl_checkleft (struct vm_area_struct * tree, vm_avl_key_t key)
tree536mm/mmap.cif (tree == avl_empty)
tree538mm/mmap.cavl_checkleft(tree->vm_avl_left,key);
tree539mm/mmap.cavl_checkleft(tree->vm_avl_right,key);
tree540mm/mmap.cif (tree->vm_avl_key < key)
tree542mm/mmap.cprintk("%s: avl_checkleft: left key %lu >= top key %lu\n",avl_check_point,tree->vm_avl_key,key);
tree546mm/mmap.cstatic void avl_checkright (struct vm_area_struct * tree, vm_avl_key_t key)
tree548mm/mmap.cif (tree == avl_empty)
tree550mm/mmap.cavl_checkright(tree->vm_avl_left,key);
tree551mm/mmap.cavl_checkright(tree->vm_avl_right,key);
tree552mm/mmap.cif (tree->vm_avl_key > key)
tree554mm/mmap.cprintk("%s: avl_checkright: right key %lu <= top key %lu\n",avl_check_point,tree->vm_avl_key,key);
tree558mm/mmap.cstatic void avl_checkorder (struct vm_area_struct * tree)
tree560mm/mmap.cif (tree == avl_empty)
tree562mm/mmap.cavl_checkorder(tree->vm_avl_left);
tree563mm/mmap.cavl_checkorder(tree->vm_avl_right);
tree564mm/mmap.cavl_checkleft(tree->vm_avl_left,tree->vm_avl_key);
tree565mm/mmap.cavl_checkright(tree->vm_avl_right,tree->vm_avl_key);
tree27net/bridge/br_tree.cstatic void printk_avl (struct fdb * tree);
tree45net/bridge/br_tree.c#define heightof(tree)  ((tree) == avl_br_empty ? 0 : (tree)->fdb_avl_height)
tree68net/bridge/br_tree.cstruct fdb * tree;
tree81net/bridge/br_tree.cfor (tree = &fdb_head ; ; ) {
tree82net/bridge/br_tree.cif (tree == avl_br_empty) {
tree91net/bridge/br_tree.c(unsigned int)tree,
tree92net/bridge/br_tree.ctree->ula[0],
tree93net/bridge/br_tree.ctree->ula[1],
tree94net/bridge/br_tree.ctree->ula[2],
tree95net/bridge/br_tree.ctree->ula[3],
tree96net/bridge/br_tree.ctree->ula[4],
tree97net/bridge/br_tree.ctree->ula[5]);
tree99net/bridge/br_tree.cif (addr_cmp(addr, tree->ula) == 0) {
tree101net/bridge/br_tree.cprintk("found node 0x%x\n", (unsigned int)tree);
tree103net/bridge/br_tree.creturn tree;
tree105net/bridge/br_tree.cif (addr_cmp(addr, tree->ula) < 0) {
tree106net/bridge/br_tree.ctree = tree->fdb_avl_left;
tree108net/bridge/br_tree.ctree = tree->fdb_avl_right;
tree309net/bridge/br_tree.cstatic void printk_avl (struct fdb * tree)
tree311net/bridge/br_tree.cif (tree != avl_br_empty) {
tree314net/bridge/br_tree.ctree->ula[0],
tree315net/bridge/br_tree.ctree->ula[1],
tree316net/bridge/br_tree.ctree->ula[2],
tree317net/bridge/br_tree.ctree->ula[3],
tree318net/bridge/br_tree.ctree->ula[4],
tree319net/bridge/br_tree.ctree->ula[5]);
tree320net/bridge/br_tree.cif (tree->fdb_avl_left != avl_br_empty) {
tree321net/bridge/br_tree.cprintk_avl(tree->fdb_avl_left);
tree324net/bridge/br_tree.cif (tree->fdb_avl_right != avl_br_empty) {
tree326net/bridge/br_tree.cprintk_avl(tree->fdb_avl_right);
tree336net/bridge/br_tree.cstatic void avl_checkheights (struct fdb * tree)
tree340net/bridge/br_tree.cif (tree == avl_br_empty)
tree342net/bridge/br_tree.cavl_checkheights(tree->fdb_avl_left);
tree343net/bridge/br_tree.cavl_checkheights(tree->fdb_avl_right);
tree344net/bridge/br_tree.ch = tree->fdb_avl_height;
tree345net/bridge/br_tree.chl = heightof(tree->fdb_avl_left);
tree346net/bridge/br_tree.chr = heightof(tree->fdb_avl_right);
tree355net/bridge/br_tree.cstatic void avl_checkleft (struct fdb * tree, fdb_avl_key_t key)
tree357net/bridge/br_tree.cif (tree == avl_br_empty)
tree359net/bridge/br_tree.cavl_checkleft(tree->fdb_avl_left,key);
tree360net/bridge/br_tree.cavl_checkleft(tree->fdb_avl_right,key);
tree361net/bridge/br_tree.cif (tree->fdb_avl_key < key)
tree363net/bridge/br_tree.cprintk("%s: avl_checkleft: left key %lu >= top key %lu\n",avl_check_point,tree->fdb_avl_key,key);
tree367net/bridge/br_tree.cstatic void avl_checkright (struct fdb * tree, fdb_avl_key_t key)
tree369net/bridge/br_tree.cif (tree == avl_br_empty)
tree371net/bridge/br_tree.cavl_checkright(tree->fdb_avl_left,key);
tree372net/bridge/br_tree.cavl_checkright(tree->fdb_avl_right,key);
tree373net/bridge/br_tree.cif (tree->fdb_avl_key > key)
tree375net/bridge/br_tree.cprintk("%s: avl_checkright: right key %lu <= top key %lu\n",avl_check_point,tree->fdb_avl_key,key);
tree379net/bridge/br_tree.cstatic void avl_checkorder (struct fdb * tree)
tree381net/bridge/br_tree.cif (tree == avl_br_empty)
tree383net/bridge/br_tree.cavl_checkorder(tree->fdb_avl_left);
tree384net/bridge/br_tree.cavl_checkorder(tree->fdb_avl_right);
tree385net/bridge/br_tree.cavl_checkleft(tree->fdb_avl_left,tree->fdb_avl_key);
tree386net/bridge/br_tree.cavl_checkright(tree->fdb_avl_right,tree->fdb_avl_key);