Searched refs:compr_blocks (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.15/fs/f2fs/ |
| D | compress.c | 1333 fio.compr_blocks++; in f2fs_write_compressed_pages() 1340 if (fio.compr_blocks && __is_valid_data_blkaddr(blkaddr)) in f2fs_write_compressed_pages() 1341 fio.compr_blocks++; in f2fs_write_compressed_pages() 1366 if (fio.compr_blocks) in f2fs_write_compressed_pages() 1367 f2fs_i_compr_blocks_update(inode, fio.compr_blocks - 1, false); in f2fs_write_compressed_pages() 1451 int _submitted, compr_blocks, ret; in f2fs_write_raw_pages() local 1454 compr_blocks = f2fs_compressed_blocks(cc); in f2fs_write_raw_pages() 1455 if (compr_blocks < 0) { in f2fs_write_raw_pages() 1456 err = compr_blocks; in f2fs_write_raw_pages() 1473 compr_blocks, false); in f2fs_write_raw_pages()
|
| D | debug.c | 141 si->compr_blocks = atomic64_read(&sbi->compr_blocks); in update_general_status() 391 si->compr_inode, si->compr_blocks); in stat_show() 613 atomic64_set(&sbi->compr_blocks, 0); in f2fs_build_stats()
|
| D | file.c | 3376 int compr_blocks = 0; in release_compress_blocks() local 3389 compr_blocks++; in release_compress_blocks() 3398 f2fs_i_compr_blocks_update(dn->inode, compr_blocks, false); in release_compress_blocks() 3400 cluster_size - compr_blocks); in release_compress_blocks() 3402 released_blocks += cluster_size - compr_blocks; in release_compress_blocks() 3538 int compr_blocks = 0; in reserve_compress_blocks() local 3553 compr_blocks++; in reserve_compress_blocks() 3561 reserved = cluster_size - compr_blocks; in reserve_compress_blocks() 3566 if (reserved != cluster_size - compr_blocks) in reserve_compress_blocks() 3569 f2fs_i_compr_blocks_update(dn->inode, compr_blocks, true); in reserve_compress_blocks()
|
| D | data.c | 2701 if (fio->compr_blocks && fio->old_blkaddr == COMPRESS_ADDR) in f2fs_do_write_data_page() 2702 f2fs_i_compr_blocks_update(inode, fio->compr_blocks - 1, false); in f2fs_do_write_data_page() 2723 int compr_blocks, in f2fs_write_single_data_page() argument 2745 .compr_blocks = compr_blocks, in f2fs_write_single_data_page() 2772 compr_blocks) in f2fs_write_single_data_page()
|
| D | f2fs.h | 1169 int compr_blocks; /* # of compressed block addresses */ member 1705 atomic64_t compr_blocks; /* # of compressed blocks */ member 3612 int compr_blocks, bool allow_balance); 3679 unsigned long long compr_blocks; member 3765 (atomic64_add(blocks, &F2FS_I_SB(inode)->compr_blocks)) 3767 (atomic64_sub(blocks, &F2FS_I_SB(inode)->compr_blocks))
|