/linux/fs/ |
H A D | super.c | 45 static DEFINE_SPINLOCK(sb_lock); 424 spin_lock(&sb_lock); in put_super() 426 spin_unlock(&sb_lock); in put_super() 444 spin_lock(&sb_lock); in kill_super_notify() 446 spin_unlock(&sb_lock); in kill_super_notify() 529 spin_unlock(&sb_lock); in grab_super() 751 spin_lock(&sb_lock); in sget_fc() 759 spin_unlock(&sb_lock); in sget_fc() 770 spin_unlock(&sb_lock); in sget_fc() 785 spin_unlock(&sb_lock); in sget_fc() [all …]
|
/linux/fs/bcachefs/ |
H A D | sb-clean.c | 149 mutex_lock(&c->sb_lock); in bch2_read_superblock_clean() 157 mutex_unlock(&c->sb_lock); in bch2_read_superblock_clean() 164 mutex_unlock(&c->sb_lock); in bch2_read_superblock_clean() 171 mutex_unlock(&c->sb_lock); in bch2_read_superblock_clean() 175 mutex_unlock(&c->sb_lock); in bch2_read_superblock_clean() 179 mutex_unlock(&c->sb_lock); in bch2_read_superblock_clean() 271 mutex_lock(&c->sb_lock); in bch2_fs_mark_dirty() 276 mutex_unlock(&c->sb_lock); in bch2_fs_mark_dirty() 288 mutex_lock(&c->sb_lock); in bch2_fs_mark_clean() 335 mutex_unlock(&c->sb_lock); in bch2_fs_mark_clean()
|
H A D | replicas.c | 308 mutex_lock(&c->sb_lock); in bch2_mark_replicas_slowpath() 348 mutex_unlock(&c->sb_lock); in bch2_mark_replicas_slowpath() 374 mutex_lock(&c->sb_lock); in bch2_replicas_gc_end() 390 mutex_unlock(&c->sb_lock); in bch2_replicas_gc_end() 402 mutex_lock(&c->sb_lock); in bch2_replicas_gc_start() 423 mutex_unlock(&c->sb_lock); in bch2_replicas_gc_start() 435 mutex_unlock(&c->sb_lock); in bch2_replicas_gc_start() 464 mutex_lock(&c->sb_lock); in bch2_replicas_gc2() 470 mutex_unlock(&c->sb_lock); in bch2_replicas_gc2() 511 mutex_unlock(&c->sb_lock); in bch2_replicas_gc2() [all …]
|
H A D | super.c | 762 mutex_init(&c->sb_lock); in bch2_fs_alloc() 827 mutex_lock(&c->sb_lock); in bch2_fs_alloc() 829 mutex_unlock(&c->sb_lock); in bch2_fs_alloc() 1011 mutex_lock(&c->sb_lock); in bch2_fs_start() 1015 mutex_unlock(&c->sb_lock); in bch2_fs_start() 1024 mutex_unlock(&c->sb_lock); in bch2_fs_start() 1523 mutex_lock(&c->sb_lock); in bch2_fs_may_start() 1534 mutex_unlock(&c->sb_lock); in bch2_fs_may_start() 1538 mutex_unlock(&c->sb_lock); in bch2_fs_may_start() 1582 mutex_lock(&c->sb_lock); in __bch2_dev_set_state() [all …]
|
H A D | recovery_passes.c | 129 mutex_lock(&c->sb_lock); in bch2_run_explicit_recovery_pass_persistent() 136 mutex_unlock(&c->sb_lock); in bch2_run_explicit_recovery_pass_persistent() 146 mutex_lock(&c->sb_lock); in bch2_clear_recovery_pass_required() 153 mutex_unlock(&c->sb_lock); in bch2_clear_recovery_pass_required()
|
H A D | recovery.c | 47 mutex_lock(&c->sb_lock); in bch2_btree_lost_data() 50 mutex_unlock(&c->sb_lock); in bch2_btree_lost_data() 60 mutex_lock(&c->sb_lock); in bch2_reconstruct_alloc() 100 mutex_unlock(&c->sb_lock); in bch2_reconstruct_alloc() 666 mutex_lock(&c->sb_lock); in bch2_fs_recovery() 713 mutex_unlock(&c->sb_lock); in bch2_fs_recovery() 918 mutex_lock(&c->sb_lock); in bch2_fs_recovery() 960 mutex_unlock(&c->sb_lock); in bch2_fs_recovery() 1017 mutex_lock(&c->sb_lock); in bch2_fs_initialize() 1036 mutex_unlock(&c->sb_lock); in bch2_fs_initialize() [all …]
|
H A D | disk_groups.c | 152 lockdep_assert_held(&c->sb_lock); in bch2_sb_disk_groups_to_cpu() 191 lockdep_is_held(&c->sb_lock)); in bch2_sb_disk_groups_to_cpu() 496 mutex_lock(&c->sb_lock); in bch2_dev_group_set() 499 mutex_unlock(&c->sb_lock); in bch2_dev_group_set() 529 mutex_lock(&c->sb_lock); in bch2_opt_target_parse() 531 mutex_unlock(&c->sb_lock); in bch2_opt_target_parse()
|
H A D | quota.c | 526 mutex_lock(&c->sb_lock); in bch2_fs_quota_read() 529 mutex_unlock(&c->sb_lock); in bch2_fs_quota_read() 534 mutex_unlock(&c->sb_lock); in bch2_fs_quota_read() 572 mutex_lock(&c->sb_lock); in bch2_quota_enable() 590 mutex_unlock(&c->sb_lock); in bch2_quota_enable() 602 mutex_lock(&c->sb_lock); in bch2_quota_disable() 613 mutex_unlock(&c->sb_lock); in bch2_quota_disable() 726 mutex_lock(&c->sb_lock); in bch2_quota_set_info() 753 mutex_unlock(&c->sb_lock); in bch2_quota_set_info()
|
H A D | sb-members.c | 368 mutex_lock(&ca->fs->sb_lock); in bch2_dev_io_errors_to_text() 370 mutex_unlock(&ca->fs->sb_lock); in bch2_dev_io_errors_to_text() 399 mutex_lock(&c->sb_lock); in bch2_dev_errors_reset() 406 mutex_unlock(&c->sb_lock); in bch2_dev_errors_reset() 466 lockdep_assert_held(&c->sb_lock); in bch2_dev_btree_bitmap_mark()
|
H A D | fs-ioctl.c | 288 mutex_lock(&c->sb_lock); in bch2_ioc_getlabel() 290 mutex_unlock(&c->sb_lock); in bch2_ioc_getlabel() 329 mutex_lock(&c->sb_lock); in bch2_ioc_setlabel() 332 mutex_unlock(&c->sb_lock); in bch2_ioc_setlabel()
|
H A D | sb-downgrade.c | 159 mutex_lock(&c->sb_lock); in bch2_sb_set_upgrade_extra() 173 mutex_unlock(&c->sb_lock); in bch2_sb_set_upgrade_extra() 182 lockdep_assert_held(&c->sb_lock); in bch2_sb_set_upgrade()
|
H A D | journal_seq_blacklist.c | 52 mutex_lock(&c->sb_lock); in bch2_journal_seq_blacklist_add() 93 mutex_unlock(&c->sb_lock); in bch2_journal_seq_blacklist_add()
|
H A D | super-io.c | 227 lockdep_assert_held(&c->sb_lock); in bch2_sb_field_resize_id() 517 lockdep_assert_held(&c->sb_lock); in bch2_sb_update() 615 lockdep_assert_held(&c->sb_lock); in bch2_sb_to_fs() 949 lockdep_assert_held(&c->sb_lock); in bch2_write_super() 1127 mutex_lock(&c->sb_lock); in __bch2_check_set_feature() 1133 mutex_unlock(&c->sb_lock); in __bch2_check_set_feature() 1141 lockdep_assert_held(&c->sb_lock); in bch2_check_version_downgrade() 1162 lockdep_assert_held(&c->sb_lock); in bch2_sb_upgrade()
|
H A D | compress.c | 525 mutex_lock(&c->sb_lock); in __bch2_check_set_has_compressed_data() 528 mutex_unlock(&c->sb_lock); in __bch2_check_set_has_compressed_data() 534 mutex_unlock(&c->sb_lock); in __bch2_check_set_has_compressed_data() 540 mutex_unlock(&c->sb_lock); in __bch2_check_set_has_compressed_data()
|
H A D | checksum.c | 696 mutex_lock(&c->sb_lock); in bch2_disable_encryption() 717 mutex_unlock(&c->sb_lock); in bch2_disable_encryption() 729 mutex_lock(&c->sb_lock); in bch2_enable_encryption() 773 mutex_unlock(&c->sb_lock); in bch2_enable_encryption()
|
H A D | opts.c | 703 mutex_lock(&c->sb_lock); in bch2_opt_set_sb() 706 mutex_unlock(&c->sb_lock); in bch2_opt_set_sb()
|
H A D | journal_sb.c | 198 lockdep_assert_held(&c->sb_lock); in bch2_journal_buckets_to_sb()
|
H A D | sb-members.h | 197 lockdep_is_held(&c->sb_lock) || in bch2_dev_locked()
|
H A D | chardev.c | 682 mutex_lock(&c->sb_lock); in bch2_ioctl_read_super() 705 mutex_unlock(&c->sb_lock); in bch2_ioctl_read_super()
|
H A D | move.c | 1000 mutex_lock(&c->sb_lock); in bch2_scan_old_btree_nodes() 1005 mutex_unlock(&c->sb_lock); in bch2_scan_old_btree_nodes()
|
/linux/drivers/gpu/drm/i915/ |
H A D | intel_pcode.c | 60 lockdep_assert_held(&uncore->i915->sb_lock); in __snb_pcode_rw() 99 mutex_lock(&uncore->i915->sb_lock); in snb_pcode_read() 101 mutex_unlock(&uncore->i915->sb_lock); in snb_pcode_read() 117 mutex_lock(&uncore->i915->sb_lock); in snb_pcode_write_timeout() 120 mutex_unlock(&uncore->i915->sb_lock); in snb_pcode_write_timeout() 165 mutex_lock(&uncore->i915->sb_lock); in skl_pcode_request() 202 mutex_unlock(&uncore->i915->sb_lock); in skl_pcode_request()
|
H A D | vlv_sideband.c | 65 mutex_lock(&i915->sb_lock); in vlv_iosf_sb_get() 70 mutex_unlock(&i915->sb_lock); in vlv_iosf_sb_put() 84 lockdep_assert_held(&i915->sb_lock); in vlv_sideband_rw()
|
H A D | intel_sbi.c | 20 lockdep_assert_held(&i915->sb_lock); in intel_sbi_rw()
|
H A D | i915_driver.c | 234 mutex_init(&dev_priv->sb_lock); in i915_driver_early_probe() 294 mutex_destroy(&dev_priv->sb_lock); in i915_driver_late_release()
|
/linux/fs/f2fs/ |
H A D | namei.c | 161 f2fs_down_read(&sbi->sb_lock); in set_compress_new_inode() 167 f2fs_up_read(&sbi->sb_lock); in set_compress_new_inode() 202 f2fs_down_read(&sbi->sb_lock); in set_file_temperature() 208 f2fs_up_read(&sbi->sb_lock); in set_file_temperature()
|