Searched refs:idx_lebs (Results 1 – 11 of 11) sorted by relevance
/linux/fs/ubifs/ |
H A D | budget.c | 165 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() 239 if (c->lst.idx_lebs > min_idx_lebs) { in ubifs_calc_available() 240 subtract_lebs = c->lst.idx_lebs - min_idx_lebs; in ubifs_calc_available() 299 if (min_idx_lebs > c->lst.idx_lebs) in do_budget_space() 300 rsvd_idx_lebs = min_idx_lebs - c->lst.idx_lebs; in do_budget_space() [all …]
|
H A D | master.c | 269 if (c->lst.idx_lebs < 0 || c->lst.idx_lebs > c->main_lebs - 1) { in validate_master() 376 c->lst.idx_lebs = le32_to_cpu(c->mst_node->idx_lebs); in ubifs_read_master()
|
H A D | tnc_commit.c | 362 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() 808 dbg_cmt("number of index LEBs %d", c->lst.idx_lebs); in ubifs_tnc_start_commit()
|
H A D | find.c | 243 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() 493 if (c->bi.min_idx_lebs > c->lst.idx_lebs) in ubifs_find_free_space() 494 rsvd_idx_lebs = c->bi.min_idx_lebs - c->lst.idx_lebs; in ubifs_find_free_space()
|
H A D | lprops.c | 595 c->lst.idx_lebs -= 1; in ubifs_change_lp() 597 c->lst.idx_lebs += 1; in ubifs_change_lp() 1210 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()
|
H A D | commit.c | 190 c->mst_node->idx_lebs = cpu_to_le32(lst.idx_lebs); in do_commit()
|
H A D | ubifs-media.h | 750 __le32 idx_lebs; member
|
H A D | sb.c | 249 mst->idx_lebs = cpu_to_le32(1); in create_default_filesystem()
|
H A D | ubifs.h | 534 int idx_lebs; member
|
H A D | debug.c | 416 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()
|
H A D | super.c | 1531 dbg_gen("index LEBs: %d", c->lst.idx_lebs); in mount_ubifs()
|