Home
last modified time | relevance | path

Searched refs:UBIFS_INO_NODE_SZ (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/fs/ubifs/
H A Djournal.c557 ilen = UBIFS_INO_NODE_SZ; in ubifs_jnl_update()
861 write_len += UBIFS_INO_NODE_SZ * ui->xattr_cnt; in ubifs_jnl_write_inode()
919 ino = (void *)ino + UBIFS_INO_NODE_SZ; in ubifs_jnl_write_inode()
1251 ilen = UBIFS_INO_NODE_SZ; in ubifs_jnl_rename()
1262 wlen = UBIFS_INO_NODE_SZ; in ubifs_jnl_rename()
1577 sz = UBIFS_TRUN_NODE_SZ + UBIFS_INO_NODE_SZ + in ubifs_jnl_truncate()
1584 trun = (void *)ino + UBIFS_INO_NODE_SZ; in ubifs_jnl_truncate()
1625 len = UBIFS_TRUN_NODE_SZ + UBIFS_INO_NODE_SZ; in ubifs_jnl_truncate()
1738 hlen = host_ui->data_len + UBIFS_INO_NODE_SZ; in ubifs_jnl_delete_xattr()
1767 ino = (void *)ino + UBIFS_INO_NODE_SZ; in ubifs_jnl_delete_xattr()
[all …]
H A Dsb.c167 ino = kzalloc(ALIGN(UBIFS_INO_NODE_SZ, c->min_io_size), GFP_KERNEL); in create_default_filesystem()
256 tmp64 -= ALIGN(UBIFS_INO_NODE_SZ, c->min_io_size); in create_default_filesystem()
260 ino_waste = ALIGN(UBIFS_INO_NODE_SZ, c->min_io_size) - in create_default_filesystem()
261 UBIFS_INO_NODE_SZ; in create_default_filesystem()
270 mst->total_used = cpu_to_le64(UBIFS_INO_NODE_SZ); in create_default_filesystem()
285 br->len = cpu_to_le32(UBIFS_INO_NODE_SZ); in create_default_filesystem()
306 ino->size = cpu_to_le64(UBIFS_INO_NODE_SZ); in create_default_filesystem()
327 err = ubifs_write_node(c, ino, UBIFS_INO_NODE_SZ, in create_default_filesystem()
H A Dubifs-media.h266 #define UBIFS_INO_NODE_SZ sizeof(struct ubifs_ino_node) macro
287 #define UBIFS_MAX_INO_NODE_SZ (UBIFS_INO_NODE_SZ + UBIFS_MAX_INO_DATA)
H A Dmisc.h281 int max_xattrs = (c->leb_size / 2) / UBIFS_INO_NODE_SZ; in ubifs_xattr_max_cnt()
H A Dsuper.c601 c->ranges[UBIFS_INO_NODE].min_len = UBIFS_INO_NODE_SZ; in init_constants_early()
726 c->bi.inode_budget = UBIFS_INO_NODE_SZ; in init_constants_sb()
1599 UBIFS_DATA_NODE_SZ, UBIFS_INO_NODE_SZ, UBIFS_DENT_NODE_SZ); in mount_ubifs()
2382 BUILD_BUG_ON(UBIFS_INO_NODE_SZ & 7); in ubifs_init()
2401 BUILD_BUG_ON(UBIFS_INO_NODE_SZ < MIN_WRITE_SZ); in ubifs_init()
2414 BUILD_BUG_ON(UBIFS_INO_NODE_SZ != 160); in ubifs_init()
H A Dgc.c394 snod->len == UBIFS_INO_NODE_SZ) in move_nodes()
H A Ddebug.c1130 loff_t size = UBIFS_INO_NODE_SZ; in dbg_check_dir()
1878 fscki->calc_sz = UBIFS_INO_NODE_SZ; in add_inode()
1952 if (zbr->len < UBIFS_INO_NODE_SZ) { in read_add_inode()
H A Dubifs.h116 #define CALC_XATTR_BYTES(data_len) ALIGN(UBIFS_INO_NODE_SZ + (data_len) + 1, 8)
H A Ddir.c119 inode->i_size = ui->ui_size = UBIFS_INO_NODE_SZ; in ubifs_new_inode()
H A Dlpt.c664 node_sz = UBIFS_INO_NODE_SZ; in ubifs_create_dflt_lpt()
/openbmc/u-boot/fs/ubifs/
H A Dsb.c234 tmp64 -= ALIGN(UBIFS_INO_NODE_SZ, c->min_io_size); in create_default_filesystem()
238 ino_waste = ALIGN(UBIFS_INO_NODE_SZ, c->min_io_size) - in create_default_filesystem()
239 UBIFS_INO_NODE_SZ; in create_default_filesystem()
248 mst->total_used = cpu_to_le64(UBIFS_INO_NODE_SZ); in create_default_filesystem()
278 br->len = cpu_to_le32(UBIFS_INO_NODE_SZ); in create_default_filesystem()
288 tmp = ALIGN(UBIFS_INO_NODE_SZ, c->min_io_size); in create_default_filesystem()
305 ino->size = cpu_to_le64(UBIFS_INO_NODE_SZ); in create_default_filesystem()
310 err = ubifs_write_node(c, ino, UBIFS_INO_NODE_SZ, in create_default_filesystem()
H A Dubifs-media.h266 #define UBIFS_INO_NODE_SZ sizeof(struct ubifs_ino_node) macro
284 #define UBIFS_MAX_INO_NODE_SZ (UBIFS_INO_NODE_SZ + UBIFS_MAX_INO_DATA)
H A Dsuper.c761 c->ranges[UBIFS_INO_NODE].min_len = UBIFS_INO_NODE_SZ; in init_constants_early()
882 c->bi.inode_budget = UBIFS_INO_NODE_SZ; in init_constants_sb()
1655 UBIFS_DATA_NODE_SZ, UBIFS_INO_NODE_SZ, UBIFS_DENT_NODE_SZ); in mount_ubifs()
2558 BUILD_BUG_ON(UBIFS_INO_NODE_SZ & 7); in ubifs_init()
2577 BUILD_BUG_ON(UBIFS_INO_NODE_SZ < MIN_WRITE_SZ); in ubifs_init()
2590 BUILD_BUG_ON(UBIFS_INO_NODE_SZ != 160); in ubifs_init()
H A Dgc.c394 snod->len == UBIFS_INO_NODE_SZ) in move_nodes()
H A Ddebug.c1119 loff_t size = UBIFS_INO_NODE_SZ; in dbg_check_dir()
1903 fscki->calc_sz = UBIFS_INO_NODE_SZ; in add_inode()
1977 if (zbr->len < UBIFS_INO_NODE_SZ) { in read_add_inode()
H A Dubifs.h738 #define CALC_XATTR_BYTES(data_len) ALIGN(UBIFS_INO_NODE_SZ + (data_len) + 1, 8)
H A Dlpt.c662 node_sz = UBIFS_INO_NODE_SZ; in ubifs_create_dflt_lpt()