Lines Matching refs:spinlock
160 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()
434 spin_unlock(&res->spinlock); in dlm_migrate_all_locks()
439 cond_resched_lock(&dlm->spinlock); in dlm_migrate_all_locks()
443 cond_resched_lock(&dlm->spinlock); in dlm_migrate_all_locks()
459 spin_unlock(&dlm->spinlock); in dlm_migrate_all_locks()
477 spin_lock(&dlm->spinlock); in dlm_no_joining_node()
479 spin_unlock(&dlm->spinlock); in dlm_no_joining_node()
497 spin_lock(&dlm->spinlock); in dlm_begin_exit_domain_handler()
499 spin_unlock(&dlm->spinlock); in dlm_begin_exit_domain_handler()
512 spin_lock(&dlm->spinlock); in dlm_mark_domain_leaving()
517 spin_unlock(&dlm->spinlock); in dlm_mark_domain_leaving()
525 spin_unlock(&dlm->spinlock); in dlm_mark_domain_leaving()
533 assert_spin_locked(&dlm->spinlock); in __dlm_print_nodes()
558 spin_lock(&dlm->spinlock); in dlm_exit_domain_handler()
567 spin_unlock(&dlm->spinlock); in dlm_exit_domain_handler()
610 spin_lock(&dlm->spinlock); in dlm_begin_exit_domain()
618 spin_unlock(&dlm->spinlock); in dlm_begin_exit_domain()
620 spin_lock(&dlm->spinlock); in dlm_begin_exit_domain()
622 spin_unlock(&dlm->spinlock); in dlm_begin_exit_domain()
634 spin_lock(&dlm->spinlock); in dlm_leave_domain()
645 spin_unlock(&dlm->spinlock); in dlm_leave_domain()
664 spin_lock(&dlm->spinlock); in dlm_leave_domain()
670 spin_unlock(&dlm->spinlock); in dlm_leave_domain()
850 spin_lock(&dlm->spinlock); in dlm_query_join_handler()
897 spin_unlock(&dlm->spinlock); in dlm_query_join_handler()
924 spin_lock(&dlm->spinlock); in dlm_assert_joined_handler()
933 spin_unlock(&dlm->spinlock); in dlm_assert_joined_handler()
949 spin_unlock(&dlm->spinlock); in dlm_assert_joined_handler()
1123 spin_lock(&dlm->spinlock); in dlm_query_region_handler()
1144 spin_unlock(&dlm->spinlock); in dlm_query_region_handler()
1292 spin_lock(&dlm->spinlock); in dlm_query_nodeinfo_handler()
1315 spin_unlock(&dlm->spinlock); in dlm_query_nodeinfo_handler()
1336 spin_lock(&dlm->spinlock); in dlm_cancel_join_handler()
1343 spin_unlock(&dlm->spinlock); in dlm_cancel_join_handler()
1544 spin_lock(&dlm->spinlock); in dlm_send_join_asserts()
1546 spin_unlock(&dlm->spinlock); in dlm_send_join_asserts()
1576 spin_lock(&dlm->spinlock); in dlm_should_restart_join()
1581 spin_unlock(&dlm->spinlock); in dlm_should_restart_join()
1609 spin_lock(&dlm->spinlock); in dlm_try_to_join_domain()
1612 spin_unlock(&dlm->spinlock); in dlm_try_to_join_domain()
1643 spin_lock(&dlm->spinlock); in dlm_try_to_join_domain()
1646 spin_unlock(&dlm->spinlock); in dlm_try_to_join_domain()
1675 spin_lock(&dlm->spinlock); in dlm_try_to_join_domain()
1681 spin_unlock(&dlm->spinlock); in dlm_try_to_join_domain()
1990 spin_lock_init(&dlm->spinlock); in dlm_alloc_ctxt()