Lines Matching refs:netfs_priv
41 const struct netfs_read_request_ops *ops, void *netfs_priv, in netfs_alloc_read_request() argument
50 rreq->netfs_priv = netfs_priv; in netfs_alloc_read_request()
88 if (rreq->netfs_priv) in netfs_free_read_request()
89 rreq->netfs_ops->cleanup(rreq->mapping, rreq->netfs_priv); in netfs_free_read_request()
869 void *netfs_priv) in netfs_readahead() argument
880 rreq = netfs_alloc_read_request(ops, netfs_priv, ractl->file); in netfs_readahead()
921 if (netfs_priv) in netfs_readahead()
922 ops->cleanup(ractl->mapping, netfs_priv); in netfs_readahead()
947 void *netfs_priv) in netfs_readpage() argument
955 rreq = netfs_alloc_read_request(ops, netfs_priv, file); in netfs_readpage()
957 if (netfs_priv) in netfs_readpage()
958 ops->cleanup(folio_file_mapping(folio), netfs_priv); in netfs_readpage()
1079 void *netfs_priv) in netfs_write_begin() argument
1124 rreq = netfs_alloc_read_request(ops, netfs_priv, file); in netfs_write_begin()
1132 netfs_priv = NULL; in netfs_write_begin()
1188 if (netfs_priv) in netfs_write_begin()
1189 ops->cleanup(mapping, netfs_priv); in netfs_write_begin()
1199 if (netfs_priv) in netfs_write_begin()
1200 ops->cleanup(mapping, netfs_priv); in netfs_write_begin()