Lines Matching refs:p

57 	struct rb_node **p, *parent = NULL;  in ubifs_add_orphan()  local
71 p = &c->orph_tree.rb_node; in ubifs_add_orphan()
72 while (*p) { in ubifs_add_orphan()
73 parent = *p; in ubifs_add_orphan()
76 p = &(*p)->rb_left; in ubifs_add_orphan()
78 p = &(*p)->rb_right; in ubifs_add_orphan()
88 rb_link_node(&orphan->rb, parent, p); in ubifs_add_orphan()
107 struct rb_node *p; in ubifs_delete_orphan() local
110 p = c->orph_tree.rb_node; in ubifs_delete_orphan()
111 while (p) { in ubifs_delete_orphan()
112 o = rb_entry(p, struct ubifs_orphan, rb); in ubifs_delete_orphan()
114 p = p->rb_left; in ubifs_delete_orphan()
116 p = p->rb_right; in ubifs_delete_orphan()
133 rb_erase(p, &c->orph_tree); in ubifs_delete_orphan()
504 struct rb_node **p, *parent = NULL; in insert_dead_orphan() local
511 p = &c->orph_tree.rb_node; in insert_dead_orphan()
512 while (*p) { in insert_dead_orphan()
513 parent = *p; in insert_dead_orphan()
516 p = &(*p)->rb_left; in insert_dead_orphan()
518 p = &(*p)->rb_right; in insert_dead_orphan()
526 rb_link_node(&orphan->rb, parent, p); in insert_dead_orphan()
739 struct rb_node *p; in dbg_find_orphan() local
742 p = c->orph_tree.rb_node; in dbg_find_orphan()
743 while (p) { in dbg_find_orphan()
744 o = rb_entry(p, struct ubifs_orphan, rb); in dbg_find_orphan()
746 p = p->rb_left; in dbg_find_orphan()
748 p = p->rb_right; in dbg_find_orphan()
761 struct rb_node **p, *parent = NULL; in dbg_ins_check_orphan() local
768 p = &root->rb_node; in dbg_ins_check_orphan()
769 while (*p) { in dbg_ins_check_orphan()
770 parent = *p; in dbg_ins_check_orphan()
773 p = &(*p)->rb_left; in dbg_ins_check_orphan()
775 p = &(*p)->rb_right; in dbg_ins_check_orphan()
781 rb_link_node(&orphan->rb, parent, p); in dbg_ins_check_orphan()
789 struct rb_node *p; in dbg_find_check_orphan() local
791 p = root->rb_node; in dbg_find_check_orphan()
792 while (p) { in dbg_find_check_orphan()
793 o = rb_entry(p, struct check_orphan, rb); in dbg_find_check_orphan()
795 p = p->rb_left; in dbg_find_check_orphan()
797 p = p->rb_right; in dbg_find_check_orphan()