Searched refs:EXT2_BLOCK_SIZE (Results 1 – 14 of 14) sorted by relevance
/external/grub/stage2/ |
D | fsys_ext2fs.c | 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)) 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/ |
D | initialize.c | 193 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()
|
D | ext2_fs.h | 84 #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))
|
D | openfs.c | 240 fs->blocksize = EXT2_BLOCK_SIZE(fs->super); in ext2fs_open2() 248 EXT2_BLOCK_SIZE(fs->super) - 1) / in ext2fs_open2() 249 EXT2_BLOCK_SIZE(fs->super)); in ext2fs_open2()
|
D | inode.c | 578 offset &= (EXT2_BLOCK_SIZE(fs->super) - 1); in ext2fs_read_inode_full() 697 offset &= (EXT2_BLOCK_SIZE(fs->super) - 1); in ext2fs_write_inode_full()
|
/external/kernel-headers/original/linux/ |
D | ext2_fs.h | 96 # 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/ |
D | mke2fs.c | 384 EXT2_BLOCK_SIZE(fs->super) - 1) / in write_inode_tables() 385 EXT2_BLOCK_SIZE(fs->super)); in write_inode_tables() 780 blocksize = EXT2_BLOCK_SIZE(param); in parse_extended_opts() 1000 meg = (1024 * 1024) / EXT2_BLOCK_SIZE(fs_param); in parse_fs_type() 1117 blocksize = EXT2_BLOCK_SIZE(fs_param); in ext2fs_get_device_geometry() 1495 EXT2_BLOCK_SIZE(&fs_param), in PRS() 1514 EXT2_BLOCK_SIZE(&fs_param), &big_dev_size); in PRS() 1524 program_name, device_name, EXT2_BLOCK_SIZE(&fs_param)); in PRS() 1555 if (sys_page_size > EXT2_BLOCK_SIZE(&fs_param)) in PRS() 1557 EXT2_BLOCK_SIZE(&fs_param))-1); in PRS() [all …]
|
D | dumpe2fs.c | 152 EXT2_BLOCK_SIZE(fs->super) - 1) / in list_desc() 153 EXT2_BLOCK_SIZE(fs->super); in list_desc()
|
/external/e2fsprogs/lib/e2p/ |
D | ls.c | 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()
|
/external/e2fsprogs/e2fsck/ |
D | super.c | 478 bpg_max = 8 * EXT2_BLOCK_SIZE(sb); in check_super_block() 544 pctx.blk = EXT2_BLOCK_SIZE(sb); in check_super_block()
|
D | util.c | 503 (EXT2_BLOCK_SIZE(sb) == blocksize)) { in get_backup_sb()
|
D | unix.c | 1125 __u32 blocksize = EXT2_BLOCK_SIZE(fs->super); in main()
|
/external/e2fsprogs/debugfs/ |
D | logdump.c | 363 blocksize = EXT2_BLOCK_SIZE(sb); in dump_journal()
|
D | debugfs.c | 2006 offset &= (EXT2_BLOCK_SIZE(current_fs->super) - 1); in do_imap()
|