Home
last modified time | relevance | path

Searched refs:state_lock (Results 1 – 20 of 20) sorted by relevance

/fs/bcachefs/
A Dsuper.c408 down_write(&c->state_lock); in bch2_fs_read_only_work()
410 up_write(&c->state_lock); in bch2_fs_read_only_work()
576 up_write(&c->state_lock); in bch2_fs_read_write_early()
678 up_write(&c->state_lock); in __bch2_fs_stop()
792 up_write(&c->state_lock); in bch2_fs_online()
1209 up_write(&c->state_lock); in bch2_fs_start()
1237 up_write(&c->state_lock); in bch2_fs_start()
1763 up_write(&c->state_lock); in bch2_dev_set_state()
1885 up_write(&c->state_lock); in bch2_dev_remove()
1892 up_write(&c->state_lock); in bch2_dev_remove()
[all …]
A Dsb-members.h89 lockdep_is_held(&c->state_lock)))) in __bch2_next_dev_idx()
212 lockdep_is_held(&c->state_lock)); in bch2_dev_locked()
A Dbtree_gc.c1075 down_read(&c->state_lock); in bch2_check_allocations()
1113 up_read(&c->state_lock); in bch2_check_allocations()
1208 if (!down_read_trylock(&c->state_lock)) { in bch2_gc_gens()
1280 up_read(&c->state_lock); in bch2_gc_gens()
A Derror.c141 down_write(&c->state_lock); in bch2_io_error_work()
165 up_write(&c->state_lock); in bch2_io_error_work()
A Dfs.c2380 down_write(&c->state_lock); in bch2_freeze()
2382 up_write(&c->state_lock); in bch2_freeze()
2394 down_write(&c->state_lock); in bch2_unfreeze()
2396 up_write(&c->state_lock); in bch2_unfreeze()
2668 down_write(&c->state_lock); in bch2_fs_reconfigure()
2678 up_write(&c->state_lock); in bch2_fs_reconfigure()
2688 up_write(&c->state_lock); in bch2_fs_reconfigure()
A Dsysfs.c454 down_read(&c->state_lock); in STORE()
456 up_read(&c->state_lock); in STORE()
A Dbuckets.h67 lockdep_is_held(&ca->fs->state_lock)); in bucket_gens()
A Dalloc_background.c620 down_read(&c->state_lock); in bch2_alloc_read()
685 up_read(&c->state_lock); in bch2_alloc_read()
2513 lockdep_assert_held(&c->state_lock); in bch2_recalc_capacity()
2623 lockdep_assert_held(&c->state_lock); in bch2_dev_allocator_remove()
2658 lockdep_assert_held(&c->state_lock); in bch2_dev_allocator_add()
A Dbcachefs.h802 struct rw_semaphore state_lock; member
A Djournal.c1300 down_write(&c->state_lock); in bch2_set_nr_journal_buckets()
1302 up_write(&c->state_lock); in bch2_set_nr_journal_buckets()
A Drecovery.c942 up_write(&c->state_lock); in bch2_fs_recovery()
A Dbuckets.c1336 lockdep_assert_held(&c->state_lock); in bch2_dev_buckets_resize()
/fs/dlm/
A Dmidcomms.c183 spinlock_t state_lock; member
359 spin_lock_init(&node->state_lock); in dlm_midcomms_addr()
480 spin_lock_bh(&node->state_lock); in dlm_pas_fin_ack_rcv()
500 spin_unlock_bh(&node->state_lock); in dlm_pas_fin_ack_rcv()
537 spin_lock_bh(&node->state_lock); in dlm_midcomms_receive_buffer()
676 spin_lock(&node->state_lock); in dlm_midcomms_receive_buffer_3_2()
686 spin_unlock(&node->state_lock); in dlm_midcomms_receive_buffer_3_2()
1185 spin_lock_bh(&node->state_lock); in dlm_act_fin_ack_rcv()
1226 spin_lock_bh(&node->state_lock); in dlm_midcomms_add_member()
1272 spin_lock_bh(&node->state_lock); in dlm_midcomms_remove_member()
[all …]
/fs/iomap/
A Dbuffered-io.c20 spinlock_t state_lock; member
69 spin_lock_irqsave(&ifs->state_lock, flags); in iomap_set_range_uptodate()
71 spin_unlock_irqrestore(&ifs->state_lock, flags); in iomap_set_range_uptodate()
135 spin_lock_irqsave(&ifs->state_lock, flags); in ifs_clear_range_dirty()
137 spin_unlock_irqrestore(&ifs->state_lock, flags); in ifs_clear_range_dirty()
158 spin_lock_irqsave(&ifs->state_lock, flags); in ifs_set_range_dirty()
160 spin_unlock_irqrestore(&ifs->state_lock, flags); in ifs_set_range_dirty()
197 spin_lock_init(&ifs->state_lock); in ifs_alloc()
331 spin_lock_irqsave(&ifs->state_lock, flags); in iomap_finish_folio_read()
393 spin_lock_irq(&ifs->state_lock); in iomap_readpage_iter()
[all …]
/fs/nfs/
A Dnfs4state.c898 spin_lock(&state->state_lock); in nfs4_get_lock_state()
909 spin_unlock(&state->state_lock); in nfs4_get_lock_state()
914 spin_unlock(&state->state_lock); in nfs4_get_lock_state()
937 spin_unlock(&state->state_lock); in nfs4_put_lock_state()
996 spin_lock(&state->state_lock); in nfs4_copy_lock_stateid()
1004 spin_unlock(&state->state_lock); in nfs4_copy_lock_stateid()
1431 spin_lock(&state->state_lock); in nfs_state_lock_state_matches_stateid()
1434 spin_unlock(&state->state_lock); in nfs_state_lock_state_matches_stateid()
1621 spin_lock(&state->state_lock); in __nfs4_reclaim_open_state()
1744 spin_lock(&state->state_lock); in nfs4_clear_open_state()
[all …]
A Dnfs4_fs.h188 spinlock_t state_lock; /* Protects the lock_states list */ member
A Dnfs4proc.c1943 spin_lock(&state->state_lock); in nfs4_update_lock_stateid()
1951 spin_unlock(&state->state_lock); in nfs4_update_lock_stateid()
3021 spin_lock(&state->state_lock); in nfs41_check_expired_locks()
3047 spin_lock(&state->state_lock); in nfs41_check_expired_locks()
3050 spin_unlock(&state->state_lock); in nfs41_check_expired_locks()
7058 spin_lock(&state->state_lock); in nfs4_refresh_lock_old_stateid()
7067 spin_unlock(&state->state_lock); in nfs4_refresh_lock_old_stateid()
7077 spin_lock(&state->state_lock); in nfs4_sync_lock_stateid()
7080 spin_unlock(&state->state_lock); in nfs4_sync_lock_stateid()
7125 spin_lock(&state->state_lock); in nfs4_alloc_unlockdata()
[all …]
/fs/afs/
A Dinternal.h164 spinlock_t state_lock; member
1468 spin_lock_bh(&call->state_lock); in afs_set_call_state()
1474 spin_unlock_bh(&call->state_lock); in afs_set_call_state()
1484 spin_lock_bh(&call->state_lock); in afs_set_call_complete()
1494 spin_unlock_bh(&call->state_lock); in afs_set_call_complete()
A Drxrpc.c175 spin_lock_init(&call->state_lock); in afs_alloc_call()
/fs/nfsd/
A Dnfs4state.c1337 spin_lock(&state_lock); in destroy_delegation()
1339 spin_unlock(&state_lock); in destroy_delegation()
2463 spin_lock(&state_lock); in __destroy_client()
2469 spin_unlock(&state_lock); in __destroy_client()
5367 spin_lock(&state_lock); in nfsd4_cb_recall_prepare()
5372 spin_unlock(&state_lock); in nfsd4_cb_recall_prepare()
6043 spin_lock(&state_lock); in nfs4_set_delegation()
6058 spin_unlock(&state_lock); in nfs4_set_delegation()
6102 spin_lock(&state_lock); in nfs4_set_delegation()
6845 spin_lock(&state_lock); in nfs4_laundromat()
[all …]

Completed in 101 milliseconds