Lines Matching full:blocks

21 /* Define the number of blocks we need to account to a transaction to
25 * indirection blocks, the group and superblock summaries, and the data
53 * Define the number of metadata blocks we need to account to modify data.
55 * This include super block, inode block, quota blocks and xattr blocks
79 * directory. For each new index block, we need 4 blocks (old index
87 /* Amount of blocks needed for quota update - we know that the structure was
90 /* Amount of blocks needed for quota insert/delete - we do some block writes
181 unsigned int line, int type, int blocks,
206 int blocks) in ext4_free_metadata_revoke_credits() argument
209 return blocks * EXT4_SB(sb)->s_cluster_ratio; in ext4_free_metadata_revoke_credits()
225 #define ext4_journal_start_with_reserve(inode, type, blocks, rsv_blocks)\ argument
226 __ext4_journal_start((inode), __LINE__, (type), (blocks), (rsv_blocks),\
229 #define ext4_journal_start_with_revoke(inode, type, blocks, revoke_creds) \ argument
230 __ext4_journal_start((inode), __LINE__, (type), (blocks), 0, \
235 int blocks, int rsv_blocks, in __ext4_journal_start() argument
238 return __ext4_journal_start_sb(inode, inode->i_sb, line, type, blocks, in __ext4_journal_start()
308 * as freeing one or two blocks is very common pattern and requesting this is
390 static inline int ext4_free_data_revoke_credits(struct inode *inode, int blocks) in ext4_free_data_revoke_credits() argument
397 * Data blocks in one extent are contiguous, just account for partial in ext4_free_data_revoke_credits()
400 return blocks + 2*(EXT4_SB(inode->i_sb)->s_cluster_ratio - 1); in ext4_free_data_revoke_credits()