Home
last modified time | relevance | path

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

/external/u-boot/fs/ubifs/
Dsb.c79 int err, tmp, jnl_lebs, log_lebs, max_buds, main_lebs, main_first; in create_default_filesystem() local
152 main_first = c->leb_cnt - main_lebs; in create_default_filesystem()
210 mst->root_lnum = cpu_to_le32(main_first + DEFAULT_IDX_LEB); in create_default_filesystem()
214 mst->gc_lnum = cpu_to_le32(main_first + DEFAULT_GC_LEB); in create_default_filesystem()
215 mst->ihead_lnum = cpu_to_le32(main_first + DEFAULT_IDX_LEB); in create_default_filesystem()
226 mst->lscan_lnum = cpu_to_le32(main_first); in create_default_filesystem()
277 br->lnum = cpu_to_le32(main_first + DEFAULT_DATA_LEB); in create_default_filesystem()
279 err = ubifs_write_node(c, idx, tmp, main_first + DEFAULT_IDX_LEB, 0); in create_default_filesystem()
285 main_first + DEFAULT_IDX_LEB); in create_default_filesystem()
311 main_first + DEFAULT_DATA_LEB, 0); in create_default_filesystem()
[all …]
Dmaster.c119 if (c->zroot.lnum >= c->leb_cnt || c->zroot.lnum < c->main_first || in validate_master()
131 if (c->gc_lnum >= c->leb_cnt || c->gc_lnum < c->main_first) { in validate_master()
136 if (c->ihead_lnum >= c->leb_cnt || c->ihead_lnum < c->main_first || in validate_master()
176 if (c->lscan_lnum < c->main_first || c->lscan_lnum >= c->leb_cnt) { in validate_master()
Dlpt.c624 c->main_first = c->leb_cnt - *main_lebs; in ubifs_create_dflt_lpt()
787 lsave[i] = c->main_first + i; in ubifs_create_dflt_lpt()
789 lsave[i] = c->main_first; in ubifs_create_dflt_lpt()
1073 if (lnum < c->main_first || lnum >= c->leb_cnt) in unpack_lsave()
1174 lnum = (pnode->num << UBIFS_LPT_FANOUT_SHIFT) + c->main_first; in set_pnode_lnum()
1457 i = lnum - c->main_first; in ubifs_lpt_lookup()
1593 i = lnum - c->main_first; in ubifs_lpt_lookup_dirty()
1937 start_lnum = c->main_first; in ubifs_lpt_scan_nolock()
1940 ubifs_assert(start_lnum >= c->main_first && start_lnum < c->leb_cnt); in ubifs_lpt_scan_nolock()
1941 ubifs_assert(end_lnum >= c->main_first && end_lnum < c->leb_cnt); in ubifs_lpt_scan_nolock()
[all …]
Dtnc_misc.c307 if (zbr->lnum < c->main_first || in read_znode()
Dlprops.c500 pos = (lprops->lnum - c->main_first) & (UBIFS_LPT_FANOUT - 1); in is_lprops_dirty()
1276 err = ubifs_lpt_scan_nolock(c, c->main_first, c->leb_cnt - 1, in dbg_check_lprops()
Dreplay.c792 lnum < c->main_first || offs > c->leb_size || in validate_ref()
Dlpt_commit.c854 c->lsave[cnt++] = c->main_first; in populate_lsave()
2020 c->lsave[i] = c->main_first; in dbg_populate_lsave()
Dubifs.h1913 int main_first; member
Dsuper.c1644 c->main_lebs, c->main_first, c->leb_cnt - 1); in mount_ubifs()
Ddebug.c753 for (lnum = c->main_first; lnum < c->leb_cnt; lnum++) { in ubifs_dump_lprops()