Home
last modified time | relevance | path

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

/fs/ocfs2/dlm/
Ddlmmaster.c166 assert_spin_locked(&dlm->spinlock); in __dlm_mle_attach_hb_events()
183 spin_lock(&dlm->spinlock); in dlm_mle_detach_hb_events()
185 spin_unlock(&dlm->spinlock); in dlm_mle_detach_hb_events()
193 assert_spin_locked(&dlm->spinlock); in dlm_get_mle_inuse()
204 spin_lock(&dlm->spinlock); in dlm_put_mle_inuse()
209 spin_unlock(&dlm->spinlock); in dlm_put_mle_inuse()
219 assert_spin_locked(&dlm->spinlock); in __dlm_put_mle()
238 spin_lock(&dlm->spinlock); in dlm_put_mle()
242 spin_unlock(&dlm->spinlock); in dlm_put_mle()
257 assert_spin_locked(&dlm->spinlock); in dlm_init_mle()
[all …]
Ddlmthread.c48 assert_spin_locked(&res->spinlock); in __dlm_wait_on_lockres_flags()
54 spin_unlock(&res->spinlock); in __dlm_wait_on_lockres_flags()
56 spin_lock(&res->spinlock); in __dlm_wait_on_lockres_flags()
80 assert_spin_locked(&res->spinlock); in __dlm_lockres_unused()
111 assert_spin_locked(&dlm->spinlock); in __dlm_lockres_calc_usage()
112 assert_spin_locked(&res->spinlock); in __dlm_lockres_calc_usage()
137 spin_lock(&dlm->spinlock); in dlm_lockres_calc_usage()
138 spin_lock(&res->spinlock); in dlm_lockres_calc_usage()
142 spin_unlock(&res->spinlock); in dlm_lockres_calc_usage()
143 spin_unlock(&dlm->spinlock); in dlm_lockres_calc_usage()
[all …]
Ddlmrecovery.c105 assert_spin_locked(&dlm->spinlock); in dlm_set_reco_dead_node()
115 assert_spin_locked(&dlm->spinlock); in dlm_set_reco_master()
123 assert_spin_locked(&dlm->spinlock); in __dlm_reset_recovery()
131 spin_lock(&dlm->spinlock); in dlm_reset_recovery()
133 spin_unlock(&dlm->spinlock); in dlm_reset_recovery()
318 spin_lock(&dlm->spinlock); in dlm_reco_master_ready()
320 spin_unlock(&dlm->spinlock); in dlm_reco_master_ready()
329 spin_lock(&dlm->spinlock); in dlm_is_node_dead()
331 spin_unlock(&dlm->spinlock); in dlm_is_node_dead()
340 spin_lock(&dlm->spinlock); in dlm_is_node_recovered()
[all …]
Ddlmdomain.c162 assert_spin_locked(&dlm->spinlock); in __dlm_insert_lockres()
185 assert_spin_locked(&dlm->spinlock); in __dlm_lookup_lockres_full()
217 assert_spin_locked(&dlm->spinlock); in __dlm_lookup_lockres()
221 spin_lock(&res->spinlock); in __dlm_lookup_lockres()
223 spin_unlock(&res->spinlock); in __dlm_lookup_lockres()
227 spin_unlock(&res->spinlock); in __dlm_lookup_lockres()
240 spin_lock(&dlm->spinlock); in dlm_lookup_lockres()
242 spin_unlock(&dlm->spinlock); in dlm_lookup_lockres()
416 spin_lock(&dlm->spinlock); in dlm_migrate_all_locks()
431 spin_lock(&res->spinlock); in dlm_migrate_all_locks()
[all …]
Ddlmunlock.c116 spin_lock(&res->spinlock); in dlmunlock_common()
120 spin_unlock(&res->spinlock); in dlmunlock_common()
127 spin_lock(&lock->spinlock); in dlmunlock_common()
166 spin_unlock(&lock->spinlock); in dlmunlock_common()
167 spin_unlock(&res->spinlock); in dlmunlock_common()
170 spin_lock(&res->spinlock); in dlmunlock_common()
171 spin_lock(&lock->spinlock); in dlmunlock_common()
232 spin_unlock(&lock->spinlock); in dlmunlock_common()
233 spin_unlock(&res->spinlock); in dlmunlock_common()
237 spin_lock(&res->spinlock); in dlmunlock_common()
[all …]
Ddlmconvert.c68 spin_lock(&res->spinlock); in dlmconvert_master()
78 spin_unlock(&res->spinlock); in dlmconvert_master()
113 assert_spin_locked(&res->spinlock); in __dlmconvert_master()
118 spin_lock(&lock->spinlock); in __dlmconvert_master()
226 spin_unlock(&lock->spinlock); in __dlmconvert_master()
260 spin_lock(&res->spinlock); in dlmconvert_remote()
314 spin_unlock(&res->spinlock); in dlmconvert_remote()
320 spin_lock(&res->spinlock); in dlmconvert_remote()
339 spin_unlock(&res->spinlock); in dlmconvert_remote()
477 spin_lock(&res->spinlock); in dlm_convert_lock_handler()
[all …]
Ddlmlock.c112 spin_lock(&res->spinlock); in dlmlock_master()
119 spin_unlock(&res->spinlock); in dlmlock_master()
167 spin_unlock(&res->spinlock); in dlmlock_master()
214 spin_lock(&res->spinlock); in dlmlock_remote()
217 spin_unlock(&res->spinlock); in dlmlock_remote()
226 spin_unlock(&res->spinlock); in dlmlock_remote()
232 spin_lock(&res->spinlock); in dlmlock_remote()
268 spin_unlock(&res->spinlock); in dlmlock_remote()
384 spin_lock_init(&newlock->spinlock); in dlm_init_lock()
499 spin_lock(&res->spinlock); in dlm_create_lock_handler()
[all …]
Ddlmdebug.c37 spin_lock(&res->spinlock); in dlm_print_one_lock_resource()
39 spin_unlock(&res->spinlock); in dlm_print_one_lock_resource()
45 assert_spin_locked(&res->spinlock); in dlm_print_lockres_refmap()
61 spin_lock(&lock->spinlock); in __dlm_print_lock()
79 spin_unlock(&lock->spinlock); in __dlm_print_lock()
87 assert_spin_locked(&res->spinlock); in __dlm_print_one_lock_resource()
359 spin_lock(&dlm->spinlock); in debug_purgelist_print()
364 spin_lock(&res->spinlock); in debug_purgelist_print()
370 spin_unlock(&res->spinlock); in debug_purgelist_print()
372 spin_unlock(&dlm->spinlock); in debug_purgelist_print()
[all …]
Ddlmast.c52 assert_spin_locked(&lock->spinlock); in dlm_should_cancel_bast()
104 spin_lock(&lock->spinlock); in __dlm_queue_ast()
128 spin_unlock(&lock->spinlock); in __dlm_queue_ast()
162 spin_lock(&lock->spinlock); in __dlm_queue_bast()
165 spin_unlock(&lock->spinlock); in __dlm_queue_bast()
185 spin_lock(&res->spinlock); in dlm_update_lvb()
202 spin_unlock(&res->spinlock); in dlm_update_lvb()
345 spin_lock(&res->spinlock); in dlm_proxy_ast_handler()
387 spin_unlock(&res->spinlock); in dlm_proxy_ast_handler()
416 spin_unlock(&res->spinlock); in dlm_proxy_ast_handler()
Ddlmcommon.h48 spinlock_t spinlock; member
121 spinlock_t spinlock; member
255 assert_spin_locked(&dlm->spinlock); in __dlm_set_joining_node()
314 spinlock_t spinlock; member
348 spinlock_t spinlock; member
787 assert_spin_locked(&res->spinlock); in __dlm_lockres_state_to_status()
1123 assert_spin_locked(&res->spinlock); in dlm_set_lockres_owner()
1132 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.h572 struct spinlock *lock) in xlog_wait()