Lines Matching refs:evict_res
685 struct vmw_resource *evict_res; in vmw_resource_validate() local
712 evict_res = vmw_resource_reference in vmw_resource_validate()
715 list_del_init(&evict_res->lru_head); in vmw_resource_validate()
720 ret = vmw_resource_do_evict(NULL, evict_res, intr); in vmw_resource_validate()
723 list_add_tail(&evict_res->lru_head, lru_list); in vmw_resource_validate()
727 vmw_resource_unreference(&evict_res); in vmw_resource_validate()
732 vmw_resource_unreference(&evict_res); in vmw_resource_validate()
898 struct vmw_resource *evict_res; in vmw_resource_evict_type() local
909 evict_res = vmw_resource_reference( in vmw_resource_evict_type()
912 list_del_init(&evict_res->lru_head); in vmw_resource_evict_type()
916 ret = vmw_resource_do_evict(&ticket, evict_res, false); in vmw_resource_evict_type()
919 list_add_tail(&evict_res->lru_head, lru_list); in vmw_resource_evict_type()
922 vmw_resource_unreference(&evict_res); in vmw_resource_evict_type()
927 vmw_resource_unreference(&evict_res); in vmw_resource_evict_type()