Home
last modified time | relevance | path

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

/linux/fs/ubifs/
H A Dmaster.c110 memcpy(c->mst_node, snod->node, snod->len); in scan_for_master()
129 if (ubifs_compare_master_node(c, c->mst_node, snod->node)) in scan_for_master()
138 if (ubifs_hmac_zero(c, c->mst_node->hmac)) { in scan_for_master()
139 err = mst_node_check_hash(c, c->mst_node, in scan_for_master()
144 err = ubifs_node_verify_hmac(c, c->mst_node, in scan_for_master()
320 ubifs_dump_node(c, c->mst_node, c->mst_node_alsz); in validate_master()
336 c->mst_node = kzalloc(c->mst_node_alsz, GFP_KERNEL); in ubifs_read_master()
337 if (!c->mst_node) in ubifs_read_master()
346 * Note, we do not free 'c->mst_node' here because the in ubifs_read_master()
353 c->mst_node in ubifs_read_master()
[all...]
H A Dcommit.c172 c->mst_node->cmt_no = cpu_to_le64(c->cmt_no); in do_commit()
173 c->mst_node->log_lnum = cpu_to_le32(new_ltail_lnum); in do_commit()
174 c->mst_node->root_lnum = cpu_to_le32(zroot.lnum); in do_commit()
175 c->mst_node->root_offs = cpu_to_le32(zroot.offs); in do_commit()
176 c->mst_node->root_len = cpu_to_le32(zroot.len); in do_commit()
177 c->mst_node->ihead_lnum = cpu_to_le32(c->ihead_lnum); in do_commit()
178 c->mst_node->ihead_offs = cpu_to_le32(c->ihead_offs); in do_commit()
179 c->mst_node->index_size = cpu_to_le64(c->bi.old_idx_sz); in do_commit()
180 c->mst_node->lpt_lnum = cpu_to_le32(c->lpt_lnum); in do_commit()
181 c->mst_node in do_commit()
[all...]
H 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()
327 * 4. However, this master node (@c->mst_node) is marked as 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()
H A Dubifs.h1068 * @mst_node: master node
1330 struct ubifs_mst_node *mst_node; member
H A Dlpt_commit.c1238 err = ubifs_lpt_calc_hash(c, c->mst_node->hash_lpt); in ubifs_lpt_start_commit()