Lines Matching refs:main_first
84 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()
335 err = ubifs_write_node(c, idx, idx_node_size, main_first + DEFAULT_IDX_LEB, 0); in create_default_filesystem()
777 c->main_first = c->leb_cnt - c->main_lebs; in ubifs_read_superblock()
874 for (lnum = c->main_first; lnum < c->leb_cnt; lnum++) { in fixup_free_space()