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.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))
230 #define EXT2_INODES_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s)/EXT2_INODE_SIZE(s))
238 #define EXT2_DESC_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / EXT2_DESC_SIZE(s))
H A Dopenfs.c240 fs->blocksize = EXT2_BLOCK_SIZE(fs->super);
248 EXT2_BLOCK_SIZE(fs->super) - 1) /
249 EXT2_BLOCK_SIZE(fs->super));
H A Dinode.c578 offset &= (EXT2_BLOCK_SIZE(fs->super) - 1);
697 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/lib/e2p/
H A Dls.c184 EXT2_BLOCK_SIZE(sb) - 1) /
185 EXT2_BLOCK_SIZE(sb));
227 fprintf(f, "Block size: %u\n", EXT2_BLOCK_SIZE(sb));
/external/e2fsprogs/misc/
H A Dmke2fs.c384 EXT2_BLOCK_SIZE(fs->super) - 1) /
385 EXT2_BLOCK_SIZE(fs->super));
780 blocksize = EXT2_BLOCK_SIZE(param);
1000 meg = (1024 * 1024) / EXT2_BLOCK_SIZE(fs_param);
1117 blocksize = EXT2_BLOCK_SIZE(fs_param);
1495 EXT2_BLOCK_SIZE(&fs_param),
1514 EXT2_BLOCK_SIZE(&fs_param), &big_dev_size);
1524 program_name, device_name, EXT2_BLOCK_SIZE(&fs_param));
1555 if (sys_page_size > EXT2_BLOCK_SIZE(&fs_param))
1557 EXT2_BLOCK_SIZE(
[all...]
H A Ddumpe2fs.c152 EXT2_BLOCK_SIZE(fs->super) - 1) /
153 EXT2_BLOCK_SIZE(fs->super);
/external/e2fsprogs/e2fsck/
H A Dsuper.c478 bpg_max = 8 * EXT2_BLOCK_SIZE(sb);
544 pctx.blk = EXT2_BLOCK_SIZE(sb);
H A Dutil.c503 (EXT2_BLOCK_SIZE(sb) == blocksize)) {
H A Dunix.c1125 __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 248 milliseconds