Home
last modified time | relevance | path

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

/linux/fs/ubifs/
A Dmaster.c107 memcpy(c->mst_node, snod->node, snod->len); in scan_for_master()
135 if (ubifs_hmac_zero(c, c->mst_node->hmac)) { in scan_for_master()
136 err = mst_node_check_hash(c, c->mst_node, in scan_for_master()
141 err = ubifs_node_verify_hmac(c, c->mst_node, in scan_for_master()
317 ubifs_dump_node(c, c->mst_node, c->mst_node_alsz); in validate_master()
333 c->mst_node = kzalloc(c->mst_node_alsz, GFP_KERNEL); in ubifs_read_master()
334 if (!c->mst_node) in ubifs_read_master()
350 c->mst_node->flags &= cpu_to_le32(~UBIFS_MST_RCVRY); in ubifs_read_master()
354 c->cmt_no = le64_to_cpu(c->mst_node->cmt_no); in ubifs_read_master()
395 ubifs_dump_node(c, c->mst_node, c->mst_node_alsz); in ubifs_read_master()
[all …]
A Dcommit.c161 c->mst_node->cmt_no = cpu_to_le64(c->cmt_no); in do_commit()
163 c->mst_node->root_lnum = cpu_to_le32(zroot.lnum); in do_commit()
164 c->mst_node->root_offs = cpu_to_le32(zroot.offs); in do_commit()
165 c->mst_node->root_len = cpu_to_le32(zroot.len); in do_commit()
166 c->mst_node->ihead_lnum = cpu_to_le32(c->ihead_lnum); in do_commit()
167 c->mst_node->ihead_offs = cpu_to_le32(c->ihead_offs); in do_commit()
169 c->mst_node->lpt_lnum = cpu_to_le32(c->lpt_lnum); in do_commit()
170 c->mst_node->lpt_offs = cpu_to_le32(c->lpt_offs); in do_commit()
173 c->mst_node->ltab_lnum = cpu_to_le32(c->ltab_lnum); in do_commit()
174 c->mst_node->ltab_offs = cpu_to_le32(c->ltab_offs); in do_commit()
[all …]
A Dsuper.c1413 c->mst_node->flags |= cpu_to_le32(UBIFS_MST_DIRTY); in mount_ubifs()
1627 kfree(c->mst_node); in mount_ubifs()
1679 kfree(c->mst_node); in ubifs_umount()
1748 if (!(c->mst_node->flags & cpu_to_le32(UBIFS_MST_DIRTY))) { in ubifs_remount_rw()
1749 c->mst_node->flags |= cpu_to_le32(UBIFS_MST_DIRTY); in ubifs_remount_rw()
1895 c->mst_node->flags &= ~cpu_to_le32(UBIFS_MST_DIRTY); in ubifs_remount_ro()
1896 c->mst_node->flags |= cpu_to_le32(UBIFS_MST_NO_ORPHS); in ubifs_remount_ro()
1897 c->mst_node->gc_lnum = cpu_to_le32(c->gc_lnum); in ubifs_remount_ro()
1970 c->mst_node->flags &= ~cpu_to_le32(UBIFS_MST_DIRTY); in ubifs_put_super()
1971 c->mst_node->flags |= cpu_to_le32(UBIFS_MST_NO_ORPHS); in ubifs_put_super()
[all …]
A Drecovery.c300 memcpy(c->mst_node, mst, UBIFS_MST_NODE_SZ); in ubifs_recover_master_node()
309 memcpy(c->rcvrd_mst_node, c->mst_node, UBIFS_MST_NODE_SZ); in ubifs_recover_master_node()
335 c->mst_node->flags |= cpu_to_le32(UBIFS_MST_DIRTY); in ubifs_recover_master_node()
339 err = write_rcvrd_mst_node(c, c->mst_node); in ubifs_recover_master_node()
382 c->mst_node->flags |= cpu_to_le32(UBIFS_MST_DIRTY); in ubifs_write_rcvrd_mst_node()
A Dubifs.h1317 struct ubifs_mst_node *mst_node; member
A Dlpt_commit.c1238 err = ubifs_lpt_calc_hash(c, c->mst_node->hash_lpt); in ubifs_lpt_start_commit()
A Dlpt.c1760 if (ubifs_check_hash(c, c->mst_node->hash_lpt, hash)) { in lpt_check_hash()

Completed in 27 milliseconds