Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ubifs/
Dbudget.c165 int idx_lebs; in ubifs_calc_min_idx_lebs() local
176 idx_lebs = div_u64(idx_size + c->idx_leb_size - 1, c->idx_leb_size); in ubifs_calc_min_idx_lebs()
181 idx_lebs += 1; in ubifs_calc_min_idx_lebs()
182 if (idx_lebs < MIN_INDEX_LEBS) in ubifs_calc_min_idx_lebs()
183 idx_lebs = MIN_INDEX_LEBS; in ubifs_calc_min_idx_lebs()
184 return idx_lebs; in ubifs_calc_min_idx_lebs()
240 if (c->lst.idx_lebs > min_idx_lebs) { in ubifs_calc_available()
241 subtract_lebs = c->lst.idx_lebs - min_idx_lebs; in ubifs_calc_available()
300 if (min_idx_lebs > c->lst.idx_lebs) in do_budget_space()
301 rsvd_idx_lebs = min_idx_lebs - c->lst.idx_lebs; in do_budget_space()
[all …]
Dmaster.c266 if (c->lst.idx_lebs < 0 || c->lst.idx_lebs > c->main_lebs - 1) { in validate_master()
373 c->lst.idx_lebs = le32_to_cpu(c->mst_node->idx_lebs); in ubifs_read_master()
Dtnc_commit.c362 c->gap_lebs = kmalloc_array(c->lst.idx_lebs + 1, sizeof(int), in layout_in_gaps()
367 old_idx_lebs = c->lst.idx_lebs; in layout_in_gaps()
369 ubifs_assert(c, p < c->lst.idx_lebs); in layout_in_gaps()
404 old_idx_lebs < c->lst.idx_lebs) { in layout_in_gaps()
405 old_idx_lebs = c->lst.idx_lebs; in layout_in_gaps()
806 dbg_cmt("number of index LEBs %d", c->lst.idx_lebs); in ubifs_tnc_start_commit()
Dfind.c243 if (c->bi.min_idx_lebs >= c->lst.idx_lebs) { in ubifs_find_dirty_leb()
244 rsvd_idx_lebs = c->bi.min_idx_lebs - c->lst.idx_lebs; in ubifs_find_dirty_leb()
267 exclude_index = (c->bi.min_idx_lebs >= c->lst.idx_lebs); in ubifs_find_dirty_leb()
492 if (c->bi.min_idx_lebs > c->lst.idx_lebs) in ubifs_find_free_space()
493 rsvd_idx_lebs = c->bi.min_idx_lebs - c->lst.idx_lebs; in ubifs_find_free_space()
Dlprops.c595 c->lst.idx_lebs -= 1; in ubifs_change_lp()
597 c->lst.idx_lebs += 1; in ubifs_change_lp()
1209 lst->idx_lebs += 1; in scan_check_cb()
1278 lst.idx_lebs != c->lst.idx_lebs || in dbg_check_lprops()
1284 lst.empty_lebs, lst.idx_lebs, lst.total_free, in dbg_check_lprops()
1287 c->lst.empty_lebs, c->lst.idx_lebs, c->lst.total_free, in dbg_check_lprops()
Dcommit.c179 c->mst_node->idx_lebs = cpu_to_le32(lst.idx_lebs); in do_commit()
Dubifs-media.h750 __le32 idx_lebs; member
Dsb.c249 mst->idx_lebs = cpu_to_le32(1); in create_default_filesystem()
Dubifs.h541 int idx_lebs; member
Ddebug.c416 pr_err("\tidx_lebs %u\n", le32_to_cpu(mst->idx_lebs)); in ubifs_dump_node()
604 current->pid, lst->empty_lebs, lst->idx_lebs); in ubifs_dump_lstats()
Dsuper.c1580 dbg_gen("index LEBs: %d", c->lst.idx_lebs); in mount_ubifs()