Searched refs:tmpres (Results 1 – 1 of 1) sorted by relevance
706 struct dlm_lock_resource *tmpres=NULL, *res=NULL; in dlm_get_lock_resource() local724 tmpres = __dlm_lookup_lockres_full(dlm, lockid, namelen, hash); in dlm_get_lock_resource()725 if (tmpres) { in dlm_get_lock_resource()727 spin_lock(&tmpres->spinlock); in dlm_get_lock_resource()734 if (hlist_unhashed(&tmpres->hash_node)) { in dlm_get_lock_resource()735 spin_unlock(&tmpres->spinlock); in dlm_get_lock_resource()736 dlm_lockres_put(tmpres); in dlm_get_lock_resource()737 tmpres = NULL; in dlm_get_lock_resource()742 if (tmpres->owner == DLM_LOCK_RES_OWNER_UNKNOWN) { in dlm_get_lock_resource()743 __dlm_wait_on_lockres(tmpres); in dlm_get_lock_resource()[all …]