Home
last modified time | relevance | path

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

/external/e2fsprogs/lib/ext2fs/
Dinitialize.c218 fs->fragsize = fs->blocksize = EXT2_BLOCK_SIZE(super); in ext2fs_initialize()
344 EXT2_BLOCK_SIZE(super) - 1) / in ext2fs_initialize()
345 EXT2_BLOCK_SIZE(super)); in ext2fs_initialize()
347 EXT2_BLOCK_SIZE(super)) / in ext2fs_initialize()
359 EXT2_BLOCK_SIZE(super) - 1) / in ext2fs_initialize()
360 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.c313 fs->fragsize = fs->blocksize = EXT2_BLOCK_SIZE(fs->super); in ext2fs_open2()
339 EXT2_BLOCK_SIZE(fs->super) - 1) / in ext2fs_open2()
340 EXT2_BLOCK_SIZE(fs->super)); in ext2fs_open2()
Dinode.c791 offset &= (EXT2_BLOCK_SIZE(fs->super) - 1); in ext2fs_read_inode_full()
929 offset &= (EXT2_BLOCK_SIZE(fs->super) - 1); in ext2fs_write_inode_full()
/external/e2fsprogs/misc/
Dmke2fs.c433 EXT2_BLOCK_SIZE(fs->super)); in write_inode_tables()
969 blocksize = EXT2_BLOCK_SIZE(param); in parse_extended_opts()
1309 meg = (1024 * 1024) / EXT2_BLOCK_SIZE(sb); in parse_fs_type()
1458 blocksize = EXT2_BLOCK_SIZE(param); in get_device_geometry()
1932 EXT2_BLOCK_SIZE(&fs_param), in PRS()
1936 EXT2_BLOCK_SIZE(&fs_param), in PRS()
1965 if (sys_page_size > EXT2_BLOCK_SIZE(&fs_param)) in PRS()
1967 EXT2_BLOCK_SIZE(&fs_param))-1)); in PRS()
2136 EXT2_BLOCK_SIZE(&fs_param)); in PRS()
2148 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()
/external/e2fsprogs/lib/e2p/
Dls.c233 EXT2_BLOCK_SIZE(sb) - 1) / in list_super2()
234 EXT2_BLOCK_SIZE(sb)); in list_super2()
281 fprintf(f, "Block size: %u\n", EXT2_BLOCK_SIZE(sb)); in list_super2()
/external/u-boot/include/
Dext_common.h48 #define EXT2_BLOCK_SIZE(data) (1 << LOG2_BLOCK_SIZE(data)) macro
/external/u-boot/fs/ext4/
Dext4_common.c312 int blocksize = EXT2_BLOCK_SIZE(ext4fs_root); in ext4fs_set_block_bmap()
348 int blocksize = EXT2_BLOCK_SIZE(ext4fs_root); in ext4fs_reset_block_bmap()
1532 int blksz = EXT2_BLOCK_SIZE(data); in ext4fs_get_extent_block()
1572 desc_per_blk = EXT2_BLOCK_SIZE(data) / desc_size; in ext4fs_blockgroup()
1603 inodes_per_block = EXT2_BLOCK_SIZE(data) / fs->inodesz; in ext4fs_read_inode()
1628 blksz = EXT2_BLOCK_SIZE(ext4fs_root); in read_allocated_block()
Dext4_write.c593 fs->blksz = EXT2_BLOCK_SIZE(ext4fs_root); in ext4fs_init()
/external/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.c607 (EXT2_BLOCK_SIZE(sb) == blocksize)) { in get_backup_sb()
Dunix.c1625 __u32 blocksize = EXT2_BLOCK_SIZE(fs->super); in main()
/external/e2fsprogs/debugfs/
Dlogdump.c372 blocksize = EXT2_BLOCK_SIZE(sb); in dump_journal()
Ddebugfs.c2134 offset &= (EXT2_BLOCK_SIZE(current_fs->super) - 1); in do_imap()