/Linux-v4.19/include/linux/ |
D | fscache.h | 51 struct fscache_cookie; 127 struct fscache_cookie *primary_index; 137 struct fscache_cookie { struct 145 struct fscache_cookie *parent; /* parent of this entry */ argument 178 static inline bool fscache_cookie_enabled(struct fscache_cookie *cookie) in fscache_cookie_enabled() argument 195 extern struct fscache_cookie *__fscache_acquire_cookie( 196 struct fscache_cookie *, 201 extern void __fscache_relinquish_cookie(struct fscache_cookie *, const void *, bool); 202 extern int __fscache_check_consistency(struct fscache_cookie *, const void *); 203 extern void __fscache_update_cookie(struct fscache_cookie *, const void *); [all …]
|
D | fscache-cache.h | 138 extern void fscache_operation_init(struct fscache_cookie *, 149 struct fscache_cookie *cookie; /* The netfs cookie */ 236 struct fscache_cookie *cookie); 314 extern struct fscache_cookie fscache_fsdef_index; 383 struct fscache_cookie *cookie; /* netfs's file/index object */ 396 extern void fscache_object_init(struct fscache_object *, struct fscache_cookie *, 489 static inline void __fscache_use_cookie(struct fscache_cookie *cookie) in __fscache_use_cookie() 503 struct fscache_cookie *cookie = object->cookie; in fscache_use_cookie() 507 static inline bool __fscache_unuse_cookie(struct fscache_cookie *cookie) in __fscache_unuse_cookie() 512 static inline void __fscache_wake_unused_cookie(struct fscache_cookie *cookie) in __fscache_wake_unused_cookie() [all …]
|
D | nfs_fs_sb.h | 120 struct fscache_cookie *fscache; /* client index cache cookie */ 171 struct fscache_cookie *fscache; /* superblock cookie */
|
D | nfs_fs.h | 183 struct fscache_cookie *fscache; 292 static inline struct fscache_cookie *nfs_i_fscache(struct inode *inode) in nfs_i_fscache()
|
/Linux-v4.19/include/trace/events/ |
D | fscache.h | 166 TRACE_EVENT(fscache_cookie, 167 TP_PROTO(struct fscache_cookie *cookie, 174 __field(struct fscache_cookie *, cookie ) 175 __field(struct fscache_cookie *, parent ) 206 __field(struct fscache_cookie *, cookie ) 221 TP_PROTO(struct fscache_cookie *cookie), 226 __field(struct fscache_cookie *, cookie ) 227 __field(struct fscache_cookie *, parent ) 250 TP_PROTO(struct fscache_cookie *cookie, bool retire), 255 __field(struct fscache_cookie *, cookie ) [all …]
|
D | cachefiles.h | 77 struct fscache_cookie *cookie, 86 __field(struct fscache_cookie *, cookie )
|
/Linux-v4.19/fs/fscache/ |
D | cookie.c | 27 static int fscache_acquire_non_index_cookie(struct fscache_cookie *cookie, 30 struct fscache_cookie *cookie); 31 static int fscache_attach_object(struct fscache_cookie *cookie, 34 static void fscache_print_cookie(struct fscache_cookie *cookie, char prefix) in fscache_print_cookie() 60 void fscache_free_cookie(struct fscache_cookie *cookie) in fscache_free_cookie() 78 static int fscache_set_key(struct fscache_cookie *cookie, in fscache_set_key() 112 static long fscache_compare_cookie(const struct fscache_cookie *a, in fscache_compare_cookie() 113 const struct fscache_cookie *b) in fscache_compare_cookie() 139 struct fscache_cookie *fscache_alloc_cookie( in fscache_alloc_cookie() 140 struct fscache_cookie *parent, in fscache_alloc_cookie() [all …]
|
D | internal.h | 46 struct fscache_cookie *); 53 extern void fscache_free_cookie(struct fscache_cookie *); 54 extern struct fscache_cookie *fscache_alloc_cookie(struct fscache_cookie *, 59 extern struct fscache_cookie *fscache_hash_cookie(struct fscache_cookie *); 60 extern void fscache_cookie_put(struct fscache_cookie *, 66 extern struct fscache_cookie fscache_fsdef_index; 143 extern int fscache_wait_for_deferred_lookup(struct fscache_cookie *); 148 extern void fscache_invalidate_writes(struct fscache_cookie *); 323 static inline void fscache_cookie_get(struct fscache_cookie *cookie, in fscache_cookie_get() 335 void *fscache_get_context(struct fscache_cookie *cookie, void *context) in fscache_get_context() [all …]
|
D | page.c | 23 bool __fscache_check_page_write(struct fscache_cookie *cookie, struct page *page) in __fscache_check_page_write() 39 void __fscache_wait_on_page_write(struct fscache_cookie *cookie, struct page *page) in __fscache_wait_on_page_write() 54 bool release_page_wait_timeout(struct fscache_cookie *cookie, struct page *page) in release_page_wait_timeout() 66 bool __fscache_maybe_release_page(struct fscache_cookie *cookie, in __fscache_maybe_release_page() 153 struct fscache_cookie *cookie; in fscache_end_page_write() 217 int __fscache_attr_changed(struct fscache_cookie *cookie) in __fscache_attr_changed() 307 struct fscache_cookie *cookie, in fscache_alloc_retrieval() 345 int fscache_wait_for_deferred_lookup(struct fscache_cookie *cookie) in fscache_wait_for_deferred_lookup() 433 int __fscache_read_or_alloc_page(struct fscache_cookie *cookie, in __fscache_read_or_alloc_page() 562 int __fscache_read_or_alloc_pages(struct fscache_cookie *cookie, in __fscache_read_or_alloc_pages() [all …]
|
D | object.c | 306 struct fscache_cookie *cookie, in fscache_object_init() 458 struct fscache_cookie *cookie = object->cookie; in fscache_look_up_object() 516 struct fscache_cookie *cookie = object->cookie; in fscache_object_lookup_negative() 549 struct fscache_cookie *cookie = object->cookie; in fscache_obtained_object() 629 struct fscache_cookie *cookie; in fscache_lookup_failure() 707 struct fscache_cookie *cookie = object->cookie; in fscache_drop_object() 969 struct fscache_cookie *cookie = object->cookie; in _fscache_invalidate_object()
|
D | fsdef.c | 51 struct fscache_cookie fscache_fsdef_index = {
|
D | netfs.c | 22 struct fscache_cookie *candidate, *cookie; in __fscache_register_netfs()
|
D | main.c | 145 sizeof(struct fscache_cookie), in fscache_init()
|
D | operation.c | 35 void fscache_operation_init(struct fscache_cookie *cookie, in fscache_operation_init() 64 struct fscache_cookie *cookie = op->object->cookie; in fscache_enqueue_operation()
|
D | cache.c | 95 struct fscache_cookie *cookie) in fscache_select_cache_for_object()
|
D | object-list.c | 168 struct fscache_cookie *cookie; in fscache_objlist_show()
|
/Linux-v4.19/Documentation/filesystems/caching/ |
D | netfs-api.txt | 54 struct fscache_cookie *primary_index; 297 struct fscache_cookie * 298 fscache_acquire_cookie(struct fscache_cookie *parent, 407 int fscache_attr_changed(struct fscache_cookie *cookie); 451 int fscache_read_or_alloc_page(struct fscache_cookie *cookie, 513 int fscache_alloc_page(struct fscache_cookie *cookie, 533 int fscache_write_page(struct fscache_cookie *cookie, 575 int fscache_read_or_alloc_pages(struct fscache_cookie *cookie, 620 void fscache_readpages_cancel(struct fscache_cookie *cookie, 634 void fscache_uncache_page(struct fscache_cookie *cookie, [all …]
|
/Linux-v4.19/fs/9p/ |
D | v9fs.h | 107 struct fscache_cookie *fscache; 127 struct fscache_cookie *fscache;
|
D | cache.c | 190 struct fscache_cookie *old; in v9fs_cache_inode_reset_cookie()
|
/Linux-v4.19/fs/nfs/ |
D | fscache.c | 260 struct fscache_cookie *cookie = nfs_i_fscache(inode); in nfs_fscache_clear_inode() 301 struct fscache_cookie *cookie = nfs_i_fscache(inode); in nfs_fscache_open_file() 333 struct fscache_cookie *cookie = nfs_i_fscache(page->mapping->host); in nfs_fscache_release_page() 355 struct fscache_cookie *cookie = nfs_i_fscache(inode); in __nfs_fscache_invalidate_page()
|
/Linux-v4.19/fs/ceph/ |
D | cache.c | 43 struct fscache_cookie *fscache; 181 struct fscache_cookie* cookie; in ceph_fscache_unregister_inode_cookie()
|
/Linux-v4.19/fs/cifs/ |
D | fscache.c | 207 struct fscache_cookie *old = cifsi->fscache; in cifs_fscache_reset_inode_cookie() 329 struct fscache_cookie *cookie = cifsi->fscache; in __cifs_fscache_invalidate_page()
|
D | cifsglob.h | 681 struct fscache_cookie *fscache; /* client index cache cookie */ 1002 struct fscache_cookie *fscache; /* cookie for share */ 1289 struct fscache_cookie *fscache;
|
/Linux-v4.19/fs/cachefiles/ |
D | interface.c | 28 struct fscache_cookie *cookie) in cachefiles_alloc_object() 213 struct fscache_cookie *cookie; in cachefiles_update_object()
|
/Linux-v4.19/fs/afs/ |
D | internal.h | 325 struct fscache_cookie *cache; /* caching cookie */ 473 struct fscache_cookie *cache; /* caching cookie */ 513 struct fscache_cookie *cache; /* caching cookie */
|