Home
last modified time | relevance | path

Searched refs:EXT2_BLOCK_SIZE (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/include/linux/
Dext2_fs.h85 # define EXT2_BLOCK_SIZE(s) ((s)->s_blocksize) macro
87 # define EXT2_BLOCK_SIZE(s) (EXT2_MIN_BLOCK_SIZE << (s)->s_log_block_size) macro
89 #define EXT2_ACLE_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof (struct ext2_acl_entry))
90 #define EXT2_ADDR_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof (__u32))
120 # define EXT2_FRAGS_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / EXT2_FRAG_SIZE(s))
170 # define EXT2_DESC_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof (struct ext2_group_desc))
/linux-2.4.37.9/fs/ext2/
Dinode.c957 offset &= (EXT2_BLOCK_SIZE(inode->i_sb) - 1); in ext2_read_inode()
1085 offset &= EXT2_BLOCK_SIZE(inode->i_sb) - 1; in ext2_update_inode()