Home
last modified time | relevance | path

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

/linux-6.12.1/fs/bcachefs/
Ddisk_accounting.c342 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 …]
Dreplicas.c289 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 …]
Dbuckets.c67 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 …]
Dbtree_gc.c805 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()
Ddisk_accounting.h175 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()
Dbtree_trans_commit.c703 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()
Dbuckets.h92 percpu_rwsem_is_held(&ca->fs->mark_lock) || in bucket_gens()
Dbcachefs.h894 struct percpu_rw_semaphore mark_lock; member
Dalloc_foreground.c110 percpu_down_read(&c->mark_lock); in __bch2_open_bucket_put()
117 percpu_up_read(&c->mark_lock); in __bch2_open_bucket_put()
Dsuper.c568 percpu_free_rwsem(&c->mark_lock); in __bch2_fs_free()
823 ret = percpu_init_rwsem(&c->mark_lock); in bch2_fs_alloc()
Dec.c307 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/
Dlockdep.c3982 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 …]