Home
last modified time | relevance | path

Searched refs:cache_resources (Results 1 – 12 of 12) sorted by relevance

/linux/fs/netfs/
H A Dread_single.c58 return fscache_begin_read_operation(&rreq->cache_resources, netfs_i_cookie(ctx)); in netfs_single_begin_cache_read()
64 struct netfs_cache_resources *cres = &rreq->cache_resources; in netfs_single_read_cache()
122 if (rreq->cache_resources.ops->prepare_read) { in netfs_single_dispatch_read()
123 ret = rreq->cache_resources.ops->prepare_read(subreq); in netfs_single_dispatch_read()
H A Dfscache_io.c163 struct netfs_cache_resources cache_resources; member
205 fscache_end_operation(&wreq->cache_resources); in fscache_wreq_done()
237 cres = &wreq->cache_resources; in __fscache_write_to_cache()
H A Dwrite_issue.c109 fscache_begin_write_operation(&wreq->cache_resources, netfs_i_cookie(ictx)); in netfs_create_write_req()
114 if (wreq->cache_resources.dio_size > 1) in netfs_create_write_req()
115 wreq->cache_coll_to = round_down(wreq->start, wreq->cache_resources.dio_size); in netfs_create_write_req()
128 if (fscache_resources_valid(&wreq->cache_resources)) { in netfs_create_write_req()
131 wreq->io_streams[1].prepare_write = wreq->cache_resources.ops->prepare_write_subreq; in netfs_create_write_req()
132 wreq->io_streams[1].issue_write = wreq->cache_resources.ops->issue_write; in netfs_create_write_req()
239 size_t dio_size = wreq->cache_resources.dio_size; in netfs_do_issue_write()
H A Dbuffered_read.c17 struct netfs_cache_resources *cres = &rreq->cache_resources; in netfs_cache_expand_readahead()
99 return fscache_begin_read_operation(&rreq->cache_resources, netfs_i_cookie(ctx)); in netfs_begin_cache_read()
147 struct netfs_cache_resources *cres = &rreq->cache_resources; in netfs_read_cache_to_pagecache()
156 struct netfs_cache_resources *cres = &rreq->cache_resources; in netfs_read_query_cache()
339 prepare_read = rreq->cache_resources.ops->prepare_read; in netfs_read_to_pagecache()
348 if (rreq->cache_resources.ops) in netfs_read_to_pagecache()
363 if (rreq->cache_resources.ops) in netfs_read_to_pagecache()
H A Dobjects.c149 if (rreq->cache_resources.ops) in netfs_deinit_request()
150 rreq->cache_resources.ops->end_operation(&rreq->cache_resources); in netfs_deinit_request()
H A Dread_pgpriv2.c103 if (!fscache_resources_valid(&rreq->cache_resources)) in netfs_pgpriv2_begin_copy_to_cache()
H A Dread_retry.c44 !rreq->cache_resources.ops) { in netfs_retry_read_subrequests()
H A Dwrite_collect.c198 struct netfs_cache_resources *cres = &wreq->cache_resources; in netfs_cache_collect()
H A Dread_collect.c457 fscache_resources_valid(&rreq->cache_resources)) { in netfs_rreq_assess_single()
/linux/include/trace/events/
H A Dnetfs.h328 __entry->cookie = rreq->cache_resources.cookie_id;
329 __entry->object = rreq->cache_resources.object_id;
573 __entry->cookie = wreq->cache_resources.cookie_id;
574 __entry->object = wreq->cache_resources.object_id;
606 __entry->cookie = rreq->cache_resources.cookie_id;
607 __entry->object = rreq->cache_resources.object_id;
/linux/fs/cachefiles/
H A Dio.c521 struct netfs_cache_resources *cres = &wreq->cache_resources; in cachefiles_prepare_write_subreq()
546 struct netfs_cache_resources *cres = &wreq->cache_resources; in cachefiles_issue_write()
607 cachefiles_write(&subreq->rreq->cache_resources, in cachefiles_issue_write()
642 struct netfs_cache_resources *cres = &wreq->cache_resources; in cachefiles_collect_write()
/linux/include/linux/
H A Dnetfs.h242 struct netfs_cache_resources cache_resources; member