Home
last modified time | relevance | path

Searched refs:cres (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cmdbuf_res.c204 struct vmw_cmdbuf_res *cres; in vmw_cmdbuf_res_add() local
207 cres = kzalloc(sizeof(*cres), GFP_KERNEL); in vmw_cmdbuf_res_add()
208 if (unlikely(!cres)) in vmw_cmdbuf_res_add()
211 cres->hash.key = user_key | (res_type << 24); in vmw_cmdbuf_res_add()
212 ret = drm_ht_insert_item(&man->resources, &cres->hash); in vmw_cmdbuf_res_add()
216 cres->state = VMW_CMDBUF_RES_ADD; in vmw_cmdbuf_res_add()
217 cres->res = vmw_resource_reference(res); in vmw_cmdbuf_res_add()
218 cres->man = man; in vmw_cmdbuf_res_add()
219 list_add_tail(&cres->head, list); in vmw_cmdbuf_res_add()
/Linux-v4.19/fs/nfs/
Dnfs42proc.c198 struct nfs_commitres cres; in process_copy_commit() local
201 cres.verf = kzalloc(sizeof(struct nfs_writeverf), GFP_NOFS); in process_copy_commit()
202 if (!cres.verf) in process_copy_commit()
205 status = nfs4_proc_commit(dst, pos_dst, res->write_res.count, &cres); in process_copy_commit()
209 &cres.verf->verifier)) { in process_copy_commit()
214 kfree(cres.verf); in process_copy_commit()