Lines Matching refs:diff
2308 long long diff = 0, release = 0; in inc_valid_block_count() local
2330 diff = (long long)sbi->total_valid_block_count + *count - in inc_valid_block_count()
2332 if (unlikely(diff > 0)) { in inc_valid_block_count()
2338 if (diff > *count) in inc_valid_block_count()
2339 diff = *count; in inc_valid_block_count()
2340 *count -= diff; in inc_valid_block_count()
2341 release = diff; in inc_valid_block_count()
3085 block_t diff, bool add, bool claim) in f2fs_i_blocks_write() argument
3093 dquot_claim_block(inode, diff); in f2fs_i_blocks_write()
3095 dquot_alloc_block_nofail(inode, diff); in f2fs_i_blocks_write()
3097 dquot_free_block(inode, diff); in f2fs_i_blocks_write()
4333 int diff = F2FS_I(inode)->i_cluster_size - blocks; \
4335 sbi->compr_saved_block += diff; \
4578 int diff = fi->i_cluster_size - blocks; in f2fs_i_compr_blocks_update() local
4585 atomic_add(diff, &fi->i_compr_blocks); in f2fs_i_compr_blocks_update()
4586 stat_add_compr_blocks(inode, diff); in f2fs_i_compr_blocks_update()
4588 atomic_sub(diff, &fi->i_compr_blocks); in f2fs_i_compr_blocks_update()
4589 stat_sub_compr_blocks(inode, diff); in f2fs_i_compr_blocks_update()