Lines Matching refs:mst1
231 struct ubifs_mst_node *mst1 = NULL, *mst2 = NULL, *mst; in ubifs_recover_master_node() local
237 err = get_master_node(c, UBIFS_MST_LNUM, &buf1, &mst1, &cor1); in ubifs_recover_master_node()
245 if (mst1) { in ubifs_recover_master_node()
246 offs1 = (void *)mst1 - buf1; in ubifs_recover_master_node()
247 if ((le32_to_cpu(mst1->flags) & UBIFS_MST_RCVRY) && in ubifs_recover_master_node()
254 mst = mst1; in ubifs_recover_master_node()
259 if (memcmp((void *)mst1 + UBIFS_CH_SZ, 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()
301 (mst == mst1 ? UBIFS_MST_LNUM : UBIFS_MST_LNUM + 1)); in ubifs_recover_master_node()
358 if (mst1) { in ubifs_recover_master_node()
360 ubifs_dump_node(c, mst1); in ubifs_recover_master_node()