Lines Matching refs:node
89 struct rb_node *node; in ocfs2_dump_resv() local
96 node = rb_first(&resmap->m_reservations); in ocfs2_dump_resv()
97 while (node) { in ocfs2_dump_resv()
98 resv = rb_entry(node, struct ocfs2_alloc_reservation, r_node); in ocfs2_dump_resv()
105 node = rb_next(node); in ocfs2_dump_resv()
148 struct rb_node *node; in ocfs2_check_resmap() local
151 node = rb_first(&resmap->m_reservations); in ocfs2_check_resmap()
152 while (node) { in ocfs2_check_resmap()
153 resv = rb_entry(node, struct ocfs2_alloc_reservation, r_node); in ocfs2_check_resmap()
183 node = rb_next(node); in ocfs2_check_resmap()
282 struct rb_node *node; in ocfs2_resmap_clear_all_resv() local
287 while ((node = rb_last(&resmap->m_reservations)) != NULL) { in ocfs2_resmap_clear_all_resv()
288 resv = rb_entry(node, struct ocfs2_alloc_reservation, r_node); in ocfs2_resmap_clear_all_resv()
371 struct rb_node *node = resmap->m_reservations.rb_node; in ocfs2_find_resv_lhs() local
375 if (!node) in ocfs2_find_resv_lhs()
378 node = rb_first(&resmap->m_reservations); in ocfs2_find_resv_lhs()
379 while (node) { in ocfs2_find_resv_lhs()
380 resv = rb_entry(node, struct ocfs2_alloc_reservation, r_node); in ocfs2_find_resv_lhs()
392 node = rb_next(node); in ocfs2_find_resv_lhs()