Home
last modified time | relevance | path

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

/linux-6.12.1/fs/bcachefs/
Dalloc_background.c843 const struct bch_alloc_v4 *old_a = bch2_alloc_to_v4(old, &old_a_convert); in bch2_trigger_alloc() local
861 if (bch2_bucket_sectors_total(*new_a) > bch2_bucket_sectors_total(*old_a)) { in bch2_trigger_alloc()
876 if (old_a->data_type != new_a->data_type || in bch2_trigger_alloc()
878 alloc_freespace_genbits(*old_a) != alloc_freespace_genbits(*new_a))) { in bch2_trigger_alloc()
879 ret = bch2_bucket_do_index(trans, ca, old, old_a, false) ?: in bch2_trigger_alloc()
889 u64 old_lru = alloc_lru_idx_read(*old_a); in bch2_trigger_alloc()
899 old_lru = alloc_lru_idx_fragmentation(*old_a, ca); in bch2_trigger_alloc()
910 if (old_a->gen != new_a->gen) { in bch2_trigger_alloc()
917 old_a->cached_sectors) { in bch2_trigger_alloc()
919 -((s64) old_a->cached_sectors), in bch2_trigger_alloc()
[all …]