Home
last modified time | relevance | path

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

/fs/ocfs2/dlm/
Ddlmmaster.c164 assert_spin_locked(&dlm->spinlock); in __dlm_mle_attach_hb_events()
181 spin_lock(&dlm->spinlock); in dlm_mle_detach_hb_events()
183 spin_unlock(&dlm->spinlock); in dlm_mle_detach_hb_events()
191 assert_spin_locked(&dlm->spinlock); in dlm_get_mle_inuse()
202 spin_lock(&dlm->spinlock); in dlm_put_mle_inuse()
207 spin_unlock(&dlm->spinlock); in dlm_put_mle_inuse()
217 assert_spin_locked(&dlm->spinlock); in __dlm_put_mle()
236 spin_lock(&dlm->spinlock); in dlm_put_mle()
240 spin_unlock(&dlm->spinlock); in dlm_put_mle()
255 assert_spin_locked(&dlm->spinlock); in dlm_init_mle()
[all …]
Ddlmthread.c46 assert_spin_locked(&res->spinlock); in __dlm_wait_on_lockres_flags()
52 spin_unlock(&res->spinlock); in __dlm_wait_on_lockres_flags()
54 spin_lock(&res->spinlock); in __dlm_wait_on_lockres_flags()
78 assert_spin_locked(&res->spinlock); in __dlm_lockres_unused()
109 assert_spin_locked(&dlm->spinlock); in __dlm_lockres_calc_usage()
110 assert_spin_locked(&res->spinlock); in __dlm_lockres_calc_usage()
135 spin_lock(&dlm->spinlock); in dlm_lockres_calc_usage()
136 spin_lock(&res->spinlock); in dlm_lockres_calc_usage()
140 spin_unlock(&res->spinlock); in dlm_lockres_calc_usage()
141 spin_unlock(&dlm->spinlock); in dlm_lockres_calc_usage()
[all …]
Ddlmrecovery.c103 assert_spin_locked(&dlm->spinlock); in dlm_set_reco_dead_node()
113 assert_spin_locked(&dlm->spinlock); in dlm_set_reco_master()
121 assert_spin_locked(&dlm->spinlock); in __dlm_reset_recovery()
309 spin_lock(&dlm->spinlock); in dlm_reco_master_ready()
311 spin_unlock(&dlm->spinlock); in dlm_reco_master_ready()
320 spin_lock(&dlm->spinlock); in dlm_is_node_dead()
322 spin_unlock(&dlm->spinlock); in dlm_is_node_dead()
331 spin_lock(&dlm->spinlock); in dlm_is_node_recovered()
333 spin_unlock(&dlm->spinlock); in dlm_is_node_recovered()
381 spin_lock(&dlm->spinlock); in dlm_in_recovery()
[all …]
Ddlmdomain.c160 assert_spin_locked(&dlm->spinlock); in __dlm_insert_lockres()
183 assert_spin_locked(&dlm->spinlock); in __dlm_lookup_lockres_full()
215 assert_spin_locked(&dlm->spinlock); in __dlm_lookup_lockres()
219 spin_lock(&res->spinlock); in __dlm_lookup_lockres()
221 spin_unlock(&res->spinlock); in __dlm_lookup_lockres()
225 spin_unlock(&res->spinlock); in __dlm_lookup_lockres()
238 spin_lock(&dlm->spinlock); in dlm_lookup_lockres()
240 spin_unlock(&dlm->spinlock); in dlm_lookup_lockres()
414 spin_lock(&dlm->spinlock); in dlm_migrate_all_locks()
429 spin_lock(&res->spinlock); in dlm_migrate_all_locks()
[all …]
Ddlmunlock.c114 spin_lock(&res->spinlock); in dlmunlock_common()
118 spin_unlock(&res->spinlock); in dlmunlock_common()
125 spin_lock(&lock->spinlock); in dlmunlock_common()
164 spin_unlock(&lock->spinlock); in dlmunlock_common()
165 spin_unlock(&res->spinlock); in dlmunlock_common()
168 spin_lock(&res->spinlock); in dlmunlock_common()
169 spin_lock(&lock->spinlock); in dlmunlock_common()
230 spin_unlock(&lock->spinlock); in dlmunlock_common()
231 spin_unlock(&res->spinlock); in dlmunlock_common()
235 spin_lock(&res->spinlock); in dlmunlock_common()
[all …]
Ddlmconvert.c66 spin_lock(&res->spinlock); in dlmconvert_master()
76 spin_unlock(&res->spinlock); in dlmconvert_master()
111 assert_spin_locked(&res->spinlock); in __dlmconvert_master()
116 spin_lock(&lock->spinlock); in __dlmconvert_master()
224 spin_unlock(&lock->spinlock); in __dlmconvert_master()
258 spin_lock(&res->spinlock); in dlmconvert_remote()
312 spin_unlock(&res->spinlock); in dlmconvert_remote()
318 spin_lock(&res->spinlock); in dlmconvert_remote()
337 spin_unlock(&res->spinlock); in dlmconvert_remote()
475 spin_lock(&res->spinlock); in dlm_convert_lock_handler()
[all …]
Ddlmlock.c110 spin_lock(&res->spinlock); in dlmlock_master()
117 spin_unlock(&res->spinlock); in dlmlock_master()
165 spin_unlock(&res->spinlock); in dlmlock_master()
212 spin_lock(&res->spinlock); in dlmlock_remote()
215 spin_unlock(&res->spinlock); in dlmlock_remote()
224 spin_unlock(&res->spinlock); in dlmlock_remote()
230 spin_lock(&res->spinlock); in dlmlock_remote()
266 spin_unlock(&res->spinlock); in dlmlock_remote()
382 spin_lock_init(&newlock->spinlock); in dlm_init_lock()
497 spin_lock(&res->spinlock); in dlm_create_lock_handler()
[all …]
Ddlmdebug.c35 spin_lock(&res->spinlock); in dlm_print_one_lock_resource()
37 spin_unlock(&res->spinlock); in dlm_print_one_lock_resource()
43 assert_spin_locked(&res->spinlock); in dlm_print_lockres_refmap()
59 spin_lock(&lock->spinlock); in __dlm_print_lock()
77 spin_unlock(&lock->spinlock); in __dlm_print_lock()
85 assert_spin_locked(&res->spinlock); in __dlm_print_one_lock_resource()
357 spin_lock(&dlm->spinlock); in debug_purgelist_print()
362 spin_lock(&res->spinlock); in debug_purgelist_print()
368 spin_unlock(&res->spinlock); in debug_purgelist_print()
370 spin_unlock(&dlm->spinlock); in debug_purgelist_print()
[all …]
Ddlmast.c50 assert_spin_locked(&lock->spinlock); in dlm_should_cancel_bast()
102 spin_lock(&lock->spinlock); in __dlm_queue_ast()
126 spin_unlock(&lock->spinlock); in __dlm_queue_ast()
160 spin_lock(&lock->spinlock); in __dlm_queue_bast()
163 spin_unlock(&lock->spinlock); in __dlm_queue_bast()
173 spin_lock(&res->spinlock); in dlm_update_lvb()
190 spin_unlock(&res->spinlock); in dlm_update_lvb()
333 spin_lock(&res->spinlock); in dlm_proxy_ast_handler()
375 spin_unlock(&res->spinlock); in dlm_proxy_ast_handler()
404 spin_unlock(&res->spinlock); in dlm_proxy_ast_handler()
Ddlmcommon.h43 spinlock_t spinlock; member
116 spinlock_t spinlock; member
250 assert_spin_locked(&dlm->spinlock); in __dlm_set_joining_node()
309 spinlock_t spinlock; member
343 spinlock_t spinlock; member
782 assert_spin_locked(&res->spinlock); in __dlm_lockres_state_to_status()
1117 assert_spin_locked(&res->spinlock); in dlm_set_lockres_owner()
1126 assert_spin_locked(&res->spinlock); in dlm_change_lockres_owner()
/fs/jffs2/
DREADME.Locking71 erase_completion_lock spinlock
99 inocache_lock spinlock
102 This spinlock protects the hashed list (c->inocache_list) of the
107 This spinlock also covers allocation of new inode numbers, which is
113 the inocache_lock spinlock.
/fs/xfs/
Dxfs_log_priv.h609 struct spinlock *lock) in xlog_wait()