Home
last modified time | relevance | path

Searched refs:netfs_inode (Results 1 – 14 of 14) sorted by relevance

/linux-6.6.21/fs/nfs/
Dfscache.c169 netfs_inode(inode)->cache = NULL; in nfs_fscache_init_inode()
175 netfs_inode(inode)->cache = fscache_acquire_cookie( in nfs_fscache_init_inode()
184 if (netfs_inode(inode)->cache) in nfs_fscache_init_inode()
193 fscache_relinquish_cookie(netfs_i_cookie(netfs_inode(inode)), false); in nfs_fscache_clear_inode()
194 netfs_inode(inode)->cache = NULL; in nfs_fscache_clear_inode()
219 struct fscache_cookie *cookie = netfs_i_cookie(netfs_inode(inode)); in nfs_fscache_open_file()
237 struct fscache_cookie *cookie = netfs_i_cookie(netfs_inode(inode)); in nfs_fscache_release_file()
246 if (!netfs_inode(folio_inode(folio))->cache) in nfs_netfs_read_folio()
256 if (!netfs_inode(inode)->cache) in nfs_netfs_readahead()
280 netfs_i_cookie(netfs_inode(rreq->inode))); in nfs_netfs_begin_cache_operation()
[all …]
Dfscache.h109 fscache_note_page_release(netfs_i_cookie(netfs_inode(folio->mapping->host))); in nfs_fscache_release_folio()
/linux-6.6.21/include/linux/
Dnetfs.h125 struct netfs_inode { struct
290 int netfs_write_begin(struct netfs_inode *, struct file *,
311 static inline struct netfs_inode *netfs_inode(struct inode *inode) in netfs_inode() function
313 return container_of(inode, struct netfs_inode, inode); in netfs_inode()
324 static inline void netfs_inode_init(struct netfs_inode *ctx, in netfs_inode_init()
341 static inline void netfs_resize_file(struct netfs_inode *ctx, loff_t new_i_size) in netfs_resize_file()
352 static inline struct fscache_cookie *netfs_i_cookie(struct netfs_inode *ctx) in netfs_i_cookie()
Dnfs_fs.h250 struct netfs_inode netfs; /* netfs context and VFS inode */
/linux-6.6.21/fs/netfs/
Dbuffered_read.c168 struct netfs_inode *ctx = netfs_inode(ractl->mapping->host); in netfs_readahead()
228 struct netfs_inode *ctx = netfs_inode(mapping->host); in netfs_read_folio()
341 int netfs_write_begin(struct netfs_inode *ctx, in netfs_write_begin()
Dobjects.c21 struct netfs_inode *ctx = netfs_inode(inode); in netfs_alloc_request()
Dinternal.h94 static inline bool netfs_is_cache_enabled(struct netfs_inode *ctx) in netfs_is_cache_enabled()
/linux-6.6.21/include/trace/events/
Dnetfs.h140 __field(unsigned int, netfs_inode )
149 __entry->netfs_inode = rreq->inode->i_ino;
156 __entry->netfs_inode,
Dcachefiles.h437 ino_t cache_inode, ino_t netfs_inode),
439 TP_ARGS(obj, start, len, flags, source, why, cache_inode, netfs_inode),
448 __field(unsigned int, netfs_inode )
459 __entry->netfs_inode = netfs_inode;
469 __entry->netfs_inode, __entry->cache_inode)
/linux-6.6.21/fs/9p/
Dv9fs.h137 struct netfs_inode netfs; /* Netfslib context and vfs inode */
/linux-6.6.21/Documentation/filesystems/
Dnetfs_library.rst40 struct netfs_inode {
51 struct netfs_inode netfs; /* Netfslib context and vfs inode */
82 void netfs_inode_init(struct netfs_inode *ctx,
87 struct netfs_inode *netfs_node(struct inode *inode);
92 struct fscache_cookie *netfs_i_cookie(struct netfs_inode *ctx);
140 int netfs_write_begin(struct netfs_inode *ctx,
/linux-6.6.21/fs/ceph/
Dsuper.h346 struct netfs_inode netfs; /* Netfslib context and vfs inode */
/linux-6.6.21/fs/afs/
Dinternal.h624 struct netfs_inode netfs; /* Netfslib context and vfs inode */
/linux-6.6.21/fs/smb/client/
Dcifsglob.h1530 struct netfs_inode netfs; /* Netfslib context and vfs inode */