Home
last modified time | relevance | path

Searched refs:nhead_offs (Results 1 – 17 of 17) sorted by relevance

/openbmc/u-boot/fs/ubifs/
H A Dmaster.c156 c->nhead_offs < 0 || c->nhead_offs % c->min_io_size || in validate_master()
157 c->nhead_offs > c->leb_size) { in validate_master()
286 c->nhead_offs = le32_to_cpu(c->mst_node->nhead_offs); in ubifs_read_master()
H A Dlpt_commit.c201 offs = c->nhead_offs; in layout_cnodes()
378 offs = c->nhead_offs; in write_cnodes()
532 c->nhead_offs = ALIGN(offs, c->min_io_size); in write_cnodes()
535 dbg_lp("LPT head is at %d:%d", c->nhead_lnum, c->nhead_offs); in write_cnodes()
729 free += c->leb_size - c->nhead_offs; in need_write_all()
1758 free += c->leb_size - c->nhead_offs; in dbg_chk_lpt_free_spc()
1824 chk_lpt_sz += len - c->nhead_offs; in dbg_chk_lpt_sz()
H A Dubifs-media.h698 __le32 nhead_offs; member
H A Dsb.c221 mst->nhead_offs = cpu_to_le32(c->nhead_offs); in create_default_filesystem()
H A Drecovery.c973 dbg_rcvry("checking LPT head at %d:%d", c->nhead_lnum, c->nhead_offs); in ubifs_recover_inl_heads()
975 return recover_head(c, c->nhead_lnum, c->nhead_offs, sbuf); in ubifs_recover_inl_heads()
H A Dlpt.c826 c->nhead_offs = ALIGN(len, c->min_io_size); in ubifs_create_dflt_lpt()
842 dbg_lp("LPT head is at %d:%d", c->nhead_lnum, c->nhead_offs); in ubifs_create_dflt_lpt()
1672 dbg_lp("LPT head is at %d:%d", c->nhead_lnum, c->nhead_offs); in lpt_init_rd()
H A Dubifs.h2013 int nhead_offs; member
H A Ddebug.c386 pr_err("\tnhead_offs %u\n", le32_to_cpu(mst->nhead_offs)); in ubifs_dump_node()
791 c->nhead_lnum, c->nhead_offs); in ubifs_dump_lpt_info()
/openbmc/linux/fs/ubifs/
H A Dmaster.c236 c->nhead_offs < 0 || c->nhead_offs % c->min_io_size || in validate_master()
237 c->nhead_offs > c->leb_size) { in validate_master()
366 c->nhead_offs = le32_to_cpu(c->mst_node->nhead_offs); in ubifs_read_master()
H A Dlpt_commit.c194 offs = c->nhead_offs; in layout_cnodes()
370 offs = c->nhead_offs; in write_cnodes()
524 c->nhead_offs = ALIGN(offs, c->min_io_size); in write_cnodes()
527 dbg_lp("LPT head is at %d:%d", c->nhead_lnum, c->nhead_offs); in write_cnodes()
688 free += c->leb_size - c->nhead_offs; in need_write_all()
1715 free += c->leb_size - c->nhead_offs; in dbg_chk_lpt_free_spc()
1781 chk_lpt_sz += len - c->nhead_offs; in dbg_chk_lpt_sz()
H A Dcommit.c172 c->mst_node->nhead_offs = cpu_to_le32(c->nhead_offs); in do_commit()
H A Dubifs-media.h743 __le32 nhead_offs; member
H A Dsb.c242 mst->nhead_offs = cpu_to_le32(c->nhead_offs); in create_default_filesystem()
H A Drecovery.c965 dbg_rcvry("checking LPT head at %d:%d", c->nhead_lnum, c->nhead_offs); in ubifs_recover_inl_heads()
967 return recover_head(c, c->nhead_lnum, c->nhead_offs, sbuf); in ubifs_recover_inl_heads()
H A Dlpt.c840 c->nhead_offs = ALIGN(len, c->min_io_size); in ubifs_create_dflt_lpt()
856 dbg_lp("LPT head is at %d:%d", c->nhead_lnum, c->nhead_offs); in ubifs_create_dflt_lpt()
1829 dbg_lp("LPT head is at %d:%d", c->nhead_lnum, c->nhead_offs); in lpt_init_rd()
H A Dubifs.h1465 int nhead_offs; member
H A Ddebug.c408 pr_err("\tnhead_offs %u\n", le32_to_cpu(mst->nhead_offs)); in ubifs_dump_node()
819 c->nhead_lnum, c->nhead_offs); in ubifs_dump_lpt_info()