Home
last modified time | relevance | path

Searched refs:EXT2_BLOCK_SIZE (Results 1 – 14 of 14) 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.c193 fs->blocksize = EXT2_BLOCK_SIZE(super); in ext2fs_initialize()
276 EXT2_BLOCK_SIZE(super) - 1) / in ext2fs_initialize()
277 EXT2_BLOCK_SIZE(super)); in ext2fs_initialize()
279 EXT2_BLOCK_SIZE(super)) / in ext2fs_initialize()
289 EXT2_BLOCK_SIZE(super) - 1) / in ext2fs_initialize()
290 EXT2_BLOCK_SIZE(super)); in ext2fs_initialize()
Dext2_fs.h85 #define EXT2_BLOCK_SIZE(s) ((s)->s_blocksize) macro
91 #define EXT2_BLOCK_SIZE(s) (EXT2_MIN_BLOCK_SIZE << (s)->s_log_block_size) macro
98 #define EXT2_ADDR_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof(__u32))
111 # define EXT2_FRAGS_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / EXT2_FRAG_SIZE(s))
231 #define EXT2_INODES_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s)/EXT2_INODE_SIZE(s))
239 #define EXT2_DESC_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / EXT2_DESC_SIZE(s))
Dopenfs.c242 fs->blocksize = EXT2_BLOCK_SIZE(fs->super); in ext2fs_open2()
250 EXT2_BLOCK_SIZE(fs->super) - 1) / in ext2fs_open2()
251 EXT2_BLOCK_SIZE(fs->super)); in ext2fs_open2()
Dinode.c577 offset &= (EXT2_BLOCK_SIZE(fs->super) - 1); in ext2fs_read_inode_full()
696 offset &= (EXT2_BLOCK_SIZE(fs->super) - 1); in ext2fs_write_inode_full()
/external/kernel-headers/original/linux/
Dext2_fs.h96 # define EXT2_BLOCK_SIZE(s) ((s)->s_blocksize) macro
98 # define EXT2_BLOCK_SIZE(s) (EXT2_MIN_BLOCK_SIZE << (s)->s_log_block_size) macro
100 #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))
/external/e2fsprogs/misc/
Dmke2fs.c382 EXT2_BLOCK_SIZE(fs->super) - 1) / in write_inode_tables()
383 EXT2_BLOCK_SIZE(fs->super)); in write_inode_tables()
779 blocksize = EXT2_BLOCK_SIZE(param); in parse_extended_opts()
1036 meg = (1024 * 1024) / EXT2_BLOCK_SIZE(fs_param); in parse_fs_type()
1161 blocksize = EXT2_BLOCK_SIZE(fs_param); in get_device_geometry()
1545 EXT2_BLOCK_SIZE(&fs_param), in PRS()
1564 EXT2_BLOCK_SIZE(&fs_param), &big_dev_size); in PRS()
1574 program_name, device_name, EXT2_BLOCK_SIZE(&fs_param)); in PRS()
1605 if (sys_page_size > EXT2_BLOCK_SIZE(&fs_param)) in PRS()
1607 EXT2_BLOCK_SIZE(&fs_param))-1); in PRS()
[all …]
Ddumpe2fs.c166 EXT2_BLOCK_SIZE(fs->super) - 1) / in list_desc()
167 EXT2_BLOCK_SIZE(fs->super); in list_desc()
/external/e2fsprogs/lib/e2p/
Dls.c186 EXT2_BLOCK_SIZE(sb) - 1) / in list_super2()
187 EXT2_BLOCK_SIZE(sb)); in list_super2()
231 fprintf(f, "Block size: %u\n", EXT2_BLOCK_SIZE(sb)); in list_super2()
/external/e2fsprogs/e2fsck/
Dsuper.c479 bpg_max = 8 * EXT2_BLOCK_SIZE(sb); in check_super_block()
545 pctx.blk = EXT2_BLOCK_SIZE(sb); in check_super_block()
Dutil.c503 (EXT2_BLOCK_SIZE(sb) == blocksize)) { in get_backup_sb()
Dunix.c1153 __u32 blocksize = EXT2_BLOCK_SIZE(fs->super); in main()
/external/e2fsprogs/debugfs/
Dlogdump.c363 blocksize = EXT2_BLOCK_SIZE(sb); in dump_journal()
Ddebugfs.c2006 offset &= (EXT2_BLOCK_SIZE(current_fs->super) - 1); in do_imap()