| /linux/include/linux/ |
| H A D | fscache-cache.h | 63 bool (*lookup_cookie)(struct fscache_cookie *cookie); 66 void (*withdraw_cookie)(struct fscache_cookie *cookie); 73 bool (*invalidate_cookie)(struct fscache_cookie *cookie); 80 void (*prepare_to_write)(struct fscache_cookie *cookie); 97 extern void fscache_withdraw_cookie(struct fscache_cookie *cookie); 107 struct fscache_cookie *cookie, 110 extern struct fscache_cookie *fscache_get_cookie(struct fscache_cookie *cookie, 112 extern void fscache_put_cookie(struct fscache_cookie *cookie, 114 extern void fscache_end_cookie_access(struct fscache_cookie *cookie, 116 extern void fscache_cookie_lookup_negative(struct fscache_cookie *cookie); [all …]
|
| H A D | fscache.h | 37 struct fscache_cookie; 102 struct fscache_cookie { struct 178 extern struct fscache_cookie *__fscache_acquire_cookie( 184 extern void __fscache_use_cookie(struct fscache_cookie *, bool); 185 extern void __fscache_unuse_cookie(struct fscache_cookie *, const void *, const uoff_t *); 186 extern void __fscache_relinquish_cookie(struct fscache_cookie *, bool); 187 void __fscache_resize_cookie(struct fscache_cookie *cookie, uoff_t new_size, bool shrank); 188 extern void __fscache_invalidate(struct fscache_cookie *, const void *, uoff_t, unsigned int); 189 extern int __fscache_begin_read_operation(struct netfs_cache_resources *, struct fscache_cookie *); 190 extern int __fscache_begin_write_operation(struct netfs_cache_resources *, struct fscache_cookie *); [all …]
|
| H A D | netfs.h | 63 struct fscache_cookie *cache; 830 static inline struct fscache_cookie *netfs_i_cookie(struct netfs_inode *ctx) in netfs_i_cookie()
|
| /linux/fs/netfs/ |
| H A D | fscache_cookie.c | 21 static void fscache_unhash_cookie(struct fscache_cookie *cookie); 22 static void fscache_perform_invalidation(struct fscache_cookie *cookie); 35 void fscache_print_cookie(struct fscache_cookie *cookie, char prefix) in fscache_print_cookie() 56 static void fscache_free_cookie(struct fscache_cookie *cookie) in fscache_free_cookie() 82 static void __fscache_queue_cookie(struct fscache_cookie *cookie) in __fscache_queue_cookie() 88 static void fscache_queue_cookie(struct fscache_cookie *cookie, in fscache_queue_cookie() 101 static void fscache_init_access_gate(struct fscache_cookie *cookie) in fscache_init_access_gate() 121 void fscache_end_cookie_access(struct fscache_cookie *cookie, in fscache_end_cookie_access() 139 static void __fscache_begin_cookie_access(struct fscache_cookie *cookie, in __fscache_begin_cookie_access() 178 bool fscache_begin_cookie_access(struct fscache_cookie *cookie, in fscache_begin_cookie_access() [all …]
|
| H A D | fscache_io.c | 25 struct fscache_cookie *cookie = fscache_cres_cookie(cres); in fscache_wait_for_operation() 71 struct fscache_cookie *cookie, in fscache_begin_operation() 147 struct fscache_cookie *cookie) in __fscache_begin_read_operation() 155 struct fscache_cookie *cookie) in __fscache_begin_write_operation() 209 void __fscache_write_to_cache(struct fscache_cookie *cookie, in __fscache_write_to_cache() 270 void __fscache_resize_cookie(struct fscache_cookie *cookie, uoff_t new_size, bool shrank) in __fscache_resize_cookie()
|
| H A D | internal.h | 263 struct fscache_cookie *cookie = ctx->cache; in netfs_is_cache_enabled() 275 struct fscache_cookie *cookie = ctx->cache; in netfs_is_cache_maybe_enabled() 413 extern void fscache_print_cookie(struct fscache_cookie *cookie, char prefix); 414 extern bool fscache_begin_cookie_access(struct fscache_cookie *cookie, 417 static inline void fscache_see_cookie(struct fscache_cookie *cookie, in fscache_see_cookie() 505 struct fscache_cookie *cookie,
|
| H A D | Makefile | 26 fscache_cookie.o \
|
| H A D | fscache_volume.c | 55 struct fscache_cookie *cookie, in __fscache_begin_volume_access() 97 struct fscache_cookie *cookie, in fscache_begin_volume_access() 120 struct fscache_cookie *cookie, in fscache_end_volume_access()
|
| H A D | fscache_main.c | 78 sizeof(struct fscache_cookie), in fscache_init()
|
| H A D | misc.c | 141 struct fscache_cookie *cookie = netfs_i_cookie(ictx); in netfs_dirty_folio() 176 struct fscache_cookie *cookie = netfs_i_cookie(netfs_inode(inode)); in netfs_unpin_writeback() 194 struct fscache_cookie *cookie = netfs_i_cookie(netfs_inode(inode)); in netfs_clear_inode_writeback()
|
| /linux/fs/ceph/ |
| H A D | cache.h | 29 static inline struct fscache_cookie *ceph_fscache_cookie(struct ceph_inode_info *ci) in ceph_fscache_cookie() 37 struct fscache_cookie *cookie = ceph_fscache_cookie(ci); in ceph_fscache_resize() 94 static inline struct fscache_cookie *ceph_fscache_cookie(struct ceph_inode_info *ci) in ceph_fscache_cookie()
|
| H A D | addr.c | 572 struct fscache_cookie *cookie = ceph_fscache_cookie(ci); in ceph_fscache_write_to_cache()
|
| /linux/fs/cachefiles/ |
| H A D | interface.c | 23 struct cachefiles_object *cachefiles_alloc_object(struct fscache_cookie *cookie) in cachefiles_alloc_object() 105 static bool cachefiles_lookup_cookie(struct fscache_cookie *cookie) in cachefiles_lookup_cookie() 211 struct fscache_cookie *cookie = object->cookie; in cachefiles_resize_cookie() 297 static void cachefiles_withdraw_cookie(struct fscache_cookie *cookie) in cachefiles_withdraw_cookie() 326 static bool cachefiles_invalidate_cookie(struct fscache_cookie *cookie) in cachefiles_invalidate_cookie()
|
| H A D | internal.h | 47 struct fscache_cookie *cookie; /* Netfs data storage object cookie */ 293 extern void cachefiles_prepare_to_write(struct fscache_cookie *cookie);
|
| H A D | xattr.c | 262 void cachefiles_prepare_to_write(struct fscache_cookie *cookie) in cachefiles_prepare_to_write()
|
| /linux/include/trace/events/ |
| H A D | fscache.h | 261 TRACE_EVENT(fscache_cookie, 411 TP_PROTO(struct fscache_cookie *cookie), 435 TP_PROTO(struct fscache_cookie *cookie, bool retire), 463 TP_PROTO(struct fscache_cookie *cookie, uoff_t new_size), 482 TP_PROTO(struct fscache_cookie *cookie, uoff_t new_size),
|
| /linux/Documentation/filesystems/caching/ |
| H A D | backend-api.rst | 25 Data storage cookie struct fscache_cookie 109 void fscache_withdraw_cookie(struct fscache_cookie *cookie); 178 struct fscache_cookie { 232 void *fscache_get_key(struct fscache_cookie *cookie); 240 void *fscache_get_aux(struct fscache_cookie *cookie); 302 bool (*lookup_cookie)(struct fscache_cookie *cookie); 315 struct fscache_cookie *cookie); 325 void (*withdraw_cookie)(struct fscache_cookie *cookie); 356 bool (*invalidate_cookie)(struct fscache_cookie *cookie); 367 void fscache_resume_after_invalidation(struct fscache_cookie *cookie); [all …]
|
| H A D | netfs-api.rst | 148 struct fscache_cookie * 181 void fscache_relinquish_cookie(struct fscache_cookie *cookie, 195 void fscache_use_cookie(struct fscache_cookie *cookie, 197 void fscache_unuse_cookie(struct fscache_cookie *cookie, 228 void fscache_resize_cookie(struct fscache_cookie *cookie, 243 struct fscache_cookie *cookie); 295 void fscache_update_cookie(struct fscache_cookie *cookie, 314 void fscache_invalidate(struct fscache_cookie *cookie, 350 struct fscache_cookie *cookie); 352 struct fscache_cookie *cookie); [all …]
|
| /linux/fs/nfs/ |
| H A D | fscache.c | 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()
|
| H A D | fscache.h | 132 struct fscache_cookie *cookie = netfs_i_cookie(&NFS_I(inode)->netfs); in nfs_fscache_invalidate()
|
| /linux/fs/9p/ |
| H A D | v9fs.h | 160 static inline struct fscache_cookie *v9fs_inode_cookie(struct v9fs_inode *v9inode) in v9fs_inode_cookie()
|
| /linux/fs/smb/client/ |
| H A D | fscache.c | 161 struct fscache_cookie *cookie = cifs_inode_cookie(inode); in cifs_fscache_release_inode_cookie()
|
| H A D | inode.c | 3091 struct fscache_cookie *cookie = cifs_inode_cookie(inode);
|
| /linux/fs/afs/ |
| H A D | internal.h | 742 static inline struct fscache_cookie *afs_vnode_cache(struct afs_vnode *vnode) in afs_vnode_cache() 752 struct fscache_cookie *cookie) in afs_vnode_set_cache()
|
| /linux/Documentation/filesystems/ |
| H A D | netfs_library.rst | 197 struct fscache_cookie * cache; 284 struct fscache_cookie *netfs_i_cookie(struct netfs_inode *ctx);
|