Searched refs:cres (Results 1 – 3 of 3) sorted by relevance
203 struct vmw_cmdbuf_res *cres; in vmw_cmdbuf_res_add() local206 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()213 kfree(cres); in vmw_cmdbuf_res_add()217 cres->state = VMW_CMDBUF_RES_ADD; in vmw_cmdbuf_res_add()218 cres->res = vmw_resource_reference(res); in vmw_cmdbuf_res_add()219 cres->man = man; in vmw_cmdbuf_res_add()220 list_add_tail(&cres->head, list); in vmw_cmdbuf_res_add()
243 struct nfs_commitres cres; in process_copy_commit() local246 cres.verf = kzalloc(sizeof(struct nfs_writeverf), GFP_NOFS); in process_copy_commit()247 if (!cres.verf) in process_copy_commit()250 status = nfs4_proc_commit(dst, pos_dst, res->write_res.count, &cres); in process_copy_commit()254 &cres.verf->verifier)) { in process_copy_commit()259 kfree(cres.verf); in process_copy_commit()
1855 struct resource cres; in stm32_fmc2_nfc_probe() local1875 ret = of_address_to_resource(nfc->cdev->of_node, 0, &cres); in stm32_fmc2_nfc_probe()1879 nfc->io_phys_addr = cres.start; in stm32_fmc2_nfc_probe()