Lines Matching full:commit

17  * make_idx_node - make an index node for fill-the-gaps method of TNC commit.
156 * find_old_idx - find an index node obsoleted since the last commit start.
218 * method of TNC commit.
326 * get_leb_cnt - calculate the number of empty LEBs needed to commit.
328 * @cnt: number of znodes to commit
330 * This function returns the number of empty LEBs needed to commit @cnt znodes
349 * @cnt: number of dirty znodes to commit.
352 * method of TNC commit.
387 /* Try to commit anyway */ in layout_in_gaps()
556 * layout_commit - determine positions of index nodes to commit.
559 * @cnt: number of znodes to commit
561 * Calculate and update the positions of index nodes to commit. If there were
565 * the end of the last commit. To write "in-the-gaps" requires that those index
637 * get_znodes_to_commit - create list of dirty znodes to commit.
640 * This function returns the number of znodes to commit.
650 dbg_cmt("no znodes to commit"); in get_znodes_to_commit()
675 * alloc_idx_lebs - allocate empty LEBs to be used to commit.
677 * @cnt: number of znodes to commit
690 dbg_cmt("need about %d empty LEBS for TNC commit", leb_cnt); in alloc_idx_lebs()
709 * free_unused_idx_lebs - free unused LEBs that were allocated for the commit.
712 * It is possible that we allocate more empty LEBs for the commit than we need.
733 * free_idx_lebs - free unused LEBs after commit end.
749 * ubifs_tnc_start_commit - start TNC commit.
753 * This function prepares the list of indexing nodes to commit and lays out
755 * in-gap commit method. Returns zero in case of success and a negative error
795 * space which is needed to commit the index, and it is save for the in ubifs_tnc_start_commit()
842 /* Allocate commit buffer */ in write_index()
1030 * At the end of commit end, obsolete znodes are freed.
1051 * return_gap_lebs - return LEBs used by the in-gap commit method.
1055 * "commit in-the-gaps" method.
1078 * ubifs_tnc_end_commit - update the TNC for commit end.