Searched refs:EXT2_BLOCK_SIZE (Results 1 – 15 of 15) sorted by relevance
225 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()
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))
312 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()
816 offset &= (EXT2_BLOCK_SIZE(fs->super) - 1); in ext2fs_read_inode2()968 offset &= (EXT2_BLOCK_SIZE(fs->super) - 1); in ext2fs_write_inode2()
433 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 …]
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()280 fprintf(f, "Block size: %u\n", EXT2_BLOCK_SIZE(sb)); in list_super2()
49 #define EXT2_BLOCK_SIZE(data) (1 << LOG2_BLOCK_SIZE(data)) macro
311 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()
602 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()
606 (EXT2_BLOCK_SIZE(sb) == blocksize)) { in get_backup_sb()
1646 __u32 blocksize = EXT2_BLOCK_SIZE(fs->super); in main()
372 blocksize = EXT2_BLOCK_SIZE(sb); in dump_journal()
2140 offset &= (EXT2_BLOCK_SIZE(current_fs->super) - 1); in do_imap()