Home
last modified time | relevance | path

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

/linux-4.19.296/fs/ubifs/
Dbudget.c180 int idx_lebs; in ubifs_calc_min_idx_lebs() local
191 idx_lebs = div_u64(idx_size + c->idx_leb_size - 1, c->idx_leb_size); in ubifs_calc_min_idx_lebs()
196 idx_lebs += 1; in ubifs_calc_min_idx_lebs()
197 if (idx_lebs < MIN_INDEX_LEBS) in ubifs_calc_min_idx_lebs()
198 idx_lebs = MIN_INDEX_LEBS; in ubifs_calc_min_idx_lebs()
199 return idx_lebs; in ubifs_calc_min_idx_lebs()
254 if (c->lst.idx_lebs > min_idx_lebs) { in ubifs_calc_available()
255 subtract_lebs = c->lst.idx_lebs - min_idx_lebs; in ubifs_calc_available()
314 if (min_idx_lebs > c->lst.idx_lebs) in do_budget_space()
315 rsvd_idx_lebs = min_idx_lebs - c->lst.idx_lebs; in do_budget_space()
[all …]
Dmaster.c193 if (c->lst.idx_lebs < 0 || c->lst.idx_lebs > c->main_lebs - 1) { in validate_master()
300 c->lst.idx_lebs = le32_to_cpu(c->mst_node->idx_lebs); in ubifs_read_master()
Dtnc_commit.c369 c->gap_lebs = kmalloc_array(c->lst.idx_lebs + 1, sizeof(int), in layout_in_gaps()
374 old_idx_lebs = c->lst.idx_lebs; in layout_in_gaps()
376 ubifs_assert(c, p < c->lst.idx_lebs); in layout_in_gaps()
411 old_idx_lebs < c->lst.idx_lebs) { in layout_in_gaps()
412 old_idx_lebs = c->lst.idx_lebs; in layout_in_gaps()
811 dbg_cmt("number of index LEBs %d", c->lst.idx_lebs); in ubifs_tnc_start_commit()
Dfind.c255 if (c->bi.min_idx_lebs >= c->lst.idx_lebs) { in ubifs_find_dirty_leb()
256 rsvd_idx_lebs = c->bi.min_idx_lebs - c->lst.idx_lebs; in ubifs_find_dirty_leb()
279 exclude_index = (c->bi.min_idx_lebs >= c->lst.idx_lebs); in ubifs_find_dirty_leb()
504 if (c->bi.min_idx_lebs > c->lst.idx_lebs) in ubifs_find_free_space()
505 rsvd_idx_lebs = c->bi.min_idx_lebs - c->lst.idx_lebs; in ubifs_find_free_space()
Dlprops.c607 c->lst.idx_lebs -= 1; in ubifs_change_lp()
609 c->lst.idx_lebs += 1; in ubifs_change_lp()
1221 lst->idx_lebs += 1; in scan_check_cb()
1290 lst.idx_lebs != c->lst.idx_lebs || in dbg_check_lprops()
1296 lst.empty_lebs, lst.idx_lebs, lst.total_free, in dbg_check_lprops()
1299 c->lst.empty_lebs, c->lst.idx_lebs, c->lst.total_free, in dbg_check_lprops()
Dcommit.c191 c->mst_node->idx_lebs = cpu_to_le32(lst.idx_lebs); in do_commit()
Dubifs-media.h728 __le32 idx_lebs; member
Dsb.c245 mst->idx_lebs = cpu_to_le32(1); in create_default_filesystem()
Dubifs.h532 int idx_lebs; member
Ddebug.c396 pr_err("\tidx_lebs %u\n", le32_to_cpu(mst->idx_lebs)); in ubifs_dump_node()
573 current->pid, lst->empty_lebs, lst->idx_lebs); in ubifs_dump_lstats()
Dsuper.c1468 dbg_gen("index LEBs: %d", c->lst.idx_lebs); in mount_ubifs()