Searched refs:idx_size (Results 1 – 6 of 6) sorted by relevance
175 long long idx_size; in ubifs_calc_min_idx_lebs() local177 idx_size = c->bi.old_idx_sz + c->bi.idx_growth + c->bi.uncommitted_idx; in ubifs_calc_min_idx_lebs()179 idx_size += idx_size << 1; in ubifs_calc_min_idx_lebs()185 idx_lebs = div_u64(idx_size + c->idx_leb_size - 1, c->idx_leb_size); in ubifs_calc_min_idx_lebs()
346 int dbg_check_idx_size(struct ubifs_info *c, long long idx_size);
1740 long long *idx_size = priv; in add_size() local1745 *idx_size += add; in add_size()1758 int dbg_check_idx_size(struct ubifs_info *c, long long idx_size) in dbg_check_idx_size() argument1772 if (calc != idx_size) { in dbg_check_idx_size()1774 calc, idx_size); in dbg_check_idx_size()
166 long long idx_size; in ubifs_calc_min_idx_lebs() local168 idx_size = c->bi.old_idx_sz + c->bi.idx_growth + c->bi.uncommitted_idx; in ubifs_calc_min_idx_lebs()170 idx_size += idx_size << 1; in ubifs_calc_min_idx_lebs()176 idx_lebs = div_u64(idx_size + c->idx_leb_size - 1, c->idx_leb_size); in ubifs_calc_min_idx_lebs()
281 int dbg_check_idx_size(struct ubifs_info *c, long long idx_size);
1716 long long *idx_size = priv; in add_size() local1721 *idx_size += add; in add_size()1734 int dbg_check_idx_size(struct ubifs_info *c, long long idx_size) in dbg_check_idx_size() argument1748 if (calc != idx_size) { in dbg_check_idx_size()1750 calc, idx_size); in dbg_check_idx_size()