Lines Matching refs:mst
102 struct ubifs_mst_node **mst, void **cor) in get_master_node() argument
157 *mst = buf; in get_master_node()
184 *mst = NULL; in get_master_node()
197 struct ubifs_mst_node *mst) in write_rcvrd_mst_node() argument
204 save_flags = mst->flags; in write_rcvrd_mst_node()
205 mst->flags |= cpu_to_le32(UBIFS_MST_RCVRY); in write_rcvrd_mst_node()
207 ubifs_prepare_node(c, mst, UBIFS_MST_NODE_SZ, 1); in write_rcvrd_mst_node()
208 err = ubifs_leb_change(c, lnum, mst, sz); in write_rcvrd_mst_node()
211 err = ubifs_leb_change(c, lnum + 1, mst, sz); in write_rcvrd_mst_node()
215 mst->flags = save_flags; in write_rcvrd_mst_node()
231 struct ubifs_mst_node *mst1 = NULL, *mst2 = NULL, *mst; in ubifs_recover_master_node() local
254 mst = mst1; in ubifs_recover_master_node()
263 mst = mst1; in ubifs_recover_master_node()
268 mst = mst1; in ubifs_recover_master_node()
274 mst = mst1; in ubifs_recover_master_node()
285 mst = mst1; in ubifs_recover_master_node()
297 mst = mst2; in ubifs_recover_master_node()
301 (mst == mst1 ? UBIFS_MST_LNUM : UBIFS_MST_LNUM + 1)); in ubifs_recover_master_node()
303 memcpy(c->mst_node, mst, UBIFS_MST_NODE_SZ); in ubifs_recover_master_node()
342 c->max_sqnum = le64_to_cpu(mst->ch.sqnum) - 1; in ubifs_recover_master_node()