/openbmc/u-boot/fs/ubifs/ |
H A D | sb.c | 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() 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() [all …]
|
H A D | master.c | 119 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()
|
H A D | lpt.c | 624 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() 1959 i = start_lnum - c->main_first; in ubifs_lpt_scan_nolock() 2048 start_lnum = c->main_first; in ubifs_lpt_scan_nolock() [all …]
|
H A D | tnc_misc.c | 307 if (zbr->lnum < c->main_first || in read_znode()
|
H A D | lprops.c | 500 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()
|
H A D | replay.c | 792 lnum < c->main_first || offs > c->leb_size || in validate_ref()
|
H A D | lpt_commit.c | 854 c->lsave[cnt++] = c->main_first; in populate_lsave() 2020 c->lsave[i] = c->main_first; in dbg_populate_lsave()
|
H A D | ubifs.h | 1913 int main_first; member
|
H A D | super.c | 1644 c->main_lebs, c->main_first, c->leb_cnt - 1); in mount_ubifs()
|
H A D | debug.c | 753 for (lnum = c->main_first; lnum < c->leb_cnt; lnum++) { in ubifs_dump_lprops()
|
/openbmc/linux/fs/ubifs/ |
H A D | sb.c | 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() 777 c->main_first = c->leb_cnt - c->main_lebs; in ubifs_read_superblock() [all …]
|
H A D | master.c | 199 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()
|
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() 2089 start_lnum = c->main_first; in ubifs_lpt_scan_nolock() 2111 i = start_lnum - c->main_first; in ubifs_lpt_scan_nolock() 2200 start_lnum = c->main_first; 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() 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()
|
H A D | tnc_misc.c | 319 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() 1271 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() 1977 c->lsave[i] = c->main_first; in dbg_populate_lsave()
|
H A D | replay.c | 955 lnum < c->main_first || offs > c->leb_size || in validate_ref()
|
H A D | ubifs.h | 1365 int main_first; member
|
H A D | super.c | 1588 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()
|