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

/linux-master/fs/ubifs/
H A Dmaster.c107 memcpy(c->mst_node, snod->node, snod->len);
126 if (ubifs_compare_master_node(c, c->mst_node, snod->node))
135 if (ubifs_hmac_zero(c, c->mst_node->hmac)) {
136 err = mst_node_check_hash(c, c->mst_node,
141 err = ubifs_node_verify_hmac(c, c->mst_node,
317 ubifs_dump_node(c, c->mst_node, c->mst_node_alsz);
333 c->mst_node = kzalloc(c->mst_node_alsz, GFP_KERNEL);
334 if (!c->mst_node)
343 * Note, we do not free 'c->mst_node' here because the
350 c->mst_node
[all...]
H A Dcommit.c172 c->mst_node->cmt_no = cpu_to_le64(c->cmt_no);
173 c->mst_node->log_lnum = cpu_to_le32(new_ltail_lnum);
174 c->mst_node->root_lnum = cpu_to_le32(zroot.lnum);
175 c->mst_node->root_offs = cpu_to_le32(zroot.offs);
176 c->mst_node->root_len = cpu_to_le32(zroot.len);
177 c->mst_node->ihead_lnum = cpu_to_le32(c->ihead_lnum);
178 c->mst_node->ihead_offs = cpu_to_le32(c->ihead_offs);
179 c->mst_node->index_size = cpu_to_le64(c->bi.old_idx_sz);
180 c->mst_node->lpt_lnum = cpu_to_le32(c->lpt_lnum);
181 c->mst_node
[all...]
H A Drecovery.c300 memcpy(c->mst_node, mst, UBIFS_MST_NODE_SZ);
309 memcpy(c->rcvrd_mst_node, c->mst_node, UBIFS_MST_NODE_SZ);
327 * 4. However, this master node (@c->mst_node) is marked as
335 c->mst_node->flags |= cpu_to_le32(UBIFS_MST_DIRTY);
339 err = write_rcvrd_mst_node(c, c->mst_node);
382 c->mst_node->flags |= cpu_to_le32(UBIFS_MST_DIRTY);
H A Dsuper.c1398 if ((c->mst_node->flags & cpu_to_le32(UBIFS_MST_DIRTY)) != 0) {
1424 c->mst_node->flags |= cpu_to_le32(UBIFS_MST_DIRTY);
1638 kfree(c->mst_node);
1692 kfree(c->mst_node);
1762 if (!(c->mst_node->flags & cpu_to_le32(UBIFS_MST_DIRTY))) {
1763 c->mst_node->flags |= cpu_to_le32(UBIFS_MST_DIRTY);
1907 c->mst_node->flags &= ~cpu_to_le32(UBIFS_MST_DIRTY);
1908 c->mst_node->flags |= cpu_to_le32(UBIFS_MST_NO_ORPHS);
1909 c->mst_node->gc_lnum = cpu_to_le32(c->gc_lnum);
1982 c->mst_node
[all...]
H A Dubifs.h1087 * @mst_node: master node
1349 struct ubifs_mst_node *mst_node; member in struct:ubifs_info
H A Dlpt_commit.c1238 err = ubifs_lpt_calc_hash(c, c->mst_node->hash_lpt);
H A Dlpt.c1760 if (ubifs_check_hash(c, c->mst_node->hash_lpt, hash)) {

Completed in 168 milliseconds