Home
last modified time | relevance | path

Searched refs:netfs_priv (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.15/fs/netfs/
Dread_helper.c41 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()
876 void *netfs_priv) in netfs_readahead() argument
888 rreq = netfs_alloc_read_request(ops, netfs_priv, ractl->file); in netfs_readahead()
929 if (netfs_priv) in netfs_readahead()
930 ops->cleanup(ractl->mapping, netfs_priv); in netfs_readahead()
955 void *netfs_priv) in netfs_readpage() argument
963 rreq = netfs_alloc_read_request(ops, netfs_priv, file); in netfs_readpage()
[all …]
/Linux-v5.15/include/linux/
Dnetfs.h139 void *netfs_priv; /* Private data for the netfs */ member
174 void (*cleanup)(struct address_space *mapping, void *netfs_priv);
/Linux-v5.15/Documentation/filesystems/
Dnetfs_library.rst75 void *netfs_priv);``
79 void *netfs_priv);
88 void *netfs_priv);
97 * ``netfs_priv``
113 If an error occurs and netfs_priv is non-NULL, ops->cleanup() will be called to
139 void *netfs_priv;
160 * ``netfs_priv``
258 void (*cleanup)(struct address_space *mapping, void *netfs_priv);
266 the file for reference and can modify the ->netfs_priv value.
347 filesystem can clean up ->netfs_priv.
/Linux-v5.15/fs/afs/
Dfile.c304 fsreq->key = key_get(subreq->rreq->netfs_priv); in afs_req_issue_op()
340 rreq->netfs_priv = key_get(afs_file_key(file)); in afs_init_rreq()
365 static void afs_priv_cleanup(struct address_space *mapping, void *netfs_priv) in afs_priv_cleanup() argument
367 key_put(netfs_priv); in afs_priv_cleanup()