Lines Matching refs:node
76 struct rb_node *node; in ocfs2_dump_resv() local
83 node = rb_first(&resmap->m_reservations); in ocfs2_dump_resv()
84 while (node) { in ocfs2_dump_resv()
85 resv = rb_entry(node, struct ocfs2_alloc_reservation, r_node); in ocfs2_dump_resv()
92 node = rb_next(node); in ocfs2_dump_resv()
135 struct rb_node *node; in ocfs2_check_resmap() local
138 node = rb_first(&resmap->m_reservations); in ocfs2_check_resmap()
139 while (node) { in ocfs2_check_resmap()
140 resv = rb_entry(node, struct ocfs2_alloc_reservation, r_node); in ocfs2_check_resmap()
170 node = rb_next(node); in ocfs2_check_resmap()
267 struct rb_node *node; in ocfs2_resmap_clear_all_resv() local
272 while ((node = rb_last(&resmap->m_reservations)) != NULL) { in ocfs2_resmap_clear_all_resv()
273 resv = rb_entry(node, struct ocfs2_alloc_reservation, r_node); in ocfs2_resmap_clear_all_resv()
356 struct rb_node *node = resmap->m_reservations.rb_node; in ocfs2_find_resv_lhs() local
360 if (!node) in ocfs2_find_resv_lhs()
363 node = rb_first(&resmap->m_reservations); in ocfs2_find_resv_lhs()
364 while (node) { in ocfs2_find_resv_lhs()
365 resv = rb_entry(node, struct ocfs2_alloc_reservation, r_node); in ocfs2_find_resv_lhs()
377 node = rb_next(node); in ocfs2_find_resv_lhs()