Lines Matching refs:data_type

29 					      enum bch_data_type data_type,
32 switch (data_type) {
63 fs_usage_data_type_to_base(&usage->b, e->data_type, usage->replicas[i]);
310 if (data_type_is_hidden(old->data_type))
312 if (data_type_is_hidden(new->data_type))
317 u->d[old->data_type].buckets--;
318 u->d[new->data_type].buckets++;
320 u->d[old->data_type].sectors -= bch2_bucket_sectors_dirty(*old);
321 u->d[new->data_type].sectors += bch2_bucket_sectors_dirty(*new);
326 u->d[old->data_type].fragmented -= bch2_bucket_sectors_fragmented(ca, *old);
327 u->d[new->data_type].fragmented += bch2_bucket_sectors_fragmented(ca, *new);
336 .data_type = b.data_type,
362 fs_usage_data_type_to_base(&fs_usage->b, r->data_type, sectors);
397 fs_usage_data_type_to_base(&fs_usage->b, r->data_type, sectors);
500 size_t b, enum bch_data_type data_type,
508 BUG_ON(data_type != BCH_DATA_sb &&
509 data_type != BCH_DATA_journal);
523 if (bch2_fs_inconsistent_on(g->data_type &&
524 g->data_type != data_type, c,
526 bch2_data_type_str(g->data_type),
527 bch2_data_type_str(data_type))) {
535 bch2_data_type_str(g->data_type ?: data_type),
541 g->data_type = data_type;
671 switch (d->r.data_type) {
835 ret = __mark_pointer(trans, k, &p.ptr, *sectors, bp.data_type,
836 a->v.gen, &a->v.data_type,
854 enum bch_data_type data_type = bch2_bkey_ptr_data_type(k, p, entry);
861 u8 bucket_data_type = g->data_type;
863 data_type, g->gen,
873 g->data_type = bucket_data_type;
886 enum bch_data_type data_type,
916 r.e.data_type = data_type;
953 r.e.data_type = data_type;
970 enum bch_data_type data_type = bkey_is_btree_ptr(k.k)
976 r.e.data_type = data_type;
1002 ret = bch2_trigger_stripe_ptr(trans, k, p, data_type, disk_sectors, flags);
1140 if (a->v.data_type && type && a->v.data_type != type) {
1146 bch2_data_type_str(a->v.data_type),
1153 if (a->v.data_type != type ||
1155 a->v.data_type = type;