Searched refs:EXT2_BLOCK_SIZE (Results 1 – 15 of 15) sorted by relevance
218 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()
95 #define EXT2_BLOCK_SIZE(s) ((s)->s_blocksize) macro101 #define EXT2_BLOCK_SIZE(s) (EXT2_MIN_BLOCK_SIZE << (s)->s_log_block_size) macro108 #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))
313 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()
791 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()
433 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 …]
180 EXT2_BLOCK_SIZE(fs->super) - 1) / in list_desc()181 EXT2_BLOCK_SIZE(fs->super); in list_desc()
233 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()
48 #define EXT2_BLOCK_SIZE(data) (1 << LOG2_BLOCK_SIZE(data)) macro
312 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()
593 fs->blksz = EXT2_BLOCK_SIZE(ext4fs_root); in ext4fs_init()
605 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()
607 (EXT2_BLOCK_SIZE(sb) == blocksize)) { in get_backup_sb()
1625 __u32 blocksize = EXT2_BLOCK_SIZE(fs->super); in main()
372 blocksize = EXT2_BLOCK_SIZE(sb); in dump_journal()
2134 offset &= (EXT2_BLOCK_SIZE(current_fs->super) - 1); in do_imap()