Searched refs:main_first (Results 1 – 11 of 11) sorted by relevance
/linux/fs/ubifs/ |
H A D | sb.c | 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() [all …]
|
H A D | master.c | 202 if (c->zroot.lnum >= c->leb_cnt || c->zroot.lnum < c->main_first || in validate_master() 214 if (c->gc_lnum >= c->leb_cnt || c->gc_lnum < c->main_first) { in validate_master() 219 if (c->ihead_lnum >= c->leb_cnt || c->ihead_lnum < c->main_first || in validate_master() 259 if (c->lscan_lnum < c->main_first || c->lscan_lnum >= c->leb_cnt) { in validate_master()
|
H A D | lpt.c | 621 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() 2090 start_lnum = c->main_first; in ubifs_lpt_scan_nolock() 2093 ubifs_assert(c, start_lnum >= c->main_first && start_lnum < c->leb_cnt); in ubifs_lpt_scan_nolock() 2094 ubifs_assert(c, end_lnum >= c->main_first && end_lnum < c->leb_cnt); in ubifs_lpt_scan_nolock() [all …]
|
H A D | find.c | 174 ubifs_assert(c, data.lnum >= c->main_first && data.lnum < c->leb_cnt); in scan_for_dirty() 454 ubifs_assert(c, data.lnum >= c->main_first && data.lnum < c->leb_cnt); in do_find_free_space() 634 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()
|
H A D | tnc_misc.c | 341 if (zbr->lnum < c->main_first || in read_znode()
|
H A D | lprops.c | 495 pos = (lprops->lnum - c->main_first) & (UBIFS_LPT_FANOUT - 1); in is_lprops_dirty() 1272 err = ubifs_lpt_scan_nolock(c, c->main_first, c->leb_cnt - 1, in dbg_check_lprops()
|
H A D | lpt_commit.c | 811 c->lsave[cnt++] = c->main_first; in populate_lsave() 1976 c->lsave[i] = c->main_first; in dbg_populate_lsave()
|
H A D | replay.c | 957 lnum < c->main_first || offs > c->leb_size || in validate_ref()
|
H A D | ubifs.h | 1359 int main_first; member
|
H A D | super.c | 1530 c->main_lebs, c->main_first, c->leb_cnt - 1); in mount_ubifs()
|
H A D | debug.c | 781 for (lnum = c->main_first; lnum < c->leb_cnt; lnum++) { in ubifs_dump_lprops()
|