Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/include/linux/
A Dfscache-cache.h62 bool (*lookup_cookie)(struct fscache_cookie *cookie);
65 void (*withdraw_cookie)(struct fscache_cookie *cookie);
72 bool (*invalidate_cookie)(struct fscache_cookie *cookie);
79 void (*prepare_to_write)(struct fscache_cookie *cookie);
96 extern void fscache_withdraw_cookie(struct fscache_cookie *cookie);
101 struct fscache_cookie *cookie,
104 extern struct fscache_cookie *fscache_get_cookie(struct fscache_cookie *cookie,
106 extern void fscache_put_cookie(struct fscache_cookie *cookie,
108 extern void fscache_end_cookie_access(struct fscache_cookie *cookie,
112 extern void fscache_caching_failed(struct fscache_cookie *cookie);
[all …]
A Dfscache.h37 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);
326 void fscache_update_aux(struct fscache_cookie *cookie, in fscache_update_aux()
412 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()
634 struct fscache_cookie *cookie);
649 struct fscache_cookie *cookie) in fscache_unpin_writeback()
[all …]
A Dnetfs.h129 struct fscache_cookie *cache;
356 static inline struct fscache_cookie *netfs_i_cookie(struct netfs_inode *ctx) in netfs_i_cookie()
A Dnfs_fs.h208 struct fscache_cookie *fscache;
332 static inline struct fscache_cookie *nfs_i_fscache(struct inode *inode) in nfs_i_fscache()
/linux-6.3-rc2/fs/fscache/
A Dcookie.c301 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()
828 struct fscache_cookie *cookie = container_of(work, struct fscache_cookie, work); in fscache_cookie_worker()
879 struct fscache_cookie *cookie; in fscache_cookie_lru_worker()
886 struct fscache_cookie, commit_link); in fscache_cookie_lru_worker()
1023 struct fscache_cookie *fscache_get_cookie(struct fscache_cookie *cookie, in fscache_get_cookie()
[all …]
A Dio.c26 struct fscache_cookie *cookie = fscache_cres_cookie(cres); in fscache_wait_for_operation()
72 struct fscache_cookie *cookie, in fscache_begin_operation()
146 struct fscache_cookie *cookie) in __fscache_begin_read_operation()
154 struct fscache_cookie *cookie) in __fscache_begin_write_operation()
174 struct fscache_cookie *cookie) in fscache_dirty_folio()
248 void __fscache_write_to_cache(struct fscache_cookie *cookie, in __fscache_write_to_cache()
307 void __fscache_resize_cookie(struct fscache_cookie *cookie, loff_t new_size) in __fscache_resize_cookie()
A Dinternal.h64 extern void fscache_print_cookie(struct fscache_cookie *cookie, char prefix);
65 extern bool fscache_begin_cookie_access(struct fscache_cookie *cookie,
68 static inline void fscache_see_cookie(struct fscache_cookie *cookie, in fscache_see_cookie()
151 struct fscache_cookie *cookie,
A Dvolume.c42 struct fscache_cookie *cookie, in __fscache_begin_volume_access()
84 struct fscache_cookie *cookie, in fscache_begin_volume_access()
107 struct fscache_cookie *cookie, in fscache_end_volume_access()
A Dmain.c87 sizeof(struct fscache_cookie), in fscache_init()
/linux-6.3-rc2/fs/ceph/
A Dcache.h29 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()
62 struct fscache_cookie *cookie = ceph_fscache_cookie(ceph_inode(rreq->inode)); in ceph_begin_cache_operation()
113 static inline struct fscache_cookie *ceph_fscache_cookie(struct ceph_inode_info *ci) in ceph_fscache_cookie()
/linux-6.3-rc2/fs/nfs/
A Dfscache.c187 struct fscache_cookie *cookie = nfs_i_fscache(inode); in nfs_fscache_clear_inode()
215 struct fscache_cookie *cookie = nfs_i_fscache(inode); in nfs_fscache_open_file()
233 struct fscache_cookie *cookie = nfs_i_fscache(inode); in nfs_fscache_release_file()
246 struct fscache_cookie *cookie = nfs_i_fscache(inode); in fscache_fallback_read_page()
272 struct fscache_cookie *cookie = nfs_i_fscache(inode); in fscache_fallback_write_page()
/linux-6.3-rc2/fs/cifs/
A Dfscache.c129 struct fscache_cookie *cookie = cifs_inode_cookie(inode); in cifs_fscache_release_inode_cookie()
144 struct fscache_cookie *cookie = cifs_inode_cookie(inode); in fscache_fallback_read_page()
170 struct fscache_cookie *cookie = cifs_inode_cookie(inode); in fscache_fallback_write_pages()
225 struct fscache_cookie *cookie = cifs_inode_cookie(inode); in __cifs_fscache_query_occupancy()
A Dfscache.h62 static inline struct fscache_cookie *cifs_inode_cookie(struct inode *inode) in cifs_inode_cookie()
124 static inline struct fscache_cookie *cifs_inode_cookie(struct inode *inode) { return NULL; } in cifs_inode_cookie()
/linux-6.3-rc2/fs/cachefiles/
A Dinterface.c22 struct cachefiles_object *cachefiles_alloc_object(struct fscache_cookie *cookie) in cachefiles_alloc_object()
172 static bool cachefiles_lookup_cookie(struct fscache_cookie *cookie) in cachefiles_lookup_cookie()
278 struct fscache_cookie *cookie = object->cookie; in cachefiles_resize_cookie()
349 static void cachefiles_withdraw_cookie(struct fscache_cookie *cookie) in cachefiles_withdraw_cookie()
380 static bool cachefiles_invalidate_cookie(struct fscache_cookie *cookie) in cachefiles_invalidate_cookie()
A Dondemand.c120 struct fscache_cookie *cookie; in cachefiles_ondemand_copen()
399 struct fscache_cookie *cookie = object->cookie; in cachefiles_ondemand_init_open_req()
478 struct fscache_cookie *cookie = object->cookie; in cachefiles_ondemand_init_object()
A Dinternal.h51 struct fscache_cookie *cookie; /* Netfs data storage object cookie */
358 extern void cachefiles_prepare_to_write(struct fscache_cookie *cookie);
A Dxattr.c173 void cachefiles_prepare_to_write(struct fscache_cookie *cookie) in cachefiles_prepare_to_write()
/linux-6.3-rc2/include/trace/events/
A Dfscache.h257 TRACE_EVENT(fscache_cookie,
407 TP_PROTO(struct fscache_cookie *cookie),
431 TP_PROTO(struct fscache_cookie *cookie, bool retire),
459 TP_PROTO(struct fscache_cookie *cookie, loff_t new_size),
478 TP_PROTO(struct fscache_cookie *cookie, loff_t new_size),
/linux-6.3-rc2/Documentation/filesystems/caching/
A Dbackend-api.rst25 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 Dnetfs-api.rst148 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-6.3-rc2/fs/9p/
A Dvfs_addr.c98 struct fscache_cookie *cookie = v9fs_inode_cookie(V9FS_I(rreq->inode)); in v9fs_begin_cache_operation()
162 struct fscache_cookie *cookie = v9fs_inode_cookie(v9inode); in v9fs_vfs_write_folio_locked()
A Dv9fs.h124 static inline struct fscache_cookie *v9fs_inode_cookie(struct v9fs_inode *v9inode) in v9fs_inode_cookie()
/linux-6.3-rc2/fs/netfs/
A Dinternal.h97 struct fscache_cookie *cookie = ctx->cache; in netfs_is_cache_enabled()
/linux-6.3-rc2/fs/erofs/
A Dfscache.c115 static int erofs_fscache_read_folios_async(struct fscache_cookie *cookie, in erofs_fscache_read_folios_async()
428 struct fscache_cookie *cookie; in erofs_fscache_acquire_cookie()
A Dinternal.h109 struct fscache_cookie *cookie;

Completed in 37 milliseconds

12