| /linux/include/linux/ |
| 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, 118 extern void fscache_caching_failed(struct fscache_cookie *cookie); [all …]
|
| A D | fscache.h | 37 struct fscache_cookie; 102 struct fscache_cookie { struct 161 extern struct fscache_cookie *__fscache_acquire_cookie( argument 167 extern void __fscache_use_cookie(struct fscache_cookie *, bool); 175 void __fscache_write_to_cache(struct fscache_cookie *cookie, 317 static inline void *fscache_get_aux(struct fscache_cookie *cookie) in fscache_get_aux() 329 void fscache_update_aux(struct fscache_cookie *cookie, in fscache_update_aux() 415 void fscache_invalidate(struct fscache_cookie *cookie, in fscache_invalidate() 454 struct fscache_cookie *cookie) in fscache_begin_read_operation() 539 struct fscache_cookie *cookie) in fscache_begin_write_operation() [all …]
|
| A D | netfs.h | 62 struct fscache_cookie *cache; 521 static inline struct fscache_cookie *netfs_i_cookie(struct netfs_inode *ctx) in netfs_i_cookie()
|
| /linux/fs/netfs/ |
| A D | fscache_cookie.c | 301 const struct fscache_cookie *b) in fscache_cookie_same() 332 struct fscache_cookie *cookie; in fscache_alloc_cookie() 383 struct fscache_cookie *wait_for) in fscache_wait_on_collision() 403 struct fscache_cookie *cursor, *wait_for = NULL; in fscache_hash_cookie() 450 struct fscache_cookie *__fscache_acquire_cookie( in __fscache_acquire_cookie() 457 struct fscache_cookie *cookie; in __fscache_acquire_cookie() 832 struct fscache_cookie *cookie = container_of(work, struct fscache_cookie, work); in fscache_cookie_worker() 883 struct fscache_cookie *cookie; in fscache_cookie_lru_worker() 890 struct fscache_cookie, commit_link); in fscache_cookie_lru_worker() 1027 struct fscache_cookie *fscache_get_cookie(struct fscache_cookie *cookie, in fscache_get_cookie() [all …]
|
| A D | fscache_io.c | 26 struct fscache_cookie *cookie = fscache_cres_cookie(cres); in fscache_wait_for_operation() 72 struct fscache_cookie *cookie, in fscache_begin_operation() 148 struct fscache_cookie *cookie) in __fscache_begin_read_operation() 156 struct fscache_cookie *cookie) in __fscache_begin_write_operation() 212 void __fscache_write_to_cache(struct fscache_cookie *cookie, in __fscache_write_to_cache() 273 void __fscache_resize_cookie(struct fscache_cookie *cookie, loff_t new_size) in __fscache_resize_cookie()
|
| A D | internal.h | 201 struct fscache_cookie *cookie = ctx->cache; in netfs_is_cache_enabled() 286 extern void fscache_print_cookie(struct fscache_cookie *cookie, char prefix); 287 extern bool fscache_begin_cookie_access(struct fscache_cookie *cookie, 290 static inline void fscache_see_cookie(struct fscache_cookie *cookie, in fscache_see_cookie() 378 struct fscache_cookie *cookie,
|
| A D | misc.c | 152 struct fscache_cookie *cookie = netfs_i_cookie(ictx); in netfs_dirty_folio() 187 struct fscache_cookie *cookie = netfs_i_cookie(netfs_inode(inode)); in netfs_unpin_writeback() 205 struct fscache_cookie *cookie = netfs_i_cookie(netfs_inode(inode)); in netfs_clear_inode_writeback()
|
| A D | Makefile | 23 fscache_cookie.o \
|
| 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()
|
| A D | fscache_main.c | 78 sizeof(struct fscache_cookie), in fscache_init()
|
| /linux/fs/ceph/ |
| 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()
|
| /linux/fs/smb/client/ |
| A D | fscache.h | 63 static inline struct fscache_cookie *cifs_inode_cookie(struct inode *inode) in cifs_inode_cookie() 95 static inline struct fscache_cookie *cifs_inode_cookie(struct inode *inode) { return NULL; } in cifs_inode_cookie()
|
| A D | fscache.c | 165 struct fscache_cookie *cookie = cifs_inode_cookie(inode); in cifs_fscache_release_inode_cookie()
|
| /linux/fs/cachefiles/ |
| A D | interface.c | 22 struct cachefiles_object *cachefiles_alloc_object(struct fscache_cookie *cookie) in cachefiles_alloc_object() 177 static bool cachefiles_lookup_cookie(struct fscache_cookie *cookie) in cachefiles_lookup_cookie() 283 struct fscache_cookie *cookie = object->cookie; in cachefiles_resize_cookie() 354 static void cachefiles_withdraw_cookie(struct fscache_cookie *cookie) in cachefiles_withdraw_cookie() 385 static bool cachefiles_invalidate_cookie(struct fscache_cookie *cookie) in cachefiles_invalidate_cookie()
|
| A D | internal.h | 66 struct fscache_cookie *cookie; /* Netfs data storage object cookie */ 421 extern void cachefiles_prepare_to_write(struct fscache_cookie *cookie);
|
| A D | ondemand.c | 143 struct fscache_cookie *cookie; in cachefiles_ondemand_copen() 595 struct fscache_cookie *cookie = object->cookie; in cachefiles_ondemand_init_open_req() 657 struct fscache_cookie *cookie = object->cookie; in cachefiles_ondemand_init_object()
|
| A D | xattr.c | 187 void cachefiles_prepare_to_write(struct fscache_cookie *cookie) in cachefiles_prepare_to_write()
|
| /linux/include/trace/events/ |
| 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, loff_t new_size), 482 TP_PROTO(struct fscache_cookie *cookie, loff_t new_size),
|
| /linux/Documentation/filesystems/caching/ |
| 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); 374 void (*prepare_to_write)(struct fscache_cookie *cookie); [all …]
|
| 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/ |
| 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()
|
| A D | fscache.h | 131 struct fscache_cookie *cookie = netfs_i_cookie(&NFS_I(inode)->netfs); in nfs_fscache_invalidate()
|
| /linux/fs/9p/ |
| A D | v9fs.h | 148 static inline struct fscache_cookie *v9fs_inode_cookie(struct v9fs_inode *v9inode) in v9fs_inode_cookie()
|
| /linux/fs/erofs/ |
| A D | fscache.c | 133 static int erofs_fscache_read_io_async(struct fscache_cookie *cookie, in erofs_fscache_read_io_async() 494 struct fscache_cookie *cookie; in erofs_fscache_acquire_cookie()
|
| A D | internal.h | 100 struct fscache_cookie *cookie;
|