Lines Matching refs:main_first
79 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()
317 main_first + DEFAULT_DATA_LEB); in create_default_filesystem()
660 c->main_first = c->leb_cnt - c->main_lebs; in ubifs_read_superblock()
758 for (lnum = c->main_first; lnum < c->leb_cnt; lnum++) { in fixup_free_space()