Home
last modified time | relevance | path

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

/fs/f2fs/
Dinode.c205 if (le64_to_cpu(ri->i_compr_blocks) > in sanity_check_compress_inode()
209 __func__, inode->i_ino, le64_to_cpu(ri->i_compr_blocks), in sanity_check_compress_inode()
494 atomic_set(&fi->i_compr_blocks, in do_read_inode()
495 le64_to_cpu(ri->i_compr_blocks)); in do_read_inode()
526 stat_add_compr_blocks(inode, atomic_read(&fi->i_compr_blocks)); in do_read_inode()
712 ri->i_compr_blocks = cpu_to_le64( in f2fs_update_inode()
713 atomic_read(&fi->i_compr_blocks)); in f2fs_update_inode()
892 atomic_read(&fi->i_compr_blocks)); in f2fs_evict_inode()
Dfile.c630 bool released = !atomic_read(&F2FS_I(dn->inode)->i_compr_blocks); in f2fs_truncate_data_blocks_range()
3523 *blocks = atomic_read(&F2FS_I(inode)->i_compr_blocks); in f2fs_get_compress_blocks()
3635 if (!atomic_read(&fi->i_compr_blocks)) { in f2fs_release_compress_blocks()
3697 atomic_read(&fi->i_compr_blocks)) { in f2fs_release_compress_blocks()
3704 atomic_read(&fi->i_compr_blocks)); in f2fs_release_compress_blocks()
3819 if (atomic_read(&fi->i_compr_blocks)) in f2fs_reserve_compress_blocks()
3879 atomic_read(&fi->i_compr_blocks)) { in f2fs_reserve_compress_blocks()
3886 atomic_read(&fi->i_compr_blocks)); in f2fs_reserve_compress_blocks()
4250 if (!atomic_read(&fi->i_compr_blocks)) in f2fs_ioc_decompress_file()
Df2fs.h863 atomic_t i_compr_blocks; /* # of compressed blocks */ member
4586 if (!add && !atomic_read(&fi->i_compr_blocks)) in f2fs_i_compr_blocks_update()
4590 atomic_add(diff, &fi->i_compr_blocks); in f2fs_i_compr_blocks_update()
4593 atomic_sub(diff, &fi->i_compr_blocks); in f2fs_i_compr_blocks_update()
Dsuper.c1409 atomic_set(&fi->i_compr_blocks, 0); in f2fs_alloc_inode()