Searched refs:EXT2_ADDR_PER_BLOCK (Results 1 – 6 of 6) sorted by relevance
218 #define EXT2_ADDR_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof (__u32)) macro219 #define EXT2_ADDR_PER_BLOCK_BITS(s) (log2(EXT2_ADDR_PER_BLOCK(s)))323 if (logical_block < EXT2_ADDR_PER_BLOCK (SUPERBLOCK)) in ext2fs_block_map()335 logical_block -= EXT2_ADDR_PER_BLOCK (SUPERBLOCK); in ext2fs_block_map()357 [logical_block & (EXT2_ADDR_PER_BLOCK (SUPERBLOCK) - 1)]; in ext2fs_block_map()379 & (EXT2_ADDR_PER_BLOCK (SUPERBLOCK) - 1)], in ext2fs_block_map()386 [logical_block & (EXT2_ADDR_PER_BLOCK (SUPERBLOCK) - 1)]; in ext2fs_block_map()
82 if (rsv_gdb > EXT2_ADDR_PER_BLOCK(sb)) in calc_reserved_gdt_blocks()83 rsv_gdb = EXT2_ADDR_PER_BLOCK(sb); in calc_reserved_gdt_blocks()311 if (super->s_reserved_gdt_blocks > EXT2_ADDR_PER_BLOCK(super)) { in ext2fs_initialize()
85 apb = EXT2_ADDR_PER_BLOCK(sb); in ext2fs_create_resize_inode()
98 #define EXT2_ADDR_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof(__u32)) macro
100 #define EXT2_ADDR_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof (__u32)) macro
791 if (rsv_gdb > (int) EXT2_ADDR_PER_BLOCK(param)) in parse_extended_opts()792 rsv_gdb = EXT2_ADDR_PER_BLOCK(param); in parse_extended_opts()