Searched refs:EXT2_BLOCK_SIZE (Results 1 - 14 of 14) sorted by relevance

/external/grub/stage2/
H A 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,
279 EXT2_BLOCK_SIZE (SUPERBLOCK), (char *) buffer);
422 offset = filepos & (EXT2_BLOCK_SIZE (SUPERBLOCK) - 1);
430 size = EXT2_BLOCK_SIZE (SUPERBLOCK);
440 devread (map * (EXT2_BLOCK_SIZE (SUPERBLOC
[all...]
/external/e2fsprogs/lib/ext2fs/
H A Dinitialize.c193 fs->blocksize = EXT2_BLOCK_SIZE(super);
276 EXT2_BLOCK_SIZE(super) - 1) /
277 EXT2_BLOCK_SIZE(super));
279 EXT2_BLOCK_SIZE(super)) /
289 EXT2_BLOCK_SIZE(super) - 1) /
290 EXT2_BLOCK_SIZE(super));
H A 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))
H A Dopenfs.c242 fs->blocksize = EXT2_BLOCK_SIZE(fs->super);
250 EXT2_BLOCK_SIZE(fs->super) - 1) /
251 EXT2_BLOCK_SIZE(fs->super));
H A Dinode.c577 offset &= (EXT2_BLOCK_SIZE(fs->super) - 1);
696 offset &= (EXT2_BLOCK_SIZE(fs->super) - 1);
/external/kernel-headers/original/linux/
H A 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/
H A Dmke2fs.c382 EXT2_BLOCK_SIZE(fs->super) - 1) /
383 EXT2_BLOCK_SIZE(fs->super));
779 blocksize = EXT2_BLOCK_SIZE(param);
1036 meg = (1024 * 1024) / EXT2_BLOCK_SIZE(fs_param);
1161 blocksize = EXT2_BLOCK_SIZE(fs_param);
1545 EXT2_BLOCK_SIZE(&fs_param),
1564 EXT2_BLOCK_SIZE(&fs_param), &big_dev_size);
1574 program_name, device_name, EXT2_BLOCK_SIZE(&fs_param));
1605 if (sys_page_size > EXT2_BLOCK_SIZE(&fs_param))
1607 EXT2_BLOCK_SIZE(
[all...]
H A Ddumpe2fs.c166 EXT2_BLOCK_SIZE(fs->super) - 1) /
167 EXT2_BLOCK_SIZE(fs->super);
/external/e2fsprogs/lib/e2p/
H A Dls.c186 EXT2_BLOCK_SIZE(sb) - 1) /
187 EXT2_BLOCK_SIZE(sb));
231 fprintf(f, "Block size: %u\n", EXT2_BLOCK_SIZE(sb));
/external/e2fsprogs/e2fsck/
H A Dsuper.c479 bpg_max = 8 * EXT2_BLOCK_SIZE(sb);
545 pctx.blk = EXT2_BLOCK_SIZE(sb);
H A Dutil.c503 (EXT2_BLOCK_SIZE(sb) == blocksize)) {
H A Dunix.c1153 __u32 blocksize = EXT2_BLOCK_SIZE(fs->super);
/external/e2fsprogs/debugfs/
H A Dlogdump.c363 blocksize = EXT2_BLOCK_SIZE(sb);
H A Ddebugfs.c2006 offset &= (EXT2_BLOCK_SIZE(current_fs->super) - 1);

Completed in 309 milliseconds