Home
last modified time | relevance | path

Searched refs:rb_parent (Results 1 – 20 of 20) sorted by relevance

/linux-2.6.39/lib/
Drbtree.c29 struct rb_node *parent = rb_parent(node); in __rb_rotate_left()
52 struct rb_node *parent = rb_parent(node); in __rb_rotate_right()
76 while ((parent = rb_parent(node)) && rb_is_red(parent)) in rb_insert_color()
78 gparent = rb_parent(parent); in rb_insert_color()
160 parent = rb_parent(node); in __rb_erase_color()
194 parent = rb_parent(node); in __rb_erase_color()
235 if (rb_parent(old)) { in rb_erase()
236 if (rb_parent(old)->rb_left == old) in rb_erase()
237 rb_parent(old)->rb_left = node; in rb_erase()
239 rb_parent(old)->rb_right = node; in rb_erase()
[all …]
/linux-2.6.39/mm/
Dmmap.c363 struct rb_node ** rb_parent) in find_vma_prepare() argument
393 *rb_parent = __rb_parent; in find_vma_prepare()
399 struct vm_area_struct *prev, struct rb_node *rb_parent) in __vma_link_list() argument
409 if (rb_parent) in __vma_link_list()
410 next = rb_entry(rb_parent, in __vma_link_list()
421 struct rb_node **rb_link, struct rb_node *rb_parent) in __vma_link_rb() argument
423 rb_link_node(&vma->vm_rb, rb_parent, rb_link); in __vma_link_rb()
452 struct rb_node *rb_parent) in __vma_link() argument
454 __vma_link_list(mm, vma, prev, rb_parent); in __vma_link()
455 __vma_link_rb(mm, vma, rb_link, rb_parent); in __vma_link()
[all …]
/linux-2.6.39/include/linux/
Drbtree.h116 #define rb_parent(r) ((struct rb_node *)((r)->rb_parent_color & ~3)) macro
136 #define RB_EMPTY_NODE(node) (rb_parent(node) == node)
/linux-2.6.39/fs/jffs2/
Dnodelist.h345 #define frag_parent(frag) rb_entry(rb_parent(&(frag)->rb), struct jffs2_node_frag, rb)
352 #define tn_parent(tn) rb_entry(rb_parent(&(tn)->rb), struct jffs2_tmp_dnode_info, rb)
Dreadinode.c401 struct rb_node *parent = rb_parent(node); in eat_last()
559 this = rb_parent(this); in jffs2_free_tmp_dnode_info_list()
/linux-2.6.39/fs/ext4/
Dblock_validity.c204 parent = rb_parent(n); in ext4_release_system_zone()
Ddir.c315 parent = rb_parent(n); in free_rb_tree_fname()
/linux-2.6.39/kernel/
Dfork.c315 struct rb_node **rb_link, *rb_parent; in dup_mmap() local
336 rb_parent = NULL; in dup_mmap()
413 __vma_link_rb(mm, tmp, rb_link, rb_parent); in dup_mmap()
415 rb_parent = &tmp->vm_rb; in dup_mmap()
/linux-2.6.39/kernel/trace/
Dtrace_stat.c57 struct rb_node *parent = rb_parent(node); in release_next()
/linux-2.6.39/fs/afs/
Dvnode.c37 if (rb_parent(node) != parent) {
38 printk("BAD: %p != %p\n", rb_parent(node), parent);
/linux-2.6.39/fs/ext3/
Ddir.c293 parent = rb_parent(n); in free_rb_tree_fname()
/linux-2.6.39/drivers/mtd/ubi/
Dscan.c1265 this = rb_parent(this); in destroy_sv()
1316 rb = rb_parent(rb); in ubi_scan_destroy_si()
Dwl.c1330 rb = rb_parent(rb); in tree_destroy()
/linux-2.6.39/fs/ubifs/
Dlog.c611 this = rb_parent(this); in destroy_done_tree()
Dorphan.c825 this = rb_parent(this); in dbg_free_check_tree()
Dreplay.c277 this = rb_parent(this); in destroy_replay_tree()
Drecovery.c1333 this = rb_parent(this); in ubifs_destroy_size_tree()
Dsuper.c887 this = rb_parent(this); in free_buds()
Ddebug.c2103 this = rb_parent(this); in free_inodes()
Dtnc.c193 this = rb_parent(this); in destroy_old_idx()