Home
last modified time | relevance | path

Searched refs:EXT2_BLOCK_SIZE (Results 1 – 15 of 15) sorted by relevance

/third_party/e2fsprogs/lib/ext2fs/
Dinitialize.c225 fs->fragsize = fs->blocksize = EXT2_BLOCK_SIZE(super); in ext2fs_initialize()
351 EXT2_BLOCK_SIZE(super) - 1) / in ext2fs_initialize()
352 EXT2_BLOCK_SIZE(super)); in ext2fs_initialize()
354 EXT2_BLOCK_SIZE(super)) / in ext2fs_initialize()
366 EXT2_BLOCK_SIZE(super) - 1) / in ext2fs_initialize()
367 EXT2_BLOCK_SIZE(super)); in ext2fs_initialize()
Dext2_fs.h95 #define EXT2_BLOCK_SIZE(s) ((s)->s_blocksize) macro
101 #define EXT2_BLOCK_SIZE(s) (EXT2_MIN_BLOCK_SIZE << (s)->s_log_block_size) macro
108 #define EXT2_ADDR_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof(__u32))
130 #define EXT2_FRAG_SIZE(s) EXT2_BLOCK_SIZE(s)
277 #define EXT2_INODES_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s)/EXT2_INODE_SIZE(s))
281 EXT2_BLOCK_SIZE(s)))
289 #define EXT2_DESC_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / EXT2_DESC_SIZE(s))
Dopenfs.c312 fs->fragsize = fs->blocksize = EXT2_BLOCK_SIZE(fs->super); in ext2fs_open2()
338 EXT2_BLOCK_SIZE(fs->super) - 1) / in ext2fs_open2()
339 EXT2_BLOCK_SIZE(fs->super)); in ext2fs_open2()
Dinode.c816 offset &= (EXT2_BLOCK_SIZE(fs->super) - 1); in ext2fs_read_inode2()
968 offset &= (EXT2_BLOCK_SIZE(fs->super) - 1); in ext2fs_write_inode2()
/third_party/e2fsprogs/misc/
Dmke2fs.c433 EXT2_BLOCK_SIZE(fs->super)); in write_inode_tables()
969 blocksize = EXT2_BLOCK_SIZE(param); in parse_extended_opts()
1351 meg = (1024 * 1024) / EXT2_BLOCK_SIZE(sb); in parse_fs_type()
1500 blocksize = EXT2_BLOCK_SIZE(param); in get_device_geometry()
1974 EXT2_BLOCK_SIZE(&fs_param), in PRS()
1978 EXT2_BLOCK_SIZE(&fs_param), in PRS()
2007 if (sys_page_size > EXT2_BLOCK_SIZE(&fs_param)) in PRS()
2009 EXT2_BLOCK_SIZE(&fs_param))-1)); in PRS()
2179 EXT2_BLOCK_SIZE(&fs_param)); in PRS()
2193 EXT2_BLOCK_SIZE(&fs_param)); in PRS()
[all …]
Ddumpe2fs.c180 EXT2_BLOCK_SIZE(fs->super) - 1) / in list_desc()
181 EXT2_BLOCK_SIZE(fs->super); in list_desc()
/third_party/e2fsprogs/lib/e2p/
Dls.c233 EXT2_BLOCK_SIZE(sb) - 1) / in list_super2()
234 EXT2_BLOCK_SIZE(sb)); in list_super2()
280 fprintf(f, "Block size: %u\n", EXT2_BLOCK_SIZE(sb)); in list_super2()
/third_party/uboot/u-boot-2020.01/include/
Dext_common.h49 #define EXT2_BLOCK_SIZE(data) (1 << LOG2_BLOCK_SIZE(data)) macro
/third_party/uboot/u-boot-2020.01/fs/ext4/
Dext4_common.c311 int blocksize = EXT2_BLOCK_SIZE(ext4fs_root); in ext4fs_set_block_bmap()
347 int blocksize = EXT2_BLOCK_SIZE(ext4fs_root); in ext4fs_reset_block_bmap()
1532 int blksz = EXT2_BLOCK_SIZE(data); in ext4fs_get_extent_block()
1576 desc_per_blk = EXT2_BLOCK_SIZE(data) / desc_size; in ext4fs_blockgroup()
1620 inodes_per_block = EXT2_BLOCK_SIZE(data) / fs->inodesz; in ext4fs_read_inode()
1654 blksz = EXT2_BLOCK_SIZE(ext4fs_root); in read_allocated_block()
Dext4_write.c602 fs->blksz = EXT2_BLOCK_SIZE(ext4fs_root); in ext4fs_init()
/third_party/e2fsprogs/e2fsck/
Dsuper.c605 cpg_max = 8 * EXT2_BLOCK_SIZE(sb); in check_super_block()
608 bpg_max = 8 * EXT2_BLOCK_SIZE(sb) * EXT2FS_CLUSTER_RATIO(fs); in check_super_block()
Dutil.c606 (EXT2_BLOCK_SIZE(sb) == blocksize)) { in get_backup_sb()
Dunix.c1646 __u32 blocksize = EXT2_BLOCK_SIZE(fs->super); in main()
/third_party/e2fsprogs/debugfs/
Dlogdump.c372 blocksize = EXT2_BLOCK_SIZE(sb); in dump_journal()
Ddebugfs.c2140 offset &= (EXT2_BLOCK_SIZE(current_fs->super) - 1); in do_imap()