Searched refs:tmpres (Results 1 – 1 of 1) sorted by relevance
708 struct dlm_lock_resource *tmpres=NULL, *res=NULL; in dlm_get_lock_resource() local726 tmpres = __dlm_lookup_lockres_full(dlm, lockid, namelen, hash); in dlm_get_lock_resource()727 if (tmpres) { in dlm_get_lock_resource()729 spin_lock(&tmpres->spinlock); in dlm_get_lock_resource()736 if (hlist_unhashed(&tmpres->hash_node)) { in dlm_get_lock_resource()737 spin_unlock(&tmpres->spinlock); in dlm_get_lock_resource()738 dlm_lockres_put(tmpres); in dlm_get_lock_resource()739 tmpres = NULL; in dlm_get_lock_resource()744 if (tmpres->owner == DLM_LOCK_RES_OWNER_UNKNOWN) { in dlm_get_lock_resource()745 __dlm_wait_on_lockres(tmpres); in dlm_get_lock_resource()[all …]