Lines Matching refs:mark_lock
289 percpu_down_read(&c->mark_lock); in bch2_replicas_marked()
291 percpu_up_read(&c->mark_lock); in bch2_replicas_marked()
341 percpu_down_write(&c->mark_lock); in bch2_mark_replicas_slowpath()
346 percpu_up_write(&c->mark_lock); in bch2_mark_replicas_slowpath()
375 percpu_down_write(&c->mark_lock); in bch2_replicas_gc_end()
385 percpu_up_write(&c->mark_lock); in bch2_replicas_gc_end()
465 percpu_down_write(&c->mark_lock); in bch2_replicas_gc2()
469 percpu_up_write(&c->mark_lock); in bch2_replicas_gc2()
506 percpu_up_write(&c->mark_lock); in bch2_replicas_gc2()
600 percpu_down_write(&c->mark_lock); in bch2_sb_replicas_to_cpu_replicas()
602 percpu_up_write(&c->mark_lock); in bch2_sb_replicas_to_cpu_replicas()
814 percpu_down_read(&c->mark_lock); in bch2_have_enough_devs()
863 percpu_up_read(&c->mark_lock); in bch2_have_enough_devs()