Lines Matching refs:mst
98 struct ubifs_mst_node **mst, void **cor) in get_master_node() argument
153 *mst = buf; in get_master_node()
180 *mst = NULL; in get_master_node()
193 struct ubifs_mst_node *mst) in write_rcvrd_mst_node() argument
200 save_flags = mst->flags; in write_rcvrd_mst_node()
201 mst->flags |= cpu_to_le32(UBIFS_MST_RCVRY); in write_rcvrd_mst_node()
203 err = ubifs_prepare_node_hmac(c, mst, UBIFS_MST_NODE_SZ, in write_rcvrd_mst_node()
207 err = ubifs_leb_change(c, lnum, mst, sz); in write_rcvrd_mst_node()
210 err = ubifs_leb_change(c, lnum + 1, mst, sz); in write_rcvrd_mst_node()
214 mst->flags = save_flags; in write_rcvrd_mst_node()
230 struct ubifs_mst_node *mst1 = NULL, *mst2 = NULL, *mst; in ubifs_recover_master_node() local
253 mst = mst1; in ubifs_recover_master_node()
260 mst = mst1; in ubifs_recover_master_node()
265 mst = mst1; in ubifs_recover_master_node()
271 mst = mst1; in ubifs_recover_master_node()
282 mst = mst1; in ubifs_recover_master_node()
294 mst = mst2; in ubifs_recover_master_node()
298 (mst == mst1 ? UBIFS_MST_LNUM : UBIFS_MST_LNUM + 1)); in ubifs_recover_master_node()
300 memcpy(c->mst_node, mst, UBIFS_MST_NODE_SZ); in ubifs_recover_master_node()
338 c->max_sqnum = le64_to_cpu(mst->ch.sqnum) - 1; in ubifs_recover_master_node()