Searched refs:UBIFS_MST_LNUM (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/fs/ubifs/ |
H A D | ubifs-media.h | 229 #define UBIFS_MST_LNUM (UBIFS_SB_LNUM + UBIFS_SB_LEBS) macro 231 #define UBIFS_LOG_LNUM (UBIFS_MST_LNUM + UBIFS_MST_LEBS)
|
H A D | sb.c | 269 dbg_gen("default master node created at LEB %d:0", UBIFS_MST_LNUM); in create_default_filesystem() 339 err = ubifs_write_node_hmac(c, mst, UBIFS_MST_NODE_SZ, UBIFS_MST_LNUM, 0, in create_default_filesystem() 344 err = ubifs_write_node_hmac(c, mst, UBIFS_MST_NODE_SZ, UBIFS_MST_LNUM + 1, in create_default_filesystem() 828 for (lnum = UBIFS_MST_LNUM; lnum < UBIFS_LOG_LNUM; lnum++) { in fixup_free_space()
|
H A D | recovery.c | 195 int err = 0, lnum = UBIFS_MST_LNUM, sz = c->mst_node_alsz; in write_rcvrd_mst_node() 236 err = get_master_node(c, UBIFS_MST_LNUM, &buf1, &mst1, &cor1); in ubifs_recover_master_node() 240 err = get_master_node(c, UBIFS_MST_LNUM + 1, &buf2, &mst2, &cor2); in ubifs_recover_master_node() 298 (mst == mst1 ? UBIFS_MST_LNUM : UBIFS_MST_LNUM + 1)); in ubifs_recover_master_node() 319 * node in the first (%UBIFS_MST_LNUM). A power cut happens, in ubifs_recover_master_node() 324 * (%UBIFS_MST_LNUM + 1). But we cannot update the media in ubifs_recover_master_node()
|
H A D | master.c | 96 lnum = UBIFS_MST_LNUM; in scan_for_master() 442 lnum = UBIFS_MST_LNUM; in ubifs_write_master()
|
H A D | debug.c | 2516 } else if (lnum == UBIFS_MST_LNUM || lnum == UBIFS_MST_LNUM + 1) { in power_cut_emulated()
|
/kernel/linux/linux-6.6/fs/ubifs/ |
H A D | ubifs-media.h | 229 #define UBIFS_MST_LNUM (UBIFS_SB_LNUM + UBIFS_SB_LEBS) macro 231 #define UBIFS_LOG_LNUM (UBIFS_MST_LNUM + UBIFS_MST_LEBS)
|
H A D | sb.c | 272 dbg_gen("default master node created at LEB %d:0", UBIFS_MST_LNUM); in create_default_filesystem() 342 err = ubifs_write_node_hmac(c, mst, UBIFS_MST_NODE_SZ, UBIFS_MST_LNUM, 0, in create_default_filesystem() 347 err = ubifs_write_node_hmac(c, mst, UBIFS_MST_NODE_SZ, UBIFS_MST_LNUM + 1, in create_default_filesystem() 831 for (lnum = UBIFS_MST_LNUM; lnum < UBIFS_LOG_LNUM; lnum++) { in fixup_free_space()
|
H A D | recovery.c | 195 int err = 0, lnum = UBIFS_MST_LNUM, sz = c->mst_node_alsz; in write_rcvrd_mst_node() 236 err = get_master_node(c, UBIFS_MST_LNUM, &buf1, &mst1, &cor1); in ubifs_recover_master_node() 240 err = get_master_node(c, UBIFS_MST_LNUM + 1, &buf2, &mst2, &cor2); in ubifs_recover_master_node() 298 (mst == mst1 ? UBIFS_MST_LNUM : UBIFS_MST_LNUM + 1)); in ubifs_recover_master_node() 319 * node in the first (%UBIFS_MST_LNUM). A power cut happens, in ubifs_recover_master_node() 324 * (%UBIFS_MST_LNUM + 1). But we cannot update the media in ubifs_recover_master_node()
|
H A D | master.c | 96 lnum = UBIFS_MST_LNUM; in scan_for_master() 442 lnum = UBIFS_MST_LNUM; in ubifs_write_master()
|
H A D | debug.c | 2516 } else if (lnum == UBIFS_MST_LNUM || lnum == UBIFS_MST_LNUM + 1) { in power_cut_emulated()
|
Completed in 18 milliseconds