| /Linux-v5.15/include/linux/ |
| D | fscache.h | 38 struct fscache_cookie; 115 struct fscache_cookie *primary_index; 125 struct fscache_cookie { struct 134 struct fscache_cookie *parent; /* parent of this entry */ argument 168 static inline bool fscache_cookie_enabled(struct fscache_cookie *cookie) in fscache_cookie_enabled() argument 185 extern struct fscache_cookie *__fscache_acquire_cookie( 186 struct fscache_cookie *, 191 extern void __fscache_relinquish_cookie(struct fscache_cookie *, const void *, bool); 192 extern int __fscache_check_consistency(struct fscache_cookie *, const void *); 193 extern void __fscache_update_cookie(struct fscache_cookie *, const void *); [all …]
|
| D | fscache-cache.h | 134 extern void fscache_operation_init(struct fscache_cookie *, 145 struct fscache_cookie *cookie; /* The netfs cookie */ 230 struct fscache_cookie *cookie); 312 extern struct fscache_cookie fscache_fsdef_index; 381 struct fscache_cookie *cookie; /* netfs's file/index object */ 391 extern void fscache_object_init(struct fscache_object *, struct fscache_cookie *, 484 static inline void __fscache_use_cookie(struct fscache_cookie *cookie) in __fscache_use_cookie() 498 struct fscache_cookie *cookie = object->cookie; in fscache_use_cookie() 502 static inline bool __fscache_unuse_cookie(struct fscache_cookie *cookie) in __fscache_unuse_cookie() 507 static inline void __fscache_wake_unused_cookie(struct fscache_cookie *cookie) in __fscache_wake_unused_cookie() [all …]
|
| D | nfs_fs_sb.h | 125 struct fscache_cookie *fscache; /* client index cache cookie */ 198 struct fscache_cookie *fscache; /* superblock cookie */
|
| D | nfs_fs.h | 201 struct fscache_cookie *fscache; 327 static inline struct fscache_cookie *nfs_i_fscache(struct inode *inode) in nfs_i_fscache()
|
| /Linux-v5.15/fs/fscache/ |
| D | internal.h | 42 struct fscache_cookie *); 50 extern void fscache_free_cookie(struct fscache_cookie *); 51 extern struct fscache_cookie *fscache_alloc_cookie(struct fscache_cookie *, 56 extern struct fscache_cookie *fscache_hash_cookie(struct fscache_cookie *); 57 extern struct fscache_cookie *fscache_cookie_get(struct fscache_cookie *, 59 extern void fscache_cookie_put(struct fscache_cookie *, 62 static inline void fscache_cookie_see(struct fscache_cookie *cookie, in fscache_cookie_see() 72 extern struct fscache_cookie fscache_fsdef_index; 114 extern int fscache_wait_for_deferred_lookup(struct fscache_cookie *); 119 extern void fscache_invalidate_writes(struct fscache_cookie *); [all …]
|
| D | cookie.c | 25 static int fscache_acquire_non_index_cookie(struct fscache_cookie *cookie, 28 struct fscache_cookie *cookie); 29 static int fscache_attach_object(struct fscache_cookie *cookie, 32 static void fscache_print_cookie(struct fscache_cookie *cookie, char prefix) in fscache_print_cookie() 66 void fscache_free_cookie(struct fscache_cookie *cookie) in fscache_free_cookie() 87 static int fscache_set_key(struct fscache_cookie *cookie, in fscache_set_key() 109 static long fscache_compare_cookie(const struct fscache_cookie *a, in fscache_compare_cookie() 110 const struct fscache_cookie *b) in fscache_compare_cookie() 138 struct fscache_cookie *fscache_alloc_cookie( in fscache_alloc_cookie() 139 struct fscache_cookie *parent, in fscache_alloc_cookie() [all …]
|
| D | page.c | 19 bool __fscache_check_page_write(struct fscache_cookie *cookie, struct page *page) in __fscache_check_page_write() 35 void __fscache_wait_on_page_write(struct fscache_cookie *cookie, struct page *page) in __fscache_wait_on_page_write() 50 bool release_page_wait_timeout(struct fscache_cookie *cookie, struct page *page) in release_page_wait_timeout() 62 bool __fscache_maybe_release_page(struct fscache_cookie *cookie, in __fscache_maybe_release_page() 149 struct fscache_cookie *cookie; in fscache_end_page_write() 213 int __fscache_attr_changed(struct fscache_cookie *cookie) in __fscache_attr_changed() 302 struct fscache_cookie *cookie, in fscache_alloc_retrieval() 339 int fscache_wait_for_deferred_lookup(struct fscache_cookie *cookie) in fscache_wait_for_deferred_lookup() 423 int __fscache_read_or_alloc_page(struct fscache_cookie *cookie, in __fscache_read_or_alloc_page() 552 int __fscache_read_or_alloc_pages(struct fscache_cookie *cookie, in __fscache_read_or_alloc_pages() [all …]
|
| D | object.c | 298 struct fscache_cookie *cookie, in fscache_object_init() 449 struct fscache_cookie *cookie = object->cookie; in fscache_look_up_object() 507 struct fscache_cookie *cookie = object->cookie; in fscache_object_lookup_negative() 539 struct fscache_cookie *cookie = object->cookie; in fscache_obtained_object() 618 struct fscache_cookie *cookie; in fscache_lookup_failure() 696 struct fscache_cookie *cookie = object->cookie; in fscache_drop_object() 960 struct fscache_cookie *cookie = object->cookie; in _fscache_invalidate_object()
|
| D | fsdef.c | 47 struct fscache_cookie fscache_fsdef_index = {
|
| D | netfs.c | 18 struct fscache_cookie *candidate, *cookie; in __fscache_register_netfs()
|
| D | io.c | 28 struct fscache_cookie *cookie) in __fscache_begin_read_operation()
|
| D | main.c | 179 sizeof(struct fscache_cookie), in fscache_init()
|
| D | operation.c | 34 void fscache_operation_init(struct fscache_cookie *cookie, in fscache_operation_init() 63 struct fscache_cookie *cookie = op->object->cookie; in fscache_enqueue_operation()
|
| D | cache.c | 91 struct fscache_cookie *cookie) in fscache_select_cache_for_object()
|
| /Linux-v5.15/fs/ceph/ |
| D | cache.h | 34 static inline struct fscache_cookie *ceph_fscache_cookie(struct ceph_inode_info *ci) in ceph_fscache_cookie() 46 struct fscache_cookie *cookie = ceph_fscache_cookie(ceph_inode(inode)); in ceph_is_cache_enabled() 55 struct fscache_cookie *cookie = ceph_fscache_cookie(ceph_inode(rreq->inode)); in ceph_begin_cache_operation() 84 static inline struct fscache_cookie *ceph_fscache_cookie(struct ceph_inode_info *ci) in ceph_fscache_cookie()
|
| D | cache.c | 31 struct fscache_cookie *fscache; 169 struct fscache_cookie* cookie; in ceph_fscache_unregister_inode_cookie()
|
| /Linux-v5.15/include/trace/events/ |
| D | fscache.h | 162 TRACE_EVENT(fscache_cookie, 207 TP_PROTO(struct fscache_cookie *cookie), 236 TP_PROTO(struct fscache_cookie *cookie, bool retire), 267 TP_PROTO(struct fscache_cookie *cookie), 293 TP_PROTO(struct fscache_cookie *cookie), 357 TP_PROTO(struct fscache_cookie *cookie, struct page *page, 381 TP_PROTO(struct fscache_cookie *cookie, struct page *page, 405 TP_PROTO(struct fscache_cookie *cookie), 421 TP_PROTO(struct fscache_cookie *cookie, struct fscache_operation *op, 444 TP_PROTO(struct fscache_cookie *cookie, struct page *page, [all …]
|
| D | cachefiles.h | 73 struct fscache_cookie *cookie,
|
| /Linux-v5.15/Documentation/filesystems/caching/ |
| D | netfs-api.rst | 55 struct fscache_cookie *primary_index; 295 struct fscache_cookie * 296 fscache_acquire_cookie(struct fscache_cookie *parent, 402 int fscache_attr_changed(struct fscache_cookie *cookie); 445 int fscache_read_or_alloc_page(struct fscache_cookie *cookie, 507 int fscache_alloc_page(struct fscache_cookie *cookie, 527 int fscache_write_page(struct fscache_cookie *cookie, 569 int fscache_read_or_alloc_pages(struct fscache_cookie *cookie, 614 void fscache_readpages_cancel(struct fscache_cookie *cookie, 627 void fscache_uncache_page(struct fscache_cookie *cookie, [all …]
|
| /Linux-v5.15/fs/9p/ |
| D | v9fs.h | 92 struct fscache_cookie *fscache; 113 struct fscache_cookie *fscache;
|
| D | cache.c | 177 struct fscache_cookie *old; in v9fs_cache_inode_reset_cookie()
|
| /Linux-v5.15/fs/cifs/ |
| D | fscache.c | 214 struct fscache_cookie *old = cifsi->fscache; in cifs_fscache_reset_inode_cookie() 338 struct fscache_cookie *cookie = cifsi->fscache; in __cifs_fscache_invalidate_page() 348 struct fscache_cookie *cookie = cifsi->fscache; in __cifs_fscache_wait_on_page_write() 357 struct fscache_cookie *cookie = cifsi->fscache; in __cifs_fscache_uncache_page()
|
| /Linux-v5.15/fs/nfs/ |
| D | fscache.c | 270 struct fscache_cookie *cookie = nfs_i_fscache(inode); in nfs_fscache_clear_inode() 309 struct fscache_cookie *cookie = nfs_i_fscache(inode); in nfs_fscache_open_file() 339 struct fscache_cookie *cookie = nfs_i_fscache(page->mapping->host); in nfs_fscache_release_page() 361 struct fscache_cookie *cookie = nfs_i_fscache(inode); in __nfs_fscache_invalidate_page()
|
| /Linux-v5.15/fs/cachefiles/ |
| D | interface.c | 24 struct fscache_cookie *cookie) in cachefiles_alloc_object() 209 struct fscache_cookie *cookie; in cachefiles_update_object()
|
| /Linux-v5.15/fs/afs/ |
| D | internal.h | 368 struct fscache_cookie *cache; /* caching cookie */ 593 struct fscache_cookie *cache; /* caching cookie */ 633 struct fscache_cookie *cache; /* caching cookie */ 678 static inline struct fscache_cookie *afs_vnode_cache(struct afs_vnode *vnode) in afs_vnode_cache()
|