Lines Matching refs:hash
45 struct drm_hash_item hash; member
84 struct drm_hash_item *hash; in vmw_cmdbuf_res_lookup() local
88 ret = drm_ht_find_item(&man->resources, key, &hash); in vmw_cmdbuf_res_lookup()
92 return drm_hash_entry(hash, struct vmw_cmdbuf_res, hash)->res; in vmw_cmdbuf_res_lookup()
108 WARN_ON(drm_ht_remove_item(&man->resources, &entry->hash)); in vmw_cmdbuf_res_free()
170 ret = drm_ht_insert_item(&entry->man->resources, &entry->hash); in vmw_cmdbuf_res_revert()
208 cres->hash.key = user_key | (res_type << 24); in vmw_cmdbuf_res_add()
209 ret = drm_ht_insert_item(&man->resources, &cres->hash); in vmw_cmdbuf_res_add()
247 struct drm_hash_item *hash; in vmw_cmdbuf_res_remove() local
251 &hash); in vmw_cmdbuf_res_remove()
255 entry = drm_hash_entry(hash, struct vmw_cmdbuf_res, hash); in vmw_cmdbuf_res_remove()
263 (void) drm_ht_remove_item(&man->resources, &entry->hash); in vmw_cmdbuf_res_remove()