Home
last modified time | relevance | path

Searched refs:mst_node (Results 1 – 4 of 4) sorted by relevance

/u-boot-v2022.01-rc1/fs/ubifs/
A Dmaster.c48 memcpy(c->mst_node, snod->node, snod->len); in scan_for_master()
67 if (memcmp((void *)c->mst_node + UBIFS_CH_SZ, in scan_for_master()
239 ubifs_dump_node(c, c->mst_node); in validate_master()
255 c->mst_node = kzalloc(c->mst_node_alsz, GFP_KERNEL); in ubifs_read_master()
256 if (!c->mst_node) in ubifs_read_master()
272 c->mst_node->flags &= cpu_to_le32(~UBIFS_MST_RCVRY); in ubifs_read_master()
276 c->cmt_no = le64_to_cpu(c->mst_node->cmt_no); in ubifs_read_master()
281 c->gc_lnum = le32_to_cpu(c->mst_node->gc_lnum); in ubifs_read_master()
296 old_leb_cnt = le32_to_cpu(c->mst_node->leb_cnt); in ubifs_read_master()
315 ubifs_dump_node(c, c->mst_node); in ubifs_read_master()
[all …]
A Dsuper.c1505 c->mst_node->flags |= cpu_to_le32(UBIFS_MST_DIRTY); in mount_ubifs()
1697 kfree(c->mst_node); in mount_ubifs()
1752 kfree(c->mst_node); in ubifs_umount()
1841 if (!(c->mst_node->flags & cpu_to_le32(UBIFS_MST_DIRTY))) { in ubifs_remount_rw()
1842 c->mst_node->flags |= cpu_to_le32(UBIFS_MST_DIRTY); in ubifs_remount_rw()
1965 c->mst_node->flags &= ~cpu_to_le32(UBIFS_MST_DIRTY); in ubifs_remount_ro()
1966 c->mst_node->flags |= cpu_to_le32(UBIFS_MST_NO_ORPHS); in ubifs_remount_ro()
1967 c->mst_node->gc_lnum = cpu_to_le32(c->gc_lnum); in ubifs_remount_ro()
2037 c->mst_node->flags &= ~cpu_to_le32(UBIFS_MST_DIRTY); in ubifs_put_super()
2038 c->mst_node->flags |= cpu_to_le32(UBIFS_MST_NO_ORPHS); in ubifs_put_super()
[all …]
A Drecovery.c306 memcpy(c->mst_node, mst, UBIFS_MST_NODE_SZ); in ubifs_recover_master_node()
315 memcpy(c->rcvrd_mst_node, c->mst_node, UBIFS_MST_NODE_SZ); in ubifs_recover_master_node()
341 c->mst_node->flags |= cpu_to_le32(UBIFS_MST_DIRTY); in ubifs_recover_master_node()
346 err = write_rcvrd_mst_node(c, c->mst_node); in ubifs_recover_master_node()
390 c->mst_node->flags |= cpu_to_le32(UBIFS_MST_DIRTY); in ubifs_write_rcvrd_mst_node()
A Dubifs.h1893 struct ubifs_mst_node *mst_node; member

Completed in 17 milliseconds