Home
last modified time | relevance | path

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

/fs/ocfs2/dlm/
Ddlmthread.c65 assert_spin_locked(&res->spinlock); in __dlm_wait_on_lockres_flags()
71 spin_unlock(&res->spinlock); in __dlm_wait_on_lockres_flags()
73 spin_lock(&res->spinlock); in __dlm_wait_on_lockres_flags()
97 assert_spin_locked(&res->spinlock); in __dlm_lockres_unused()
127 assert_spin_locked(&dlm->spinlock); in __dlm_lockres_calc_usage()
128 assert_spin_locked(&res->spinlock); in __dlm_lockres_calc_usage()
153 spin_lock(&dlm->spinlock); in dlm_lockres_calc_usage()
154 spin_lock(&res->spinlock); in dlm_lockres_calc_usage()
158 spin_unlock(&res->spinlock); in dlm_lockres_calc_usage()
159 spin_unlock(&dlm->spinlock); in dlm_lockres_calc_usage()
[all …]
Ddlmmaster.c181 assert_spin_locked(&dlm->spinlock); in __dlm_mle_attach_hb_events()
198 spin_lock(&dlm->spinlock); in dlm_mle_detach_hb_events()
200 spin_unlock(&dlm->spinlock); in dlm_mle_detach_hb_events()
208 assert_spin_locked(&dlm->spinlock); in dlm_get_mle_inuse()
219 spin_lock(&dlm->spinlock); in dlm_put_mle_inuse()
224 spin_unlock(&dlm->spinlock); in dlm_put_mle_inuse()
234 assert_spin_locked(&dlm->spinlock); in __dlm_put_mle()
253 spin_lock(&dlm->spinlock); in dlm_put_mle()
257 spin_unlock(&dlm->spinlock); in dlm_put_mle()
272 assert_spin_locked(&dlm->spinlock); in dlm_init_mle()
[all …]
Ddlmrecovery.c123 assert_spin_locked(&dlm->spinlock); in dlm_set_reco_dead_node()
133 assert_spin_locked(&dlm->spinlock); in dlm_set_reco_master()
141 assert_spin_locked(&dlm->spinlock); in __dlm_reset_recovery()
149 spin_lock(&dlm->spinlock); in dlm_reset_recovery()
151 spin_unlock(&dlm->spinlock); in dlm_reset_recovery()
336 spin_lock(&dlm->spinlock); in dlm_reco_master_ready()
338 spin_unlock(&dlm->spinlock); in dlm_reco_master_ready()
347 spin_lock(&dlm->spinlock); in dlm_is_node_dead()
349 spin_unlock(&dlm->spinlock); in dlm_is_node_dead()
358 spin_lock(&dlm->spinlock); in dlm_is_node_recovered()
[all …]
Ddlmdomain.c176 assert_spin_locked(&dlm->spinlock); in __dlm_insert_lockres()
200 assert_spin_locked(&dlm->spinlock); in __dlm_lookup_lockres_full()
234 assert_spin_locked(&dlm->spinlock); in __dlm_lookup_lockres()
238 spin_lock(&res->spinlock); in __dlm_lookup_lockres()
240 spin_unlock(&res->spinlock); in __dlm_lookup_lockres()
244 spin_unlock(&res->spinlock); in __dlm_lookup_lockres()
257 spin_lock(&dlm->spinlock); in dlm_lookup_lockres()
259 spin_unlock(&dlm->spinlock); in dlm_lookup_lockres()
441 spin_lock(&dlm->spinlock); in dlm_migrate_all_locks()
456 spin_lock(&res->spinlock); in dlm_migrate_all_locks()
[all …]
Ddlmunlock.c130 spin_lock(&res->spinlock); in dlmunlock_common()
134 spin_unlock(&res->spinlock); in dlmunlock_common()
141 spin_lock(&lock->spinlock); in dlmunlock_common()
180 spin_unlock(&lock->spinlock); in dlmunlock_common()
181 spin_unlock(&res->spinlock); in dlmunlock_common()
184 spin_lock(&res->spinlock); in dlmunlock_common()
185 spin_lock(&lock->spinlock); in dlmunlock_common()
240 spin_unlock(&lock->spinlock); in dlmunlock_common()
241 spin_unlock(&res->spinlock); in dlmunlock_common()
438 spin_lock(&res->spinlock); in dlm_unlock_lock_handler()
[all …]
Ddlmconvert.c83 spin_lock(&res->spinlock); in dlmconvert_master()
93 spin_unlock(&res->spinlock); in dlmconvert_master()
129 assert_spin_locked(&res->spinlock); in __dlmconvert_master()
134 spin_lock(&lock->spinlock); in __dlmconvert_master()
238 spin_unlock(&lock->spinlock); in __dlmconvert_master()
272 spin_lock(&res->spinlock); in dlmconvert_remote()
313 spin_unlock(&res->spinlock); in dlmconvert_remote()
319 spin_lock(&res->spinlock); in dlmconvert_remote()
329 spin_unlock(&res->spinlock); in dlmconvert_remote()
467 spin_lock(&res->spinlock); in dlm_convert_lock_handler()
[all …]
Ddlmlock.c133 spin_lock(&res->spinlock); in dlmlock_master()
140 spin_unlock(&res->spinlock); in dlmlock_master()
187 spin_unlock(&res->spinlock); in dlmlock_master()
234 spin_lock(&res->spinlock); in dlmlock_remote()
237 spin_unlock(&res->spinlock); in dlmlock_remote()
246 spin_unlock(&res->spinlock); in dlmlock_remote()
252 spin_lock(&res->spinlock); in dlmlock_remote()
288 spin_unlock(&res->spinlock); in dlmlock_remote()
404 spin_lock_init(&newlock->spinlock); in dlm_init_lock()
519 spin_lock(&res->spinlock); in dlm_create_lock_handler()
[all …]
Ddlmast.c67 assert_spin_locked(&lock->spinlock); in dlm_should_cancel_bast()
119 spin_lock(&lock->spinlock); in __dlm_queue_ast()
143 spin_unlock(&lock->spinlock); in __dlm_queue_ast()
177 spin_lock(&lock->spinlock); in __dlm_queue_bast()
180 spin_unlock(&lock->spinlock); in __dlm_queue_bast()
200 spin_lock(&res->spinlock); in dlm_update_lvb()
217 spin_unlock(&res->spinlock); in dlm_update_lvb()
362 spin_lock(&res->spinlock); in dlm_proxy_ast_handler()
402 spin_unlock(&res->spinlock); in dlm_proxy_ast_handler()
431 spin_unlock(&res->spinlock); in dlm_proxy_ast_handler()
Ddlmdebug.c52 spin_lock(&res->spinlock); in dlm_print_one_lock_resource()
54 spin_unlock(&res->spinlock); in dlm_print_one_lock_resource()
60 assert_spin_locked(&res->spinlock); in dlm_print_lockres_refmap()
76 spin_lock(&lock->spinlock); in __dlm_print_lock()
94 spin_unlock(&lock->spinlock); in __dlm_print_lock()
103 assert_spin_locked(&res->spinlock); in __dlm_print_one_lock_resource()
398 spin_lock(&dlm->spinlock); in debug_purgelist_print()
403 spin_lock(&res->spinlock); in debug_purgelist_print()
409 spin_unlock(&res->spinlock); in debug_purgelist_print()
411 spin_unlock(&dlm->spinlock); in debug_purgelist_print()
[all …]
Ddlmcommon.h63 spinlock_t spinlock; member
137 spinlock_t spinlock; member
271 assert_spin_locked(&dlm->spinlock); in __dlm_set_joining_node()
329 spinlock_t spinlock; member
362 spinlock_t spinlock; member
801 assert_spin_locked(&res->spinlock); in __dlm_lockres_state_to_status()
1134 assert_spin_locked(&res->spinlock); in dlm_set_lockres_owner()
1143 assert_spin_locked(&res->spinlock); in dlm_change_lockres_owner()
/fs/jffs2/
DREADME.Locking74 erase_completion_lock spinlock
102 inocache_lock spinlock
105 This spinlock protects the hashed list (c->inocache_list) of the
110 This spinlock also covers allocation of new inode numbers, which is
116 the inocache_lock spinlock.
/fs/cifs/
DCHANGES174 that mount. Fix hang on spinlock in find_writable_file (race when
691 Fix spinlock usage for SMP.
780 cifs_partialpagewrite caused by missing spinlock protection