Searched refs:netfs_ops (Results 1 – 10 of 10) sorted by relevance
40 rreq->netfs_ops = ctx->ops; in netfs_alloc_request()66 if (rreq->netfs_ops->init_request) { in netfs_alloc_request()67 ret = rreq->netfs_ops->init_request(rreq, file); in netfs_alloc_request()69 mempool_free(rreq, rreq->netfs_ops->request_pool ?: &netfs_request_pool); in netfs_alloc_request()119 mempool_free(rreq, rreq->netfs_ops->request_pool ?: &netfs_request_pool); in netfs_free_request_rcu()133 if (rreq->netfs_ops->free_request) in netfs_free_request()134 rreq->netfs_ops->free_request(rreq); in netfs_free_request()182 mempool_t *mempool = rreq->netfs_ops->subrequest_pool ?: &netfs_subrequest_pool; in netfs_alloc_subrequest()186 subreq = mempool_alloc(rreq->netfs_ops->subrequest_pool ?: &netfs_subrequest_pool, in netfs_alloc_subrequest()220 if (rreq->netfs_ops->free_subrequest) in netfs_free_subrequest()[all …]
26 subreq->rreq->netfs_ops->issue_read(subreq); in netfs_reissue_read()45 if (rreq->netfs_ops->retry_request) in netfs_retry_read_subrequests()46 rreq->netfs_ops->retry_request(rreq, NULL); in netfs_retry_read_subrequests()51 if (!rreq->netfs_ops->prepare_read && in netfs_retry_read_subrequests()152 if (rreq->netfs_ops->prepare_read(subreq) < 0) { in netfs_retry_read_subrequests()
79 if (rreq->netfs_ops->prepare_read) { in netfs_dispatch_unbuffered_reads()80 ret = rreq->netfs_ops->prepare_read(subreq); in netfs_dispatch_unbuffered_reads()90 rreq->netfs_ops->issue_read(subreq); in netfs_dispatch_unbuffered_reads()
19 if (wreq->netfs_ops->update_i_size) in netfs_cleanup_dio_write()20 wreq->netfs_ops->update_i_size(inode, end); in netfs_cleanup_dio_write()
34 if (rreq->netfs_ops->expand_readahead) in netfs_rreq_expand()35 rreq->netfs_ops->expand_readahead(rreq); in netfs_rreq_expand()276 if (rreq->netfs_ops->prepare_read) { in netfs_read_to_pagecache()277 ret = rreq->netfs_ops->prepare_read(subreq); in netfs_read_to_pagecache()295 rreq->netfs_ops->issue_read(subreq); in netfs_read_to_pagecache()
352 if (rreq->netfs_ops->done) in netfs_rreq_assess_dio()353 rreq->netfs_ops->done(rreq); in netfs_rreq_assess_dio()
165 wreq->netfs_ops->retry_request) in netfs_retry_write_stream()166 wreq->netfs_ops->retry_request(wreq, stream); in netfs_retry_write_stream()
578 wreq->netfs_ops->begin_writeback(wreq); in netfs_writepages()
286 const struct netfs_request_ops *netfs_ops; member
192 const struct netfs_request_ops *netfs_ops;224 * ``netfs_ops``