Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cmdbuf_res.c203 struct vmw_cmdbuf_res *cres; in vmw_cmdbuf_res_add() local
206 cres = kzalloc(sizeof(*cres), GFP_KERNEL); in vmw_cmdbuf_res_add()
207 if (unlikely(!cres)) in vmw_cmdbuf_res_add()
210 cres->hash.key = user_key | (res_type << 24); in vmw_cmdbuf_res_add()
211 ret = drm_ht_insert_item(&man->resources, &cres->hash); in vmw_cmdbuf_res_add()
215 cres->state = VMW_CMDBUF_RES_ADD; in vmw_cmdbuf_res_add()
216 cres->res = vmw_resource_reference(res); in vmw_cmdbuf_res_add()
217 cres->man = man; in vmw_cmdbuf_res_add()
218 list_add_tail(&cres->head, list); in vmw_cmdbuf_res_add()
/Linux-v5.4/fs/nfs/
Dnfs42proc.c199 struct nfs_commitres cres; in process_copy_commit() local
202 cres.verf = kzalloc(sizeof(struct nfs_writeverf), GFP_NOFS); in process_copy_commit()
203 if (!cres.verf) in process_copy_commit()
206 status = nfs4_proc_commit(dst, pos_dst, res->write_res.count, &cres); in process_copy_commit()
210 &cres.verf->verifier)) { in process_copy_commit()
215 kfree(cres.verf); in process_copy_commit()