Home
last modified time | relevance | path

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

/linux-6.6.21/fs/ubifs/
Dmaster.c107 memcpy(c->mst_node, snod->node, snod->len); in scan_for_master()
126 if (ubifs_compare_master_node(c, c->mst_node, snod->node)) 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()
352 c->max_sqnum = le64_to_cpu(c->mst_node->ch.sqnum); in ubifs_read_master()
[all …]
Dcommit.c161 c->mst_node->cmt_no = cpu_to_le64(c->cmt_no); in do_commit()
162 c->mst_node->log_lnum = cpu_to_le32(new_ltail_lnum); 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()
168 c->mst_node->index_size = cpu_to_le64(c->bi.old_idx_sz); 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()
[all …]
Dsuper.c1399 if ((c->mst_node->flags & cpu_to_le32(UBIFS_MST_DIRTY)) != 0) { in mount_ubifs()
1425 c->mst_node->flags |= cpu_to_le32(UBIFS_MST_DIRTY); in mount_ubifs()
1639 kfree(c->mst_node); in mount_ubifs()
1693 kfree(c->mst_node); in ubifs_umount()
1763 if (!(c->mst_node->flags & cpu_to_le32(UBIFS_MST_DIRTY))) { in ubifs_remount_rw()
1764 c->mst_node->flags |= cpu_to_le32(UBIFS_MST_DIRTY); in ubifs_remount_rw()
1908 c->mst_node->flags &= ~cpu_to_le32(UBIFS_MST_DIRTY); in ubifs_remount_ro()
1909 c->mst_node->flags |= cpu_to_le32(UBIFS_MST_NO_ORPHS); in ubifs_remount_ro()
1910 c->mst_node->gc_lnum = cpu_to_le32(c->gc_lnum); in ubifs_remount_ro()
1983 c->mst_node->flags &= ~cpu_to_le32(UBIFS_MST_DIRTY); in ubifs_put_super()
[all …]
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()
Dubifs.h1345 struct ubifs_mst_node *mst_node; member
Dlpt_commit.c1238 err = ubifs_lpt_calc_hash(c, c->mst_node->hash_lpt); in ubifs_lpt_start_commit()
Dlpt.c1760 if (ubifs_check_hash(c, c->mst_node->hash_lpt, hash)) { in lpt_check_hash()