Lines Matching defs:mst1
245 struct ubifs_mst_node *mst1 = NULL, *mst2 = NULL, *mst;
251 err = get_master_node(c, UBIFS_MST_LNUM, &buf1, &mst1, &cor1);
261 if (mst1) {
262 offs1 = (void *)mst1 - buf1;
263 if ((le32_to_cpu(mst1->flags) & UBIFS_MST_RCVRY) && (offs1 == 0 && !cor1)) {
265 * mst1 was written by recovery at offset 0 with no
269 mst = mst1;
274 if (ubifs_compare_master_node(c, mst1, mst2)) {
277 mst = mst1;
283 mst = mst1;
289 mst = mst1;
302 mst = mst1;
319 ubifs_msg(c, "recovered master node from LEB %d", (mst == mst1 ? UBIFS_MST_LNUM : UBIFS_MST_LNUM + 1));
375 if (mst1) {
377 ubifs_dump_node(c, mst1, c->leb_size - ((void *)mst1 - buf1));