Home
last modified time | relevance | path

Searched refs:idx_size (Results 1 – 6 of 6) sorted by relevance

/openbmc/u-boot/fs/ubifs/
H A Dbudget.c175 long long idx_size; in ubifs_calc_min_idx_lebs() local
177 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()
H A Ddebug.h346 int dbg_check_idx_size(struct ubifs_info *c, long long idx_size);
H A Ddebug.c1740 long long *idx_size = priv; in add_size() local
1745 *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() argument
1772 if (calc != idx_size) { in dbg_check_idx_size()
1774 calc, idx_size); in dbg_check_idx_size()
/openbmc/linux/fs/ubifs/
H A Dbudget.c166 long long idx_size; in ubifs_calc_min_idx_lebs() local
168 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()
H A Ddebug.h281 int dbg_check_idx_size(struct ubifs_info *c, long long idx_size);
H A Ddebug.c1716 long long *idx_size = priv; in add_size() local
1721 *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() argument
1748 if (calc != idx_size) { in dbg_check_idx_size()
1750 calc, idx_size); in dbg_check_idx_size()