Lines Matching refs:cres
208 struct vmw_cmdbuf_res *cres;
211 cres = kzalloc(sizeof(*cres), GFP_KERNEL);
212 if (unlikely(!cres))
215 cres->hash.key = user_key | (res_type << 24);
216 ret = drm_ht_insert_item(&man->resources, &cres->hash);
218 kfree(cres);
222 cres->state = VMW_CMDBUF_RES_ADD;
223 cres->res = vmw_resource_reference(res);
224 cres->man = man;
225 list_add_tail(&cres->head, list);