Home
last modified time | relevance | path

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

/openbmc/u-boot/fs/ubifs/
H A Dsb.c152 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 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()
H A 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()
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 Dtnc_misc.c307 if (zbr->lnum < c->main_first || in read_znode()
H A 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()
H A Dreplay.c792 lnum < c->main_first || offs > c->leb_size || in validate_ref()
H A Dlpt_commit.c854 c->lsave[cnt++] = c->main_first; in populate_lsave()
2020 c->lsave[i] = c->main_first; in dbg_populate_lsave()
H A Dubifs.h1913 int main_first; member
H A Dsuper.c1644 c->main_lebs, c->main_first, c->leb_cnt - 1); in mount_ubifs()
H A Ddebug.c753 for (lnum = c->main_first; lnum < c->leb_cnt; lnum++) { in ubifs_dump_lprops()
/openbmc/linux/fs/ubifs/
H A Dsb.c161 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 Dmaster.c199 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 Dlpt.c621 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 Dfind.c174 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 Dtnc_misc.c319 if (zbr->lnum < c->main_first || in read_znode()
H A Dlprops.c495 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 Dlpt_commit.c811 c->lsave[cnt++] = c->main_first; in populate_lsave()
1977 c->lsave[i] = c->main_first; in dbg_populate_lsave()
H A Dreplay.c955 lnum < c->main_first || offs > c->leb_size || in validate_ref()
H A Dubifs.h1365 int main_first; member
H A Dsuper.c1588 c->main_lebs, c->main_first, c->leb_cnt - 1); in mount_ubifs()
H A Ddebug.c781 for (lnum = c->main_first; lnum < c->leb_cnt; lnum++) { in ubifs_dump_lprops()