Searched refs:EXT2_BLOCK_SIZE (Results 1 – 14 of 14) sorted by relevance
211 ((struct ext2_inode *)((int)GROUP_DESC + EXT2_BLOCK_SIZE(SUPERBLOCK)))215 ((int)((int)DATABLOCK1 + EXT2_BLOCK_SIZE(SUPERBLOCK)))218 #define EXT2_ADDR_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof (__u32))224 #define EXT2_BLOCK_SIZE(s) (1 << EXT2_BLOCK_SIZE_BITS(s)) macro227 (EXT2_BLOCK_SIZE(s) / sizeof (struct ext2_group_desc))278 return devread (fsblock * (EXT2_BLOCK_SIZE (SUPERBLOCK) / DEV_BSIZE), 0, in ext2_rdfsb()279 EXT2_BLOCK_SIZE (SUPERBLOCK), (char *) buffer); in ext2_rdfsb()422 offset = filepos & (EXT2_BLOCK_SIZE (SUPERBLOCK) - 1); in ext2fs_read()430 size = EXT2_BLOCK_SIZE (SUPERBLOCK); in ext2fs_read()440 devread (map * (EXT2_BLOCK_SIZE (SUPERBLOCK) / DEV_BSIZE), in ext2fs_read()[all …]
182 fs->blocksize = EXT2_BLOCK_SIZE(super); in ext2fs_initialize()263 EXT2_BLOCK_SIZE(super) - 1) / in ext2fs_initialize()264 EXT2_BLOCK_SIZE(super)); in ext2fs_initialize()266 EXT2_BLOCK_SIZE(super)) / in ext2fs_initialize()276 EXT2_BLOCK_SIZE(super) - 1) / in ext2fs_initialize()277 EXT2_BLOCK_SIZE(super)); in ext2fs_initialize()
84 #define EXT2_BLOCK_SIZE(s) ((s)->s_blocksize) macro90 #define EXT2_BLOCK_SIZE(s) (EXT2_MIN_BLOCK_SIZE << (s)->s_log_block_size) macro97 #define EXT2_ADDR_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof(__u32))110 # define EXT2_FRAGS_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / EXT2_FRAG_SIZE(s))222 #define EXT2_INODES_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s)/EXT2_INODE_SIZE(s))230 #define EXT2_DESC_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof (struct ext2_group_desc))
232 fs->blocksize = EXT2_BLOCK_SIZE(fs->super); in ext2fs_open2()244 EXT2_BLOCK_SIZE(fs->super) - 1) / in ext2fs_open2()245 EXT2_BLOCK_SIZE(fs->super)); in ext2fs_open2()
557 offset &= (EXT2_BLOCK_SIZE(fs->super) - 1); in ext2fs_read_inode_full()680 offset &= (EXT2_BLOCK_SIZE(fs->super) - 1); in ext2fs_write_inode_full()
96 # define EXT2_BLOCK_SIZE(s) ((s)->s_blocksize) macro98 # define EXT2_BLOCK_SIZE(s) (EXT2_MIN_BLOCK_SIZE << (s)->s_log_block_size) macro100 #define EXT2_ADDR_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof (__u32))130 # define EXT2_FRAGS_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / EXT2_FRAG_SIZE(s))158 # define EXT2_DESC_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof (struct ext2_group_desc))
184 EXT2_BLOCK_SIZE(sb) - 1) / in list_super2()185 EXT2_BLOCK_SIZE(sb)); in list_super2()227 fprintf(f, "Block size: %u\n", EXT2_BLOCK_SIZE(sb)); in list_super2()
845 blocksize = EXT2_BLOCK_SIZE(param); in parse_extended_opts()1285 EXT2_BLOCK_SIZE(&fs_param), in PRS()1322 if (sys_page_size > EXT2_BLOCK_SIZE(&fs_param)) in PRS()1324 EXT2_BLOCK_SIZE(&fs_param))-1); in PRS()1335 (EXT2_BLOCK_SIZE(&fs_param) / 1024) / 1024; in PRS()1463 blocksize = EXT2_BLOCK_SIZE(&fs_param); in PRS()1511 inode_size > EXT2_BLOCK_SIZE(&fs_param) || in PRS()1551 EXT2_BLOCK_SIZE(&fs_param))) { in PRS()
146 EXT2_BLOCK_SIZE(fs->super) - 1) / in list_desc()147 EXT2_BLOCK_SIZE(fs->super); in list_desc()
476 bpg_max = 8 * EXT2_BLOCK_SIZE(sb); in check_super_block()538 pctx.blk = EXT2_BLOCK_SIZE(sb); in check_super_block()
459 (EXT2_BLOCK_SIZE(sb) == blocksize)) { in get_backup_sb()
1058 __u32 blocksize = EXT2_BLOCK_SIZE(fs->super); in main()
361 blocksize = EXT2_BLOCK_SIZE(sb); in dump_journal()
1743 offset &= (EXT2_BLOCK_SIZE(current_fs->super) - 1); in do_imap()