Home
last modified time | relevance | path

Searched refs:sb_lock (Results 1 – 25 of 36) sorted by relevance

12

/linux/fs/
H A Dsuper.c45 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 Dsb-clean.c149 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 Dreplicas.c308 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 Dsuper.c762 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 Drecovery_passes.c129 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 Drecovery.c47 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 Ddisk_groups.c152 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 Dquota.c526 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 Dsb-members.c368 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 Dfs-ioctl.c288 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 Dsb-downgrade.c159 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 Djournal_seq_blacklist.c52 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 Dsuper-io.c227 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 Dcompress.c525 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 Dchecksum.c696 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 Dopts.c703 mutex_lock(&c->sb_lock); in bch2_opt_set_sb()
706 mutex_unlock(&c->sb_lock); in bch2_opt_set_sb()
H A Djournal_sb.c198 lockdep_assert_held(&c->sb_lock); in bch2_journal_buckets_to_sb()
H A Dsb-members.h197 lockdep_is_held(&c->sb_lock) || in bch2_dev_locked()
H A Dchardev.c682 mutex_lock(&c->sb_lock); in bch2_ioctl_read_super()
705 mutex_unlock(&c->sb_lock); in bch2_ioctl_read_super()
H A Dmove.c1000 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 Dintel_pcode.c60 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 Dvlv_sideband.c65 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 Dintel_sbi.c20 lockdep_assert_held(&i915->sb_lock); in intel_sbi_rw()
H A Di915_driver.c234 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 Dnamei.c161 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()

12