Searched refs:UBIFS_MST_NODE_SZ (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/fs/ubifs/ |
H A D | master.c | 45 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 D | recovery.c | 116 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 D | ubifs-media.h | 272 #define UBIFS_MST_NODE_SZ sizeof(struct ubifs_mst_node) macro
|
H A D | super.c | 583 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() 1601 UBIFS_TRUN_NODE_SZ, UBIFS_SB_NODE_SZ, UBIFS_MST_NODE_SZ); in mount_ubifs() 2388 BUILD_BUG_ON(UBIFS_MST_NODE_SZ & 7); in ubifs_init() 2413 BUILD_BUG_ON(UBIFS_MST_NODE_SZ != 512); in ubifs_init()
|
H A D | sb.c | 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()
|
/openbmc/u-boot/fs/ubifs/ |
H A D | master.c | 67 UBIFS_MST_NODE_SZ - UBIFS_CH_SZ)) in scan_for_master() 365 len = UBIFS_MST_NODE_SZ; in ubifs_write_master() 367 if (offs + UBIFS_MST_NODE_SZ > c->leb_size) { in ubifs_write_master()
|
H A D | recovery.c | 120 while (offs + UBIFS_MST_NODE_SZ <= c->leb_size) { in get_master_node() 207 ubifs_prepare_node(c, mst, UBIFS_MST_NODE_SZ, 1); in write_rcvrd_mst_node() 261 UBIFS_MST_NODE_SZ - UBIFS_CH_SZ)) in ubifs_recover_master_node() 303 memcpy(c->mst_node, mst, UBIFS_MST_NODE_SZ); in ubifs_recover_master_node() 312 memcpy(c->rcvrd_mst_node, c->mst_node, UBIFS_MST_NODE_SZ); in ubifs_recover_master_node()
|
H A D | ubifs-media.h | 272 #define UBIFS_MST_NODE_SZ sizeof(struct ubifs_mst_node) macro
|
H A D | sb.c | 250 err = ubifs_write_node(c, mst, UBIFS_MST_NODE_SZ, UBIFS_MST_LNUM, 0); in create_default_filesystem() 255 err = ubifs_write_node(c, mst, UBIFS_MST_NODE_SZ, UBIFS_MST_LNUM + 1, in create_default_filesystem()
|
H A D | super.c | 748 c->mst_node_alsz = ALIGN(UBIFS_MST_NODE_SZ, c->min_io_size); in init_constants_early() 756 c->ranges[UBIFS_MST_NODE].len = UBIFS_MST_NODE_SZ; in init_constants_early() 1657 UBIFS_TRUN_NODE_SZ, UBIFS_SB_NODE_SZ, UBIFS_MST_NODE_SZ); in mount_ubifs() 2564 BUILD_BUG_ON(UBIFS_MST_NODE_SZ & 7); in ubifs_init() 2589 BUILD_BUG_ON(UBIFS_MST_NODE_SZ != 512); in ubifs_init()
|