Home
last modified time | relevance | path

Searched refs:fscache_cookie (Results 1 – 25 of 29) sorted by relevance

12

/kernel/linux/linux-5.10/include/linux/
Dfscache.h47 struct fscache_cookie;
123 struct fscache_cookie *primary_index;
133 struct fscache_cookie { struct
141 struct fscache_cookie *parent; /* parent of this entry */ argument
174 static inline bool fscache_cookie_enabled(struct fscache_cookie *cookie) in fscache_cookie_enabled() argument
191 extern struct fscache_cookie *__fscache_acquire_cookie(
192 struct fscache_cookie *,
197 extern void __fscache_relinquish_cookie(struct fscache_cookie *, const void *, bool);
198 extern int __fscache_check_consistency(struct fscache_cookie *, const void *);
199 extern void __fscache_update_cookie(struct fscache_cookie *, const void *);
[all …]
Dfscache-cache.h134 extern void fscache_operation_init(struct fscache_cookie *,
145 struct fscache_cookie *cookie; /* The netfs cookie */
231 struct fscache_cookie *cookie);
309 extern struct fscache_cookie fscache_fsdef_index;
378 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 …]
Dnfs_fs_sb.h124 struct fscache_cookie *fscache; /* client index cache cookie */
191 struct fscache_cookie *fscache; /* superblock cookie */
Dnfs_fs.h191 struct fscache_cookie *fscache;
313 static inline struct fscache_cookie *nfs_i_fscache(struct inode *inode) in nfs_i_fscache()
/kernel/linux/linux-5.10/include/trace/events/
Dfscache.h162 TRACE_EVENT(fscache_cookie,
163 TP_PROTO(struct fscache_cookie *cookie,
170 __field(struct fscache_cookie *, cookie )
171 __field(struct fscache_cookie *, parent )
202 __field(struct fscache_cookie *, cookie )
217 TP_PROTO(struct fscache_cookie *cookie),
222 __field(struct fscache_cookie *, cookie )
223 __field(struct fscache_cookie *, parent )
246 TP_PROTO(struct fscache_cookie *cookie, bool retire),
251 __field(struct fscache_cookie *, cookie )
[all …]
Dcachefiles.h73 struct fscache_cookie *cookie,
82 __field(struct fscache_cookie *, cookie )
/kernel/linux/linux-5.10/fs/fscache/
Dcookie.c23 static int fscache_acquire_non_index_cookie(struct fscache_cookie *cookie,
26 struct fscache_cookie *cookie);
27 static int fscache_attach_object(struct fscache_cookie *cookie,
30 static void fscache_print_cookie(struct fscache_cookie *cookie, char prefix) in fscache_print_cookie()
56 void fscache_free_cookie(struct fscache_cookie *cookie) in fscache_free_cookie()
74 static int fscache_set_key(struct fscache_cookie *cookie, in fscache_set_key()
96 static long fscache_compare_cookie(const struct fscache_cookie *a, in fscache_compare_cookie()
97 const struct fscache_cookie *b) in fscache_compare_cookie()
123 struct fscache_cookie *fscache_alloc_cookie( in fscache_alloc_cookie()
124 struct fscache_cookie *parent, in fscache_alloc_cookie()
[all …]
Dinternal.h42 struct fscache_cookie *);
49 extern void fscache_free_cookie(struct fscache_cookie *);
50 extern struct fscache_cookie *fscache_alloc_cookie(struct fscache_cookie *,
55 extern struct fscache_cookie *fscache_hash_cookie(struct fscache_cookie *);
56 extern void fscache_cookie_put(struct fscache_cookie *,
62 extern struct fscache_cookie fscache_fsdef_index;
141 extern int fscache_wait_for_deferred_lookup(struct fscache_cookie *);
146 extern void fscache_invalidate_writes(struct fscache_cookie *);
321 static inline void fscache_cookie_get(struct fscache_cookie *cookie, in fscache_cookie_get()
333 void *fscache_get_context(struct fscache_cookie *cookie, void *context) in fscache_get_context()
[all …]
Dpage.c19 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()
303 struct fscache_cookie *cookie, in fscache_alloc_retrieval()
341 int fscache_wait_for_deferred_lookup(struct fscache_cookie *cookie) in fscache_wait_for_deferred_lookup()
429 int __fscache_read_or_alloc_page(struct fscache_cookie *cookie, in __fscache_read_or_alloc_page()
558 int __fscache_read_or_alloc_pages(struct fscache_cookie *cookie, in __fscache_read_or_alloc_pages()
[all …]
Dobject.c302 struct fscache_cookie *cookie, in fscache_object_init()
454 struct fscache_cookie *cookie = object->cookie; in fscache_look_up_object()
512 struct fscache_cookie *cookie = object->cookie; in fscache_object_lookup_negative()
545 struct fscache_cookie *cookie = object->cookie; in fscache_obtained_object()
625 struct fscache_cookie *cookie; in fscache_lookup_failure()
703 struct fscache_cookie *cookie = object->cookie; in fscache_drop_object()
968 struct fscache_cookie *cookie = object->cookie; in _fscache_invalidate_object()
Dfsdef.c47 struct fscache_cookie fscache_fsdef_index = {
Dnetfs.c18 struct fscache_cookie *candidate, *cookie; in __fscache_register_netfs()
Dmain.c179 sizeof(struct fscache_cookie), in fscache_init()
Doperation.c31 void fscache_operation_init(struct fscache_cookie *cookie, in fscache_operation_init()
60 struct fscache_cookie *cookie = op->object->cookie; in fscache_enqueue_operation()
Dcache.c91 struct fscache_cookie *cookie) in fscache_select_cache_for_object()
Dobject-list.c165 struct fscache_cookie *cookie; in fscache_objlist_show()
/kernel/linux/linux-5.10/Documentation/filesystems/caching/
Dnetfs-api.rst55 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 …]
/kernel/linux/linux-5.10/fs/9p/
Dv9fs.h92 struct fscache_cookie *fscache;
113 struct fscache_cookie *fscache;
Dcache.c177 struct fscache_cookie *old; in v9fs_cache_inode_reset_cookie()
/kernel/linux/linux-5.10/fs/nfs/
Dfscache.c270 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()
/kernel/linux/linux-5.10/fs/ceph/
Dcache.c31 struct fscache_cookie *fscache;
169 struct fscache_cookie* cookie; in ceph_fscache_unregister_inode_cookie()
/kernel/linux/linux-5.10/fs/cifs/
Dfscache.c220 struct fscache_cookie *old = cifsi->fscache; in cifs_fscache_reset_inode_cookie()
342 struct fscache_cookie *cookie = cifsi->fscache; in __cifs_fscache_invalidate_page()
Dcifsglob.h752 struct fscache_cookie *fscache; /* client index cache cookie */
1170 struct fscache_cookie *fscache; /* cookie for share */
1488 struct fscache_cookie *fscache;
/kernel/linux/linux-5.10/fs/cachefiles/
Dinterface.c24 struct fscache_cookie *cookie) in cachefiles_alloc_object()
209 struct fscache_cookie *cookie; in cachefiles_update_object()
/kernel/linux/linux-5.10/fs/afs/
Dinternal.h363 struct fscache_cookie *cache; /* caching cookie */
583 struct fscache_cookie *cache; /* caching cookie */
623 struct fscache_cookie *cache; /* caching cookie */
664 static inline struct fscache_cookie *afs_vnode_cache(struct afs_vnode *vnode) in afs_vnode_cache()

12