Lines Matching refs:bucket_sectors
393 u32 *bucket_sectors) in bch2_bucket_ref_update() argument
468 if ((u64) *bucket_sectors + sectors > U32_MAX) { in bch2_bucket_ref_update()
475 *bucket_sectors, sectors, in bch2_bucket_ref_update()
480 sectors = -*bucket_sectors; in bch2_bucket_ref_update()
483 *bucket_sectors += sectors; in bch2_bucket_ref_update()
1056 enum bch_data_type type, u64 *bucket, unsigned *bucket_sectors, in bch2_trans_mark_metadata_sectors() argument
1064 if (b != *bucket && *bucket_sectors) { in bch2_trans_mark_metadata_sectors()
1066 type, *bucket_sectors, flags); in bch2_trans_mark_metadata_sectors()
1070 *bucket_sectors = 0; in bch2_trans_mark_metadata_sectors()
1074 *bucket_sectors += sectors; in bch2_trans_mark_metadata_sectors()
1091 unsigned i, bucket_sectors = 0; in __bch2_trans_mark_dev_sb() local
1100 BCH_DATA_sb, &bucket, &bucket_sectors, flags); in __bch2_trans_mark_dev_sb()
1107 BCH_DATA_sb, &bucket, &bucket_sectors, flags); in __bch2_trans_mark_dev_sb()
1112 if (bucket_sectors) { in __bch2_trans_mark_dev_sb()
1114 bucket, BCH_DATA_sb, bucket_sectors, flags); in __bch2_trans_mark_dev_sb()