Searched refs:dlm_lock_sync (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/md/
H A Dmd-cluster.c97 static int dlm_lock_sync(struct dlm_lock_resource *res, int mode) dlm_lock_sync() function
113 return dlm_lock_sync(res, DLM_LOCK_NL); dlm_unlock_sync()
149 ret = dlm_lock_sync(res, DLM_LOCK_NL); lockres_init()
207 dlm_lock_sync(lockres, DLM_LOCK_CR); read_resync_info()
251 ret = dlm_lock_sync(bm_lockres, DLM_LOCK_PW); recover_bitmaps()
403 dlm_lock_sync(cinfo->no_new_dev_lockres, DLM_LOCK_CR); process_metadata_update()
472 if (dlm_lock_sync(message_lockres, DLM_LOCK_CR)) { recv_daemon()
484 dlm_lock_sync(message_lockres, DLM_LOCK_EX); recv_daemon()
486 dlm_lock_sync(ack_lockres, DLM_LOCK_CR); recv_daemon()
499 error = dlm_lock_sync(cinfo->token_lockres, DLM_LOCK_EX); lock_comm()
530 error = dlm_lock_sync(cinfo->message_lockres, DLM_LOCK_EX); __sendmsg()
539 error = dlm_lock_sync(cinfo->message_lockres, DLM_LOCK_CR); __sendmsg()
547 error = dlm_lock_sync(cinfo->ack_lockres, DLM_LOCK_EX); __sendmsg()
555 error = dlm_lock_sync(cinfo->ack_lockres, DLM_LOCK_CR); __sendmsg()
597 ret = dlm_lock_sync(bm_lockres, DLM_LOCK_PW); gather_all_resync_info()
684 if (dlm_lock_sync(cinfo->ack_lockres, DLM_LOCK_CR)) join()
688 if (dlm_lock_sync(cinfo->no_new_dev_lockres, DLM_LOCK_CR)) join()
697 if (dlm_lock_sync(cinfo->bitmap_lockres, DLM_LOCK_PW)) { join()
761 dlm_lock_sync(cinfo->bitmap_lockres, DLM_LOCK_PW); resync_info_update()
855 ret = dlm_lock_sync(cinfo->no_new_dev_lockres, DLM_LOCK_EX); add_new_disk_start()
861 dlm_lock_sync(cinfo->no_new_dev_lockres, DLM_LOCK_CR); add_new_disk_start()

Completed in 47 milliseconds