Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/fs/ubifs/
H A Dmaster.c47 memcpy(c->mst_node, snod->node, snod->len); in scan_for_master()
66 if (memcmp((void *)c->mst_node + UBIFS_CH_SZ, in scan_for_master()
238 ubifs_dump_node(c, c->mst_node); in validate_master()
254 c->mst_node = kzalloc(c->mst_node_alsz, GFP_KERNEL); in ubifs_read_master()
255 if (!c->mst_node) in ubifs_read_master()
271 c->mst_node->flags &= cpu_to_le32(~UBIFS_MST_RCVRY); in ubifs_read_master()
273 c->max_sqnum = le64_to_cpu(c->mst_node->ch.sqnum); in ubifs_read_master()
274 c->highest_inum = le64_to_cpu(c->mst_node->highest_inum); in ubifs_read_master()
275 c->cmt_no = le64_to_cpu(c->mst_node->cmt_no); in ubifs_read_master()
276 c->zroot.lnum = le32_to_cpu(c->mst_node->root_lnum); in ubifs_read_master()
[all …]
H A Dsuper.c1470 if ((c->mst_node->flags & cpu_to_le32(UBIFS_MST_DIRTY)) != 0) { in mount_ubifs()
1499 c->mst_node->flags |= cpu_to_le32(UBIFS_MST_DIRTY); in mount_ubifs()
1689 kfree(c->mst_node); in mount_ubifs()
1744 kfree(c->mst_node); in ubifs_umount()
1835 if (!(c->mst_node->flags & cpu_to_le32(UBIFS_MST_DIRTY))) { in ubifs_remount_rw()
1836 c->mst_node->flags |= cpu_to_le32(UBIFS_MST_DIRTY); in ubifs_remount_rw()
1959 c->mst_node->flags &= ~cpu_to_le32(UBIFS_MST_DIRTY); in ubifs_remount_ro()
1960 c->mst_node->flags |= cpu_to_le32(UBIFS_MST_NO_ORPHS); in ubifs_remount_ro()
1961 c->mst_node->gc_lnum = cpu_to_le32(c->gc_lnum); in ubifs_remount_ro()
2031 c->mst_node->flags &= ~cpu_to_le32(UBIFS_MST_DIRTY); in ubifs_put_super()
[all …]
H A 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()
H A Dubifs.h1894 struct ubifs_mst_node *mst_node; member