• Home
  • Raw
  • Download

Lines Matching refs:spinlock

181 	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()
279 spin_lock_init(&mle->spinlock); in dlm_init_mle()
321 assert_spin_locked(&dlm->spinlock); in __dlm_unlink_mle()
368 assert_spin_locked(&dlm->spinlock); in dlm_hb_event_notify_attached()
382 spin_lock(&mle->spinlock); in dlm_mle_node_down()
389 spin_unlock(&mle->spinlock); in dlm_mle_node_down()
396 spin_lock(&mle->spinlock); in dlm_mle_node_up()
403 spin_unlock(&mle->spinlock); in dlm_mle_node_up()
432 assert_spin_locked(&dlm->spinlock); in dlm_mle_release()
571 spin_lock_init(&res->spinlock); in dlm_init_lockres()
592 spin_lock(&res->spinlock); in dlm_init_lockres()
594 spin_unlock(&res->spinlock); in dlm_init_lockres()
600 spin_lock(&dlm->spinlock); in dlm_init_lockres()
602 spin_unlock(&dlm->spinlock); in dlm_init_lockres()
637 assert_spin_locked(&res->spinlock); in dlm_lockres_set_refmap_bit()
648 assert_spin_locked(&res->spinlock); in dlm_lockres_clear_refmap_bit()
660 assert_spin_locked(&res->spinlock); in dlm_lockres_grab_inflight_ref()
672 assert_spin_locked(&res->spinlock); in dlm_lockres_drop_inflight_ref()
723 spin_lock(&dlm->spinlock); in dlm_get_lock_resource()
726 spin_unlock(&dlm->spinlock); in dlm_get_lock_resource()
727 spin_lock(&tmpres->spinlock); in dlm_get_lock_resource()
732 spin_unlock(&tmpres->spinlock); in dlm_get_lock_resource()
743 spin_unlock(&tmpres->spinlock); in dlm_get_lock_resource()
752 spin_unlock(&tmpres->spinlock); in dlm_get_lock_resource()
760 spin_unlock(&dlm->spinlock); in dlm_get_lock_resource()
777 spin_lock(&res->spinlock); in dlm_get_lock_resource()
781 spin_unlock(&res->spinlock); in dlm_get_lock_resource()
782 spin_unlock(&dlm->spinlock); in dlm_get_lock_resource()
815 spin_unlock(&dlm->spinlock); in dlm_get_lock_resource()
859 spin_lock(&res->spinlock); in dlm_get_lock_resource()
861 spin_unlock(&res->spinlock); in dlm_get_lock_resource()
869 spin_unlock(&dlm->spinlock); in dlm_get_lock_resource()
893 spin_lock(&dlm->spinlock); in dlm_get_lock_resource()
902 spin_unlock(&dlm->spinlock); in dlm_get_lock_resource()
964 spin_lock(&res->spinlock); in dlm_get_lock_resource()
966 spin_unlock(&res->spinlock); in dlm_get_lock_resource()
995 spin_lock(&res->spinlock); in dlm_wait_for_lock_mastery()
999 spin_unlock(&res->spinlock); in dlm_wait_for_lock_mastery()
1014 spin_unlock(&res->spinlock); in dlm_wait_for_lock_mastery()
1016 spin_lock(&mle->spinlock); in dlm_wait_for_lock_mastery()
1036 spin_unlock(&mle->spinlock); in dlm_wait_for_lock_mastery()
1077 spin_unlock(&mle->spinlock); in dlm_wait_for_lock_mastery()
1123 spin_lock(&res->spinlock); in dlm_wait_for_lock_mastery()
1127 spin_unlock(&res->spinlock); in dlm_wait_for_lock_mastery()
1205 assert_spin_locked(&mle->spinlock); in dlm_restart_lock_mastery()
1338 spin_lock(&mle->spinlock); in dlm_do_master_request()
1366 spin_unlock(&mle->spinlock); in dlm_do_master_request()
1418 spin_lock(&dlm->spinlock); in dlm_master_request_handler()
1421 spin_unlock(&dlm->spinlock); in dlm_master_request_handler()
1424 spin_lock(&res->spinlock); in dlm_master_request_handler()
1427 spin_unlock(&res->spinlock); in dlm_master_request_handler()
1438 spin_unlock(&res->spinlock); in dlm_master_request_handler()
1452 spin_unlock(&res->spinlock); in dlm_master_request_handler()
1477 spin_lock(&tmpmle->spinlock); in dlm_master_request_handler()
1513 spin_unlock(&tmpmle->spinlock); in dlm_master_request_handler()
1516 spin_unlock(&res->spinlock); in dlm_master_request_handler()
1538 spin_unlock(&dlm->spinlock); in dlm_master_request_handler()
1558 spin_lock(&tmpmle->spinlock); in dlm_master_request_handler()
1574 spin_unlock(&tmpmle->spinlock); in dlm_master_request_handler()
1577 spin_unlock(&dlm->spinlock); in dlm_master_request_handler()
1639 spin_lock(&res->spinlock); in dlm_do_assert_master()
1641 spin_unlock(&res->spinlock); in dlm_do_assert_master()
1679 spin_lock(&dlm->spinlock); in dlm_do_assert_master()
1687 spin_unlock(&dlm->spinlock); in dlm_do_assert_master()
1708 spin_lock(&res->spinlock); in dlm_do_assert_master()
1710 spin_unlock(&res->spinlock); in dlm_do_assert_master()
1717 spin_lock(&res->spinlock); in dlm_do_assert_master()
1719 spin_unlock(&res->spinlock); in dlm_do_assert_master()
1760 spin_lock(&dlm->spinlock); in dlm_assert_master_handler()
1809 spin_unlock(&dlm->spinlock); in dlm_assert_master_handler()
1820 spin_lock(&res->spinlock); in dlm_assert_master_handler()
1872 spin_unlock(&res->spinlock); in dlm_assert_master_handler()
1882 spin_lock(&mle->spinlock); in dlm_assert_master_handler()
1898 spin_unlock(&mle->spinlock); in dlm_assert_master_handler()
1902 spin_lock(&res->spinlock); in dlm_assert_master_handler()
1915 spin_unlock(&res->spinlock); in dlm_assert_master_handler()
1963 spin_unlock(&dlm->spinlock); in dlm_assert_master_handler()
1968 spin_lock(&res->spinlock); in dlm_assert_master_handler()
1970 spin_unlock(&res->spinlock); in dlm_assert_master_handler()
1997 spin_unlock(&res->spinlock); in dlm_assert_master_handler()
1998 spin_unlock(&dlm->spinlock); in dlm_assert_master_handler()
2009 spin_lock(&res->spinlock); in dlm_assert_master_post_handler()
2011 spin_unlock(&res->spinlock); in dlm_assert_master_post_handler()
2066 spin_lock(&dlm->spinlock); in dlm_assert_master_worker()
2068 spin_unlock(&dlm->spinlock); in dlm_assert_master_worker()
2092 spin_lock(&res->spinlock); in dlm_assert_master_worker()
2097 spin_unlock(&res->spinlock); in dlm_assert_master_worker()
2101 spin_unlock(&res->spinlock); in dlm_assert_master_worker()
2141 spin_lock(&dlm->spinlock); in dlm_pre_master_reco_lockres()
2143 spin_unlock(&dlm->spinlock); in dlm_pre_master_reco_lockres()
2161 spin_lock(&dlm->spinlock); in dlm_pre_master_reco_lockres()
2170 spin_unlock(&dlm->spinlock); in dlm_pre_master_reco_lockres()
2247 spin_lock(&dlm->spinlock); in dlm_deref_lockres_handler()
2250 spin_unlock(&dlm->spinlock); in dlm_deref_lockres_handler()
2255 spin_unlock(&dlm->spinlock); in dlm_deref_lockres_handler()
2257 spin_lock(&res->spinlock); in dlm_deref_lockres_handler()
2267 spin_unlock(&res->spinlock); in dlm_deref_lockres_handler()
2319 spin_lock(&res->spinlock); in dlm_deref_lockres_worker()
2326 spin_unlock(&res->spinlock); in dlm_deref_lockres_worker()
2358 assert_spin_locked(&res->spinlock); in dlm_is_lockres_migrateable()
2440 spin_lock(&dlm->spinlock); in dlm_migrate_lockres()
2445 spin_unlock(&dlm->spinlock); in dlm_migrate_lockres()
2461 spin_lock(&res->spinlock); in dlm_migrate_lockres()
2464 spin_unlock(&res->spinlock); in dlm_migrate_lockres()
2501 spin_lock(&dlm->spinlock); in dlm_migrate_lockres()
2505 spin_unlock(&dlm->spinlock); in dlm_migrate_lockres()
2521 spin_lock(&res->spinlock); in dlm_migrate_lockres()
2524 spin_unlock(&res->spinlock); in dlm_migrate_lockres()
2567 spin_lock(&res->spinlock); in dlm_migrate_lockres()
2570 spin_unlock(&res->spinlock); in dlm_migrate_lockres()
2579 spin_lock(&res->spinlock); in dlm_migrate_lockres()
2583 spin_unlock(&res->spinlock); in dlm_migrate_lockres()
2631 assert_spin_locked(&dlm->spinlock); in dlm_empty_lockres()
2633 spin_lock(&res->spinlock); in dlm_empty_lockres()
2636 spin_unlock(&res->spinlock); in dlm_empty_lockres()
2642 spin_unlock(&dlm->spinlock); in dlm_empty_lockres()
2649 spin_lock(&dlm->spinlock); in dlm_empty_lockres()
2658 spin_lock(&lock->spinlock); in dlm_lock_basts_flushed()
2660 spin_unlock(&lock->spinlock); in dlm_lock_basts_flushed()
2670 spin_lock(&res->spinlock); in dlm_migration_can_proceed()
2672 spin_unlock(&res->spinlock); in dlm_migration_can_proceed()
2676 spin_lock(&dlm->spinlock); in dlm_migration_can_proceed()
2679 spin_unlock(&dlm->spinlock); in dlm_migration_can_proceed()
2687 spin_lock(&res->spinlock); in dlm_lockres_is_dirty()
2689 spin_unlock(&res->spinlock); in dlm_lockres_is_dirty()
2705 spin_lock(&res->spinlock); in dlm_mark_lockres_migrating()
2711 spin_unlock(&res->spinlock); in dlm_mark_lockres_migrating()
2717 spin_lock(&res->spinlock); in dlm_mark_lockres_migrating()
2720 spin_unlock(&res->spinlock); in dlm_mark_lockres_migrating()
2750 spin_lock(&dlm->spinlock); in dlm_mark_lockres_migrating()
2756 spin_unlock(&dlm->spinlock); in dlm_mark_lockres_migrating()
2763 spin_lock(&res->spinlock); in dlm_mark_lockres_migrating()
2768 spin_unlock(&res->spinlock); in dlm_mark_lockres_migrating()
2791 assert_spin_locked(&res->spinlock); in dlm_remove_nonlocal_locks()
2847 assert_spin_locked(&dlm->spinlock); in dlm_pick_migration_target()
2848 assert_spin_locked(&res->spinlock); in dlm_pick_migration_target()
2908 spin_lock(&dlm->spinlock); in dlm_do_migrate_request()
2910 spin_unlock(&dlm->spinlock); in dlm_do_migrate_request()
2940 spin_lock(&res->spinlock); in dlm_do_migrate_request()
2942 spin_unlock(&res->spinlock); in dlm_do_migrate_request()
2988 spin_lock(&dlm->spinlock); in dlm_migrate_request_handler()
2991 spin_lock(&res->spinlock); in dlm_migrate_request_handler()
2996 spin_unlock(&res->spinlock); in dlm_migrate_request_handler()
3004 spin_unlock(&res->spinlock); in dlm_migrate_request_handler()
3016 spin_unlock(&dlm->spinlock); in dlm_migrate_request_handler()
3050 assert_spin_locked(&dlm->spinlock); in dlm_add_migration_mle()
3057 spin_lock(&tmp->spinlock); in dlm_add_migration_mle()
3090 spin_unlock(&tmp->spinlock); in dlm_add_migration_mle()
3121 spin_lock(&res->spinlock); in dlm_reset_mleres_owner()
3124 spin_unlock(&res->spinlock); in dlm_reset_mleres_owner()
3144 spin_lock(&mle->spinlock); in dlm_clean_migration_mle()
3147 spin_unlock(&mle->spinlock); in dlm_clean_migration_mle()
3159 spin_lock(&mle->spinlock); in dlm_clean_block_mle()
3164 spin_unlock(&mle->spinlock); in dlm_clean_block_mle()
3172 spin_unlock(&mle->spinlock); in dlm_clean_block_mle()
3191 assert_spin_locked(&dlm->spinlock); in dlm_clean_master_list()
3265 spin_lock(&dlm->spinlock); in dlm_finish_migration()
3269 spin_unlock(&dlm->spinlock); in dlm_finish_migration()
3274 spin_lock(&res->spinlock); in dlm_finish_migration()
3276 spin_unlock(&res->spinlock); in dlm_finish_migration()
3313 spin_lock(&res->spinlock); in dlm_finish_migration()
3316 spin_unlock(&res->spinlock); in dlm_finish_migration()
3335 assert_spin_locked(&res->spinlock); in __dlm_lockres_reserve_ast()
3360 if (!atomic_dec_and_lock(&res->asts_reserved, &res->spinlock)) in dlm_lockres_release_ast()
3364 spin_unlock(&res->spinlock); in dlm_lockres_release_ast()
3371 spin_unlock(&res->spinlock); in dlm_lockres_release_ast()
3389 spin_lock(&dlm->spinlock); in dlm_force_free_mles()
3413 spin_unlock(&dlm->spinlock); in dlm_force_free_mles()