Home
last modified time | relevance | path

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

/third_party/uboot/u-boot-2020.01/fs/ubifs/
Dmaster.c46 memcpy(c->mst_node, snod->node, snod->len); in scan_for_master()
65 if (memcmp((void *)c->mst_node + UBIFS_CH_SZ, in scan_for_master()
237 ubifs_dump_node(c, c->mst_node); in validate_master()
253 c->mst_node = kzalloc(c->mst_node_alsz, GFP_KERNEL); in ubifs_read_master()
254 if (!c->mst_node) in ubifs_read_master()
270 c->mst_node->flags &= cpu_to_le32(~UBIFS_MST_RCVRY); in ubifs_read_master()
272 c->max_sqnum = le64_to_cpu(c->mst_node->ch.sqnum); in ubifs_read_master()
273 c->highest_inum = le64_to_cpu(c->mst_node->highest_inum); in ubifs_read_master()
274 c->cmt_no = le64_to_cpu(c->mst_node->cmt_no); in ubifs_read_master()
275 c->zroot.lnum = le32_to_cpu(c->mst_node->root_lnum); in ubifs_read_master()
[all …]
Dsuper.c1472 if ((c->mst_node->flags & cpu_to_le32(UBIFS_MST_DIRTY)) != 0) { in mount_ubifs()
1501 c->mst_node->flags |= cpu_to_le32(UBIFS_MST_DIRTY); in mount_ubifs()
1693 kfree(c->mst_node); in mount_ubifs()
1748 kfree(c->mst_node); in ubifs_umount()
1837 if (!(c->mst_node->flags & cpu_to_le32(UBIFS_MST_DIRTY))) { in ubifs_remount_rw()
1838 c->mst_node->flags |= cpu_to_le32(UBIFS_MST_DIRTY); in ubifs_remount_rw()
1961 c->mst_node->flags &= ~cpu_to_le32(UBIFS_MST_DIRTY); in ubifs_remount_ro()
1962 c->mst_node->flags |= cpu_to_le32(UBIFS_MST_NO_ORPHS); in ubifs_remount_ro()
1963 c->mst_node->gc_lnum = cpu_to_le32(c->gc_lnum); in ubifs_remount_ro()
2033 c->mst_node->flags &= ~cpu_to_le32(UBIFS_MST_DIRTY); in ubifs_put_super()
[all …]
Drecovery.c304 memcpy(c->mst_node, mst, UBIFS_MST_NODE_SZ); in ubifs_recover_master_node()
313 memcpy(c->rcvrd_mst_node, c->mst_node, UBIFS_MST_NODE_SZ); in ubifs_recover_master_node()
339 c->mst_node->flags |= cpu_to_le32(UBIFS_MST_DIRTY); in ubifs_recover_master_node()
344 err = write_rcvrd_mst_node(c, c->mst_node); in ubifs_recover_master_node()
388 c->mst_node->flags |= cpu_to_le32(UBIFS_MST_DIRTY); in ubifs_write_rcvrd_mst_node()
Dubifs.h1893 struct ubifs_mst_node *mst_node; member