Home
last modified time | relevance | path

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

/external/grub/stage2/
Dfsys_ext2fs.c211 ((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)) macro
227 (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 …]
/external/e2fsprogs/lib/ext2fs/
Dinitialize.c182 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()
Dext2_fs.h84 #define EXT2_BLOCK_SIZE(s) ((s)->s_blocksize) macro
90 #define EXT2_BLOCK_SIZE(s) (EXT2_MIN_BLOCK_SIZE << (s)->s_log_block_size) macro
97 #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))
Dopenfs.c232 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()
Dinode.c557 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()
/external/e2fsprogs/lib/e2p/
Dls.c184 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()
/external/e2fsprogs/misc/
Dmke2fs.c845 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()
Ddumpe2fs.c146 EXT2_BLOCK_SIZE(fs->super) - 1) / in list_desc()
147 EXT2_BLOCK_SIZE(fs->super); in list_desc()
/external/e2fsprogs/e2fsck/
Dsuper.c476 bpg_max = 8 * EXT2_BLOCK_SIZE(sb); in check_super_block()
538 pctx.blk = EXT2_BLOCK_SIZE(sb); in check_super_block()
Dutil.c459 (EXT2_BLOCK_SIZE(sb) == blocksize)) { in get_backup_sb()
Dunix.c1058 __u32 blocksize = EXT2_BLOCK_SIZE(fs->super); in main()
/external/e2fsprogs/debugfs/
Dlogdump.c361 blocksize = EXT2_BLOCK_SIZE(sb); in dump_journal()
Ddebugfs.c1743 offset &= (EXT2_BLOCK_SIZE(current_fs->super) - 1); in do_imap()