Searched refs:mark_lock (Results 1 – 12 of 12) sorted by relevance
/linux-6.12.1/fs/bcachefs/ |
D | disk_accounting.c | 342 percpu_up_read(&c->mark_lock); in bch2_accounting_mem_insert() 343 percpu_down_write(&c->mark_lock); in bch2_accounting_mem_insert() 345 percpu_up_write(&c->mark_lock); in bch2_accounting_mem_insert() 346 percpu_down_read(&c->mark_lock); in bch2_accounting_mem_insert() 364 percpu_down_write(&c->mark_lock); in bch2_accounting_mem_gc() 379 percpu_up_write(&c->mark_lock); in bch2_accounting_mem_gc() 397 percpu_down_read(&c->mark_lock); in bch2_fs_replicas_usage_read() 418 percpu_up_read(&c->mark_lock); in bch2_fs_replicas_usage_read() 433 percpu_down_read(&c->mark_lock); in bch2_fs_accounting_read() 457 percpu_up_read(&c->mark_lock); in bch2_fs_accounting_read() [all …]
|
D | replicas.c | 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() [all …]
|
D | buckets.c | 67 percpu_down_read(&c->mark_lock); in bch2_fs_usage_read_short() 69 percpu_up_read(&c->mark_lock); in bch2_fs_usage_read_short() 263 percpu_down_read(&c->mark_lock); in bch2_check_fix_ptrs() 365 percpu_up_read(&c->mark_lock); in bch2_check_fix_ptrs() 374 percpu_down_read(&c->mark_lock); in bch2_check_fix_ptrs() 383 percpu_up_read(&c->mark_lock); in bch2_check_fix_ptrs() 500 percpu_down_read(&c->mark_lock); in bch2_trans_account_disk_usage_change() 532 percpu_up_read(&c->mark_lock); in bch2_trans_account_disk_usage_change() 602 percpu_down_read(&c->mark_lock); in bch2_trigger_pointer() 617 percpu_up_read(&c->mark_lock); in bch2_trigger_pointer() [all …]
|
D | btree_gc.c | 805 percpu_down_read(&c->mark_lock); in bch2_alloc_write_key() 816 percpu_up_read(&c->mark_lock); in bch2_alloc_write_key() 834 percpu_down_read(&c->mark_lock); in bch2_alloc_write_key() 838 percpu_up_read(&c->mark_lock); in bch2_alloc_write_key() 1144 percpu_down_write(&c->mark_lock); in bch2_check_allocations() 1149 percpu_up_write(&c->mark_lock); in bch2_check_allocations() 1174 percpu_down_read(&c->mark_lock); in gc_btree_gens_key() 1183 percpu_up_read(&c->mark_lock); in gc_btree_gens_key() 1198 percpu_up_read(&c->mark_lock); in gc_btree_gens_key()
|
D | disk_accounting.h | 175 percpu_down_read(&trans->c->mark_lock); in bch2_accounting_mem_add() 177 percpu_up_read(&trans->c->mark_lock); in bch2_accounting_mem_add()
|
D | btree_trans_commit.c | 703 percpu_down_read(&c->mark_lock); in bch2_trans_commit_write_locked() 724 percpu_up_read(&c->mark_lock); in bch2_trans_commit_write_locked() 830 percpu_down_read(&c->mark_lock); in bch2_trans_commit_write_locked() 843 percpu_up_read(&c->mark_lock); in bch2_trans_commit_write_locked()
|
D | buckets.h | 92 percpu_rwsem_is_held(&ca->fs->mark_lock) || in bucket_gens()
|
D | bcachefs.h | 894 struct percpu_rw_semaphore mark_lock; member
|
D | alloc_foreground.c | 110 percpu_down_read(&c->mark_lock); in __bch2_open_bucket_put() 117 percpu_up_read(&c->mark_lock); in __bch2_open_bucket_put()
|
D | super.c | 568 percpu_free_rwsem(&c->mark_lock); in __bch2_fs_free() 823 ret = percpu_init_rwsem(&c->mark_lock); in bch2_fs_alloc()
|
D | ec.c | 307 percpu_down_read(&c->mark_lock); in mark_stripe_bucket() 322 percpu_up_read(&c->mark_lock); in mark_stripe_bucket()
|
/linux-6.12.1/kernel/locking/ |
D | lockdep.c | 3982 static int mark_lock(struct task_struct *curr, struct held_lock *this, 4321 if (!mark_lock(curr, hlock, hlock_bit)) in mark_held_locks() 4602 if (!mark_lock(curr, hlock, in mark_usage() 4606 if (!mark_lock(curr, hlock, in mark_usage() 4611 if (!mark_lock(curr, hlock, LOCK_USED_IN_HARDIRQ)) in mark_usage() 4614 if (!mark_lock(curr, hlock, LOCK_USED_IN_SOFTIRQ)) in mark_usage() 4626 if (!mark_lock(curr, hlock, in mark_usage() 4630 if (!mark_lock(curr, hlock, in mark_usage() 4634 if (!mark_lock(curr, hlock, in mark_usage() 4638 if (!mark_lock(curr, hlock, in mark_usage() [all …]
|