Home
last modified time | relevance | path

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

/linux/fs/bcachefs/
H A Dbuckets.c736 u64 compression_acct[3] = { 1, 0, 0 }; in __trigger_extent() local
772 bch2_u64s_neg(compression_acct, ARRAY_SIZE(compression_acct)); in __trigger_extent()
774 ret = bch2_disk_accounting_mod(trans, &acct_compression_key, compression_acct, in __trigger_extent()
775 ARRAY_SIZE(compression_acct), gc); in __trigger_extent()
779 compression_acct[0] = 1; in __trigger_extent()
780 compression_acct[1] = 0; in __trigger_extent()
781 compression_acct[2] = 0; in __trigger_extent()
786 compression_acct[1] += p.crc.uncompressed_size; in __trigger_extent()
787 compression_acct[2] += p.crc.compressed_size; in __trigger_extent()
809 bch2_u64s_neg(compression_acct, ARRAY_SIZE(compression_acct)); in __trigger_extent()
[all …]