Lines Matching refs:dlm_lock_sync

124 static int dlm_lock_sync(struct dlm_lock_resource *res, int mode)  in dlm_lock_sync()  function
142 return dlm_lock_sync(res, DLM_LOCK_NL); in dlm_unlock_sync()
219 ret = dlm_lock_sync(res, DLM_LOCK_NL); in lockres_init()
275 dlm_lock_sync(lockres, DLM_LOCK_CR); in read_resync_info()
533 dlm_lock_sync(cinfo->no_new_dev_lockres, DLM_LOCK_CR); in process_metadata_update()
634 if (dlm_lock_sync(message_lockres, DLM_LOCK_CR)) { in recv_daemon()
651 ret = dlm_lock_sync(message_lockres, DLM_LOCK_PR); in recv_daemon()
655 ret = dlm_lock_sync(ack_lockres, DLM_LOCK_CR); in recv_daemon()
674 error = dlm_lock_sync(cinfo->token_lockres, DLM_LOCK_EX); in lock_token()
744 error = dlm_lock_sync(cinfo->message_lockres, DLM_LOCK_EX); in __sendmsg()
753 error = dlm_lock_sync(cinfo->message_lockres, DLM_LOCK_CW); in __sendmsg()
761 error = dlm_lock_sync(cinfo->ack_lockres, DLM_LOCK_EX); in __sendmsg()
769 error = dlm_lock_sync(cinfo->ack_lockres, DLM_LOCK_CR); in __sendmsg()
822 ret = dlm_lock_sync(bm_lockres, DLM_LOCK_PW); in gather_all_resync_info()
912 ret = dlm_lock_sync(cinfo->token_lockres, DLM_LOCK_EX); in join()
924 if (dlm_lock_sync(cinfo->ack_lockres, DLM_LOCK_CR)) in join()
929 if (dlm_lock_sync(cinfo->no_new_dev_lockres, DLM_LOCK_CR)) in join()
940 if (dlm_lock_sync(cinfo->bitmap_lockres, DLM_LOCK_PW)) { in join()
1167 rv = dlm_lock_sync(bm_lockres, DLM_LOCK_PW); in resize_bitmaps()
1228 rv = dlm_lock_sync(bm_lockres, DLM_LOCK_PW); in cluster_check_sync_size()
1354 dlm_lock_sync(cinfo->bitmap_lockres, DLM_LOCK_PW); in resync_info_update()
1427 ret = dlm_lock_sync(cinfo->no_new_dev_lockres, DLM_LOCK_EX); in add_new_disk()
1435 dlm_lock_sync(cinfo->no_new_dev_lockres, DLM_LOCK_CR); in add_new_disk()
1511 ret = dlm_lock_sync(cinfo->other_bitmap_lockres[i], DLM_LOCK_PW); in lock_all_bitmaps()