Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_cmdbuf_res.c201 struct vmw_cmdbuf_res *cres; in vmw_cmdbuf_res_add() local
204 cres = kzalloc(sizeof(*cres), GFP_KERNEL); in vmw_cmdbuf_res_add()
205 if (unlikely(!cres)) in vmw_cmdbuf_res_add()
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()
211 kfree(cres); 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/include/linux/
A Dnetfs.h204 void (*end_operation)(struct netfs_cache_resources *cres);
207 int (*read)(struct netfs_cache_resources *cres,
215 int (*write)(struct netfs_cache_resources *cres,
222 void (*expand_readahead)(struct netfs_cache_resources *cres,
234 int (*prepare_write)(struct netfs_cache_resources *cres,
/linux/fs/cachefiles/
A Dio.c58 static int cachefiles_read(struct netfs_cache_resources *cres, in cachefiles_read() argument
66 struct file *file = cres->cache_priv2; in cachefiles_read()
182 static int cachefiles_write(struct netfs_cache_resources *cres, in cachefiles_write() argument
190 struct file *file = cres->cache_priv2; in cachefiles_write()
336 static int cachefiles_prepare_write(struct netfs_cache_resources *cres, in cachefiles_prepare_write() argument
352 static void cachefiles_end_operation(struct netfs_cache_resources *cres) in cachefiles_end_operation() argument
354 struct fscache_retrieval *op = cres->cache_priv; in cachefiles_end_operation()
355 struct file *file = cres->cache_priv2; in cachefiles_end_operation()
/linux/fs/netfs/
A Dread_helper.c175 struct netfs_cache_resources *cres = &rreq->cache_resources; in netfs_read_from_cache() local
183 cres->ops->read(cres, subreq->start, &iter, seek_data, in netfs_read_from_cache()
295 struct netfs_cache_resources *cres = &rreq->cache_resources; in netfs_rreq_do_write_to_cache() local
325 ret = cres->ops->prepare_write(cres, &subreq->start, &subreq->len, in netfs_rreq_do_write_to_cache()
340 cres->ops->write(cres, subreq->start, &iter, in netfs_rreq_do_write_to_cache()
697 struct netfs_cache_resources *cres = &rreq->cache_resources; in netfs_cache_prepare_read() local
699 if (cres->ops) in netfs_cache_prepare_read()
700 return cres->ops->prepare_read(subreq, i_size); in netfs_cache_prepare_read()
809 struct netfs_cache_resources *cres = &rreq->cache_resources; in netfs_cache_expand_readahead() local
811 if (cres->ops && cres->ops->expand_readahead) in netfs_cache_expand_readahead()
[all …]
/linux/fs/nfs/
A Dnfs42proc.c255 struct nfs_commitres cres; in process_copy_commit() local
258 cres.verf = kzalloc(sizeof(struct nfs_writeverf), GFP_NOFS); in process_copy_commit()
259 if (!cres.verf) in process_copy_commit()
262 status = nfs4_proc_commit(dst, pos_dst, res->write_res.count, &cres); in process_copy_commit()
266 &cres.verf->verifier)) { in process_copy_commit()
271 kfree(cres.verf); in process_copy_commit()
/linux/Documentation/filesystems/
A Dnetfs_library.rst441 void (*end_operation)(struct netfs_cache_resources *cres);
443 void (*expand_readahead)(struct netfs_cache_resources *cres,
449 int (*read)(struct netfs_cache_resources *cres,
456 int (*prepare_write)(struct netfs_cache_resources *cres,
459 int (*write)(struct netfs_cache_resources *cres,
/linux/drivers/mtd/nand/raw/
A Dstm32_fmc2_nand.c1857 struct resource cres; in stm32_fmc2_nfc_probe() local
1877 ret = of_address_to_resource(nfc->cdev->of_node, 0, &cres); in stm32_fmc2_nfc_probe()
1881 nfc->io_phys_addr = cres.start; in stm32_fmc2_nfc_probe()

Completed in 24 milliseconds