Searched refs:idx_lebs (Results 1 - 11 of 11) sorted by relevance

/linux-master/fs/ubifs/
H A Dbudget.c165 int idx_lebs; local
176 idx_lebs = div_u64(idx_size + c->idx_leb_size - 1, c->idx_leb_size);
181 idx_lebs += 1;
182 if (idx_lebs < MIN_INDEX_LEBS)
183 idx_lebs = MIN_INDEX_LEBS;
184 return idx_lebs;
239 if (c->lst.idx_lebs > min_idx_lebs) {
240 subtract_lebs = c->lst.idx_lebs - min_idx_lebs;
279 * Notes about @c->bi.min_idx_lebs and @c->lst.idx_lebs variables:
280 * o @c->lst.idx_lebs i
[all...]
H A Dmaster.c266 if (c->lst.idx_lebs < 0 || c->lst.idx_lebs > c->main_lebs - 1) {
373 c->lst.idx_lebs = le32_to_cpu(c->mst_node->idx_lebs);
H A Dtnc_commit.c362 c->gap_lebs = kmalloc_array(c->lst.idx_lebs + 1, sizeof(int),
367 old_idx_lebs = c->lst.idx_lebs;
369 ubifs_assert(c, p < c->lst.idx_lebs);
397 * oob, because @c->lst.idx_lebs could be increased by
404 old_idx_lebs < c->lst.idx_lebs) {
405 old_idx_lebs = c->lst.idx_lebs;
806 dbg_cmt("number of index LEBs %d", c->lst.idx_lebs);
H A Dlprops.c595 c->lst.idx_lebs -= 1;
597 c->lst.idx_lebs += 1;
1210 lst->idx_lebs += 1;
1278 lst.idx_lebs != c->lst.idx_lebs ||
1283 ubifs_err(c, "calculated: empty_lebs %d, idx_lebs %d, total_free %lld, total_dirty %lld, total_used %lld",
1284 lst.empty_lebs, lst.idx_lebs, lst.total_free,
1286 ubifs_err(c, "read from lprops: empty_lebs %d, idx_lebs %d, total_free %lld, total_dirty %lld, total_used %lld",
1287 c->lst.empty_lebs, c->lst.idx_lebs, c->lst.total_free,
H A Dfind.c243 if (c->bi.min_idx_lebs >= c->lst.idx_lebs) {
244 rsvd_idx_lebs = c->bi.min_idx_lebs - c->lst.idx_lebs;
267 exclude_index = (c->bi.min_idx_lebs >= c->lst.idx_lebs);
493 if (c->bi.min_idx_lebs > c->lst.idx_lebs)
494 rsvd_idx_lebs = c->bi.min_idx_lebs - c->lst.idx_lebs;
H A Dcommit.c190 c->mst_node->idx_lebs = cpu_to_le32(lst.idx_lebs);
H A Dubifs-media.h715 * @idx_lebs: number of indexing logical eraseblocks
750 __le32 idx_lebs; member in struct:ubifs_mst_node
H A Dsb.c249 mst->idx_lebs = cpu_to_le32(1);
H A Ddebug.c416 pr_err("\tidx_lebs %u\n", le32_to_cpu(mst->idx_lebs));
603 pr_err("(pid %d) Lprops statistics: empty_lebs %d, idx_lebs %d\n",
604 current->pid, lst->empty_lebs, lst->idx_lebs);
H A Dubifs.h516 * @idx_lebs: number of indexing LEBs
541 int idx_lebs; member in struct:ubifs_lp_stats
H A Dsuper.c1588 dbg_gen("index LEBs: %d", c->lst.idx_lebs);

Completed in 136 milliseconds