Lines Matching defs:mst
80 * @mst: master node, if found, is returned here
93 struct ubifs_mst_node **mst, void **cor)
148 *mst = buf;
175 *mst = NULL;
183 * @mst: master node
188 struct ubifs_mst_node *mst)
195 save_flags = mst->flags;
196 mst->flags |= cpu_to_le32(UBIFS_MST_RCVRY);
198 ubifs_prepare_node(c, mst, UBIFS_MST_NODE_SZ, 1);
199 err = ubi_leb_change(c->ubi, lnum, mst, sz, UBI_SHORTTERM);
202 err = ubi_leb_change(c->ubi, lnum + 1, mst, sz, UBI_SHORTTERM);
206 mst->flags = save_flags;
222 struct ubifs_mst_node *mst1 = NULL, *mst2 = NULL, *mst;
245 mst = mst1;
254 mst = mst1;
259 mst = mst1;
264 mst = mst1;
275 mst = mst1;
287 mst = mst2;
291 (mst == mst1 ? UBIFS_MST_LNUM : UBIFS_MST_LNUM + 1));
293 memcpy(c->mst_node, mst, UBIFS_MST_NODE_SZ);
305 c->max_sqnum = le64_to_cpu(mst->ch.sqnum) - 1;