Lines Matching refs:mst1
230 struct ubifs_mst_node *mst1 = NULL, *mst2 = NULL, *mst; in ubifs_recover_master_node() local
236 err = get_master_node(c, UBIFS_MST_LNUM, &buf1, &mst1, &cor1); in ubifs_recover_master_node()
244 if (mst1) { in ubifs_recover_master_node()
245 offs1 = (void *)mst1 - buf1; in ubifs_recover_master_node()
246 if ((le32_to_cpu(mst1->flags) & UBIFS_MST_RCVRY) && in ubifs_recover_master_node()
253 mst = mst1; in ubifs_recover_master_node()
258 if (ubifs_compare_master_node(c, mst1, mst2)) 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()
298 (mst == mst1 ? UBIFS_MST_LNUM : UBIFS_MST_LNUM + 1)); in ubifs_recover_master_node()
353 if (mst1) { in ubifs_recover_master_node()
355 ubifs_dump_node(c, mst1, c->leb_size - ((void *)mst1 - buf1)); in ubifs_recover_master_node()