Home
last modified time | relevance | path

Searched refs:EXT4_ADDR_PER_BLOCK (Results 1 – 4 of 4) sorted by relevance

/fs/ext4/
Dindirect.c76 int ptrs = EXT4_ADDR_PER_BLOCK(inode->i_sb); in ext4_block_to_path()
759 sector_t dind_mask = ~((sector_t)EXT4_ADDR_PER_BLOCK(inode->i_sb) - 1); in ext4_ind_calc_metadata_amount()
789 return DIV_ROUND_UP(nrblocks, EXT4_ADDR_PER_BLOCK(inode->i_sb)) + 4; in ext4_ind_trans_blocks()
1094 int addr_per_block = EXT4_ADDR_PER_BLOCK(inode->i_sb); in ext4_free_branches()
1198 int addr_per_block = EXT4_ADDR_PER_BLOCK(inode->i_sb); in ext4_ind_truncate()
1311 int addr_per_block = EXT4_ADDR_PER_BLOCK(inode->i_sb); in ext4_ind_remove_space()
Dresize.c721 if (++gdbackups > EXT4_ADDR_PER_BLOCK(sb)) in verify_reserved_gdb()
791 if (le32_to_cpu(data[gdb_num % EXT4_ADDR_PER_BLOCK(sb)]) != gdblock) { in add_new_gdb()
837 data[gdb_num % EXT4_ADDR_PER_BLOCK(sb)] = 0; in add_new_gdb()
960 EXT4_ADDR_PER_BLOCK(sb)); in reserve_backup_gdb()
961 end = (__le32 *)dind->b_data + EXT4_ADDR_PER_BLOCK(sb); in reserve_backup_gdb()
Dext4.h242 #define EXT4_ADDR_PER_BLOCK(s) (EXT4_BLOCK_SIZE(s) / sizeof(__u32)) macro
2768 EXT4_ADDR_PER_BLOCK((inode)->i_sb))
Dsuper.c3825 sbi->s_addr_per_block_bits = ilog2(EXT4_ADDR_PER_BLOCK(sb)); in ext4_fill_super()