Home
last modified time | relevance | path

Searched refs:UBIFS_MST_NODE_SZ (Results 1 – 10 of 10) sorted by relevance

/OK3568_Linux_fs/kernel/fs/ubifs/
H A Dmaster.c45 if (UBIFS_MST_NODE_SZ > behind) in ubifs_compare_master_node()
46 return memcmp(m1 + behind, m2 + behind, UBIFS_MST_NODE_SZ - behind); in ubifs_compare_master_node()
72 UBIFS_MST_NODE_SZ - sizeof(struct ubifs_ch), in mst_node_check_hash()
444 len = UBIFS_MST_NODE_SZ; in ubifs_write_master()
446 if (offs + UBIFS_MST_NODE_SZ > c->leb_size) { in ubifs_write_master()
H A Drecovery.c116 while (offs + UBIFS_MST_NODE_SZ <= c->leb_size) { in get_master_node()
203 err = ubifs_prepare_node_hmac(c, mst, UBIFS_MST_NODE_SZ, in write_rcvrd_mst_node()
300 memcpy(c->mst_node, mst, UBIFS_MST_NODE_SZ); in ubifs_recover_master_node()
309 memcpy(c->rcvrd_mst_node, c->mst_node, UBIFS_MST_NODE_SZ); in ubifs_recover_master_node()
H A Dsuper.c583 c->mst_node_alsz = ALIGN(UBIFS_MST_NODE_SZ, c->min_io_size); in init_constants_early()
591 c->ranges[UBIFS_MST_NODE].len = UBIFS_MST_NODE_SZ; in init_constants_early()
1589 UBIFS_TRUN_NODE_SZ, UBIFS_SB_NODE_SZ, UBIFS_MST_NODE_SZ); in mount_ubifs()
2374 BUILD_BUG_ON(UBIFS_MST_NODE_SZ & 7); in ubifs_init()
2399 BUILD_BUG_ON(UBIFS_MST_NODE_SZ != 512); in ubifs_init()
H A Dubifs-media.h272 #define UBIFS_MST_NODE_SZ sizeof(struct ubifs_mst_node) macro
H A Dsb.c339 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()
/OK3568_Linux_fs/u-boot/fs/ubifs/
H A Dmaster.c68 UBIFS_MST_NODE_SZ - UBIFS_CH_SZ)) in scan_for_master()
366 len = UBIFS_MST_NODE_SZ; in ubifs_write_master()
368 if (offs + UBIFS_MST_NODE_SZ > c->leb_size) { in ubifs_write_master()
H A Drecovery.c121 while (offs + UBIFS_MST_NODE_SZ <= c->leb_size) { in get_master_node()
208 ubifs_prepare_node(c, mst, UBIFS_MST_NODE_SZ, 1); in write_rcvrd_mst_node()
262 UBIFS_MST_NODE_SZ - UBIFS_CH_SZ)) in ubifs_recover_master_node()
304 memcpy(c->mst_node, mst, UBIFS_MST_NODE_SZ); in ubifs_recover_master_node()
313 memcpy(c->rcvrd_mst_node, c->mst_node, UBIFS_MST_NODE_SZ); in ubifs_recover_master_node()
H A Dubifs-media.h273 #define UBIFS_MST_NODE_SZ sizeof(struct ubifs_mst_node) macro
H A Dsb.c251 err = ubifs_write_node(c, mst, UBIFS_MST_NODE_SZ, UBIFS_MST_LNUM, 0); in create_default_filesystem()
256 err = ubifs_write_node(c, mst, UBIFS_MST_NODE_SZ, UBIFS_MST_LNUM + 1, in create_default_filesystem()
H A Dsuper.c749 c->mst_node_alsz = ALIGN(UBIFS_MST_NODE_SZ, c->min_io_size); in init_constants_early()
757 c->ranges[UBIFS_MST_NODE].len = UBIFS_MST_NODE_SZ; in init_constants_early()
1653 UBIFS_TRUN_NODE_SZ, UBIFS_SB_NODE_SZ, UBIFS_MST_NODE_SZ); in mount_ubifs()
2565 BUILD_BUG_ON(UBIFS_MST_NODE_SZ & 7); in ubifs_init()
2590 BUILD_BUG_ON(UBIFS_MST_NODE_SZ != 512); in ubifs_init()