Home
last modified time | relevance | path

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

/linux-6.12.1/fs/bcachefs/
Dreplicas.c282 (likely((!c->replicas_gc.entries)) || in bch2_replicas_marked_locked()
283 __replicas_has_entry(&c->replicas_gc, search))); in bch2_replicas_marked_locked()
310 if (c->replicas_gc.entries && in bch2_mark_replicas_slowpath()
311 !__replicas_has_entry(&c->replicas_gc, new_entry)) { in bch2_mark_replicas_slowpath()
312 new_gc = cpu_replicas_add_entry(c, &c->replicas_gc, new_entry); in bch2_mark_replicas_slowpath()
345 swap(new_gc, c->replicas_gc); in bch2_mark_replicas_slowpath()
378 bch2_cpu_replicas_to_sb_replicas(c, &c->replicas_gc); in bch2_replicas_gc_end()
380 swap(c->replicas, c->replicas_gc); in bch2_replicas_gc_end()
382 kfree(c->replicas_gc.entries); in bch2_replicas_gc_end()
383 c->replicas_gc.entries = NULL; in bch2_replicas_gc_end()
[all …]
Dbcachefs.h751 struct bch_replicas_cpu replicas_gc; member