Lines Matching refs:cnext
136 c->enext = znode->cnext; in fill_gap()
137 if (c->enext == c->cnext) in fill_gap()
416 struct ubifs_znode *znode, *cnext, *zp; in layout_in_empty_space() local
420 cnext = c->enext; in layout_in_empty_space()
421 if (!cnext) in layout_in_empty_space()
433 next_len = ubifs_idx_node_sz(c, cnext->child_cnt); in layout_in_empty_space()
438 znode = cnext; in layout_in_empty_space()
490 cnext = znode->cnext; in layout_in_empty_space()
491 if (cnext == c->cnext) in layout_in_empty_space()
494 next_len = ubifs_idx_node_sz(c, cnext->child_cnt); in layout_in_empty_space()
652 struct ubifs_znode *znode, *cnext; in get_znodes_to_commit() local
655 c->cnext = find_first_dirty(c->zroot.znode); in get_znodes_to_commit()
656 znode = c->enext = c->cnext; in get_znodes_to_commit()
666 cnext = find_next_dirty(znode); in get_znodes_to_commit()
667 if (!cnext) { in get_znodes_to_commit()
668 znode->cnext = c->cnext; in get_znodes_to_commit()
671 znode->cnext = cnext; in get_znodes_to_commit()
672 znode = cnext; in get_znodes_to_commit()
833 struct ubifs_znode *znode, *cnext; in write_index() local
837 cnext = c->enext; in write_index()
838 if (!cnext) in write_index()
854 next_len = ubifs_idx_node_sz(c, cnext->child_cnt); in write_index()
866 znode = cnext; in write_index()
909 cnext = znode->cnext; in write_index()
938 if (cnext == c->cnext) in write_index()
941 next_len = ubifs_idx_node_sz(c, cnext->child_cnt); in write_index()
1028 struct ubifs_znode *znode, *cnext; in free_obsolete_znodes() local
1030 cnext = c->cnext; in free_obsolete_znodes()
1032 znode = cnext; in free_obsolete_znodes()
1033 cnext = znode->cnext; in free_obsolete_znodes()
1037 znode->cnext = NULL; in free_obsolete_znodes()
1041 } while (cnext != c->cnext); in free_obsolete_znodes()
1081 if (!c->cnext) in ubifs_tnc_end_commit()
1098 c->cnext = NULL; in ubifs_tnc_end_commit()