Home
last modified time | relevance | path

Searched refs:compr_blocks (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/fs/f2fs/
Dcompress.c1319 fio.compr_blocks++; in f2fs_write_compressed_pages()
1326 if (fio.compr_blocks && __is_valid_data_blkaddr(blkaddr)) in f2fs_write_compressed_pages()
1327 fio.compr_blocks++; in f2fs_write_compressed_pages()
1352 if (fio.compr_blocks) in f2fs_write_compressed_pages()
1353 f2fs_i_compr_blocks_update(inode, fio.compr_blocks - 1, false); in f2fs_write_compressed_pages()
1435 int _submitted, compr_blocks, ret, i; in f2fs_write_raw_pages() local
1437 compr_blocks = f2fs_compressed_blocks(cc); in f2fs_write_raw_pages()
1447 if (compr_blocks < 0) in f2fs_write_raw_pages()
1448 return compr_blocks; in f2fs_write_raw_pages()
1470 compr_blocks, false); in f2fs_write_raw_pages()
Ddebug.c139 si->compr_blocks = atomic64_read(&sbi->compr_blocks); in update_general_status()
388 si->compr_inode, si->compr_blocks); in stat_show()
612 atomic64_set(&sbi->compr_blocks, 0); in f2fs_build_stats()
Dfile.c3383 int compr_blocks = 0; in release_compress_blocks() local
3396 compr_blocks++; in release_compress_blocks()
3405 f2fs_i_compr_blocks_update(dn->inode, compr_blocks, false); in release_compress_blocks()
3407 cluster_size - compr_blocks); in release_compress_blocks()
3409 released_blocks += cluster_size - compr_blocks; in release_compress_blocks()
3547 int compr_blocks = 0; in reserve_compress_blocks() local
3562 compr_blocks++; in reserve_compress_blocks()
3570 reserved = cluster_size - compr_blocks; in reserve_compress_blocks()
3575 if (reserved != cluster_size - compr_blocks) in reserve_compress_blocks()
3578 f2fs_i_compr_blocks_update(dn->inode, compr_blocks, true); in reserve_compress_blocks()
Ddata.c2723 if (fio->compr_blocks && fio->old_blkaddr == COMPRESS_ADDR) in f2fs_do_write_data_page()
2724 f2fs_i_compr_blocks_update(inode, fio->compr_blocks - 1, false); in f2fs_do_write_data_page()
2745 int compr_blocks, in f2fs_write_single_data_page() argument
2767 .compr_blocks = compr_blocks, in f2fs_write_single_data_page()
2795 compr_blocks) in f2fs_write_single_data_page()
Df2fs.h1214 int compr_blocks; /* # of compressed block addresses */ member
1770 atomic64_t compr_blocks; /* # of compressed blocks */ member
3818 int compr_blocks, bool allow_balance);
3880 unsigned long long compr_blocks; member
3965 (atomic64_add(blocks, &F2FS_I_SB(inode)->compr_blocks))
3967 (atomic64_sub(blocks, &F2FS_I_SB(inode)->compr_blocks))