Home
last modified time | relevance | path

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

/fs/ubifs/
Dsb.c84 int err, tmp, jnl_lebs, log_lebs, max_buds, main_lebs, main_first; in create_default_filesystem() local
161 main_first = c->leb_cnt - main_lebs; in create_default_filesystem()
231 mst->root_lnum = cpu_to_le32(main_first + DEFAULT_IDX_LEB); in create_default_filesystem()
235 mst->gc_lnum = cpu_to_le32(main_first + DEFAULT_GC_LEB); in create_default_filesystem()
236 mst->ihead_lnum = cpu_to_le32(main_first + DEFAULT_IDX_LEB); in create_default_filesystem()
247 mst->lscan_lnum = cpu_to_le32(main_first); in create_default_filesystem()
284 br->lnum = cpu_to_le32(main_first + DEFAULT_DATA_LEB); in create_default_filesystem()
288 main_first + DEFAULT_IDX_LEB); in create_default_filesystem()
312 main_first + DEFAULT_DATA_LEB); in create_default_filesystem()
328 main_first + DEFAULT_DATA_LEB, 0); in create_default_filesystem()
[all …]
Dmaster.c199 if (c->zroot.lnum >= c->leb_cnt || c->zroot.lnum < c->main_first || in validate_master()
211 if (c->gc_lnum >= c->leb_cnt || c->gc_lnum < c->main_first) { in validate_master()
216 if (c->ihead_lnum >= c->leb_cnt || c->ihead_lnum < c->main_first || in validate_master()
256 if (c->lscan_lnum < c->main_first || c->lscan_lnum >= c->leb_cnt) { in validate_master()
Dlpt.c621 c->main_first = c->leb_cnt - *main_lebs; in ubifs_create_dflt_lpt()
797 lsave[i] = c->main_first + i; in ubifs_create_dflt_lpt()
799 lsave[i] = c->main_first; in ubifs_create_dflt_lpt()
1087 if (lnum < c->main_first || lnum >= c->leb_cnt) in unpack_lsave()
1187 lnum = (pnode->num << UBIFS_LPT_FANOUT_SHIFT) + c->main_first; in set_pnode_lnum()
1493 i = lnum - c->main_first; in ubifs_lpt_lookup()
1618 i = lnum - c->main_first; in ubifs_lpt_lookup_dirty()
2089 start_lnum = c->main_first; in ubifs_lpt_scan_nolock()
2092 ubifs_assert(c, start_lnum >= c->main_first && start_lnum < c->leb_cnt); in ubifs_lpt_scan_nolock()
2093 ubifs_assert(c, end_lnum >= c->main_first && end_lnum < c->leb_cnt); in ubifs_lpt_scan_nolock()
[all …]
Dfind.c174 ubifs_assert(c, data.lnum >= c->main_first && data.lnum < c->leb_cnt); in scan_for_dirty()
453 ubifs_assert(c, data.lnum >= c->main_first && data.lnum < c->leb_cnt); in do_find_free_space()
633 ubifs_assert(c, data.lnum >= c->main_first && data.lnum < c->leb_cnt); in scan_for_leb_for_idx()
851 ubifs_assert(c, data.lnum >= c->main_first && data.lnum < c->leb_cnt); in find_dirty_idx_leb()
Dtnc_misc.c319 if (zbr->lnum < c->main_first || in read_znode()
Dlprops.c495 pos = (lprops->lnum - c->main_first) & (UBIFS_LPT_FANOUT - 1); in is_lprops_dirty()
1271 err = ubifs_lpt_scan_nolock(c, c->main_first, c->leb_cnt - 1, in dbg_check_lprops()
Dlpt_commit.c811 c->lsave[cnt++] = c->main_first; in populate_lsave()
1977 c->lsave[i] = c->main_first; in dbg_populate_lsave()
Dreplay.c955 lnum < c->main_first || offs > c->leb_size || in validate_ref()
Dubifs.h1337 int main_first; member
Dsuper.c1585 c->main_lebs, c->main_first, c->leb_cnt - 1); in mount_ubifs()
Ddebug.c781 for (lnum = c->main_first; lnum < c->leb_cnt; lnum++) { in ubifs_dump_lprops()