Searched refs:compr_blocks (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/fs/f2fs/ |
D | compress.c | 1328 fio.compr_blocks++; in f2fs_write_compressed_pages() 1335 if (fio.compr_blocks && __is_valid_data_blkaddr(blkaddr)) in f2fs_write_compressed_pages() 1336 fio.compr_blocks++; in f2fs_write_compressed_pages() 1361 if (fio.compr_blocks) in f2fs_write_compressed_pages() 1362 f2fs_i_compr_blocks_update(inode, fio.compr_blocks - 1, false); in f2fs_write_compressed_pages() 1444 int _submitted, compr_blocks, ret, i; in f2fs_write_raw_pages() local 1446 compr_blocks = f2fs_compressed_blocks(cc); in f2fs_write_raw_pages() 1456 if (compr_blocks < 0) in f2fs_write_raw_pages() 1457 return compr_blocks; in f2fs_write_raw_pages() 1485 compr_blocks, false); in f2fs_write_raw_pages()
|
D | debug.c | 150 si->compr_blocks = atomic64_read(&sbi->compr_blocks); in update_general_status() 436 si->compr_inode, si->compr_blocks); in stat_show() 701 atomic64_set(&sbi->compr_blocks, 0); in f2fs_build_stats()
|
D | file.c | 3454 int compr_blocks = 0; in release_compress_blocks() local 3467 compr_blocks++; in release_compress_blocks() 3476 f2fs_i_compr_blocks_update(dn->inode, compr_blocks, false); in release_compress_blocks() 3478 cluster_size - compr_blocks); in release_compress_blocks() 3480 released_blocks += cluster_size - compr_blocks; in release_compress_blocks() 3620 int compr_blocks = 0; in reserve_compress_blocks() local 3635 compr_blocks++; in reserve_compress_blocks() 3643 reserved = cluster_size - compr_blocks; in reserve_compress_blocks() 3648 if (reserved != cluster_size - compr_blocks) in reserve_compress_blocks() 3651 f2fs_i_compr_blocks_update(dn->inode, compr_blocks, true); in reserve_compress_blocks()
|
D | data.c | 2804 if (fio->compr_blocks && fio->old_blkaddr == COMPRESS_ADDR) in f2fs_do_write_data_page() 2805 f2fs_i_compr_blocks_update(inode, fio->compr_blocks - 1, false); in f2fs_do_write_data_page() 2826 int compr_blocks, in f2fs_write_single_data_page() argument 2849 .compr_blocks = compr_blocks, in f2fs_write_single_data_page() 2882 compr_blocks) in f2fs_write_single_data_page()
|
D | f2fs.h | 1196 unsigned int compr_blocks; /* # of compressed block addresses */ member 1698 atomic64_t compr_blocks; /* # of compressed blocks */ member 3840 int compr_blocks, bool allow_balance); 3916 unsigned long long compr_blocks; member 4002 (atomic64_add(blocks, &F2FS_I_SB(inode)->compr_blocks)) 4004 (atomic64_sub(blocks, &F2FS_I_SB(inode)->compr_blocks))
|