fscache_cookie
static inline struct fscache_cookie *v9fs_inode_cookie(struct v9fs_inode *v9inode)
static inline struct fscache_cookie *afs_vnode_cache(struct afs_vnode *vnode)
struct fscache_cookie *cookie)
static bool cachefiles_lookup_cookie(struct fscache_cookie *cookie)
struct cachefiles_object *cachefiles_alloc_object(struct fscache_cookie *cookie)
struct fscache_cookie *cookie = object->cookie;
static void cachefiles_withdraw_cookie(struct fscache_cookie *cookie)
static bool cachefiles_invalidate_cookie(struct fscache_cookie *cookie)
extern void cachefiles_prepare_to_write(struct fscache_cookie *cookie);
struct fscache_cookie *cookie; /* Netfs data storage object cookie */
struct fscache_cookie *cookie = fscache_cres_cookie(cres);
struct fscache_cookie *cookie;
struct fscache_cookie *cookie = object->cookie;
struct fscache_cookie *cookie = object->cookie;
void cachefiles_prepare_to_write(struct fscache_cookie *cookie)
struct fscache_cookie *cookie = ceph_fscache_cookie(ci);
static inline struct fscache_cookie *ceph_fscache_cookie(struct ceph_inode_info *ci)
struct fscache_cookie *cookie = ceph_fscache_cookie(ci);
static inline struct fscache_cookie *ceph_fscache_cookie(struct ceph_inode_info *ci)
static int erofs_fscache_read_io_async(struct fscache_cookie *cookie,
struct fscache_cookie *cookie;
struct fscache_cookie *cookie;
void fscache_put_cookie(struct fscache_cookie *cookie,
static void fscache_init_access_gate(struct fscache_cookie *cookie)
struct fscache_cookie *fscache_get_cookie(struct fscache_cookie *cookie,
static void fscache_perform_invalidation(struct fscache_cookie *cookie)
void __fscache_invalidate(struct fscache_cookie *cookie,
struct fscache_cookie *cookie;
cookie = list_entry(v, struct fscache_cookie, proc_link);
void fscache_end_cookie_access(struct fscache_cookie *cookie,
static void __fscache_begin_cookie_access(struct fscache_cookie *cookie,
bool fscache_begin_cookie_access(struct fscache_cookie *cookie,
static inline void wake_up_cookie_state(struct fscache_cookie *cookie)
static void __fscache_set_cookie_state(struct fscache_cookie *cookie,
static void fscache_unhash_cookie(struct fscache_cookie *cookie);
static void fscache_set_cookie_state(struct fscache_cookie *cookie,
static void fscache_perform_invalidation(struct fscache_cookie *cookie);
void fscache_cookie_lookup_negative(struct fscache_cookie *cookie)
void fscache_resume_after_invalidation(struct fscache_cookie *cookie)
void fscache_caching_failed(struct fscache_cookie *cookie)
static int fscache_set_key(struct fscache_cookie *cookie,
static bool fscache_cookie_same(const struct fscache_cookie *a,
const struct fscache_cookie *b)
static struct fscache_cookie *fscache_alloc_cookie(
struct fscache_cookie *cookie;
void fscache_print_cookie(struct fscache_cookie *cookie, char prefix)
static inline bool fscache_cookie_is_dropped(struct fscache_cookie *cookie)
static void fscache_wait_on_collision(struct fscache_cookie *candidate,
struct fscache_cookie *wait_for)
static bool fscache_hash_cookie(struct fscache_cookie *candidate)
struct fscache_cookie *cursor, *wait_for = NULL;
struct fscache_cookie *__fscache_acquire_cookie(
struct fscache_cookie *cookie;
static void fscache_prepare_to_write(struct fscache_cookie *cookie)
static void fscache_perform_lookup(struct fscache_cookie *cookie)
static bool fscache_begin_lookup(struct fscache_cookie *cookie, bool will_modify)
static void fscache_free_cookie(struct fscache_cookie *cookie)
void __fscache_use_cookie(struct fscache_cookie *cookie, bool will_modify)
static void fscache_unuse_cookie_locked(struct fscache_cookie *cookie)
void __fscache_unuse_cookie(struct fscache_cookie *cookie,
static void fscache_cookie_state_machine(struct fscache_cookie *cookie)
static void __fscache_queue_cookie(struct fscache_cookie *cookie)
struct fscache_cookie *cookie = container_of(work, struct fscache_cookie, work);
static void __fscache_withdraw_cookie(struct fscache_cookie *cookie)
static void fscache_cookie_lru_do_one(struct fscache_cookie *cookie)
static void fscache_queue_cookie(struct fscache_cookie *cookie,
struct fscache_cookie *cookie;
struct fscache_cookie, commit_link);
static void fscache_cookie_drop_from_lru(struct fscache_cookie *cookie)
static void fscache_unhash_cookie(struct fscache_cookie *cookie)
static void fscache_drop_withdraw_cookie(struct fscache_cookie *cookie)
void fscache_withdraw_cookie(struct fscache_cookie *cookie)
void __fscache_relinquish_cookie(struct fscache_cookie *cookie, bool retire)
struct fscache_cookie *cookie)
struct fscache_cookie *cookie)
void __fscache_write_to_cache(struct fscache_cookie *cookie,
struct fscache_cookie *cookie = fscache_cres_cookie(cres);
void __fscache_resize_cookie(struct fscache_cookie *cookie, loff_t new_size)
struct fscache_cookie *cookie,
sizeof(struct fscache_cookie),
struct fscache_cookie *cookie,
struct fscache_cookie *cookie,
struct fscache_cookie *cookie,
struct fscache_cookie *cookie = ctx->cache;
extern void fscache_print_cookie(struct fscache_cookie *cookie, char prefix);
extern bool fscache_begin_cookie_access(struct fscache_cookie *cookie,
static inline void fscache_see_cookie(struct fscache_cookie *cookie,
struct fscache_cookie *cookie,
struct fscache_cookie *cookie = netfs_i_cookie(ictx);
struct fscache_cookie *cookie = netfs_i_cookie(netfs_inode(inode));
struct fscache_cookie *cookie = netfs_i_cookie(netfs_inode(inode));
struct fscache_cookie *cookie = netfs_i_cookie(netfs_inode(inode));
struct fscache_cookie *cookie = netfs_i_cookie(netfs_inode(inode));
struct fscache_cookie *cookie = netfs_i_cookie(&NFS_I(inode)->netfs);
struct fscache_cookie *cookie = cifs_inode_cookie(inode);
static inline struct fscache_cookie *cifs_inode_cookie(struct inode *inode) { return NULL; }
static inline struct fscache_cookie *cifs_inode_cookie(struct inode *inode)
struct fscache_cookie *cookie,
extern struct fscache_cookie *fscache_get_cookie(struct fscache_cookie *cookie,
extern void fscache_put_cookie(struct fscache_cookie *cookie,
extern void fscache_end_cookie_access(struct fscache_cookie *cookie,
extern void fscache_cookie_lookup_negative(struct fscache_cookie *cookie);
extern void fscache_resume_after_invalidation(struct fscache_cookie *cookie);
extern void fscache_caching_failed(struct fscache_cookie *cookie);
enum fscache_cookie_state fscache_cookie_state(struct fscache_cookie *cookie)
static inline void *fscache_get_key(struct fscache_cookie *cookie)
static inline struct fscache_cookie *fscache_cres_cookie(struct netfs_cache_resources *cres)
bool (*lookup_cookie)(struct fscache_cookie *cookie);
void (*withdraw_cookie)(struct fscache_cookie *cookie);
bool (*invalidate_cookie)(struct fscache_cookie *cookie);
void (*prepare_to_write)(struct fscache_cookie *cookie);
extern void fscache_withdraw_cookie(struct fscache_cookie *cookie);
extern struct fscache_cookie *__fscache_acquire_cookie(
extern void __fscache_use_cookie(struct fscache_cookie *, bool);
extern void __fscache_unuse_cookie(struct fscache_cookie *, const void *, const loff_t *);
extern void __fscache_relinquish_cookie(struct fscache_cookie *, bool);
extern void __fscache_resize_cookie(struct fscache_cookie *, loff_t);
extern void __fscache_invalidate(struct fscache_cookie *, const void *, loff_t, unsigned int);
extern int __fscache_begin_read_operation(struct netfs_cache_resources *, struct fscache_cookie *);
extern int __fscache_begin_write_operation(struct netfs_cache_resources *, struct fscache_cookie *);
void __fscache_write_to_cache(struct fscache_cookie *cookie,
struct fscache_cookie *fscache_acquire_cookie(struct fscache_volume *volume,
static inline void fscache_use_cookie(struct fscache_cookie *cookie,
static inline void fscache_unuse_cookie(struct fscache_cookie *cookie,
void fscache_relinquish_cookie(struct fscache_cookie *cookie, bool retire)
static inline void *fscache_get_aux(struct fscache_cookie *cookie)
void fscache_update_aux(struct fscache_cookie *cookie,
void __fscache_update_cookie(struct fscache_cookie *cookie, const void *aux_data,
struct fscache_cookie;
void fscache_update_cookie(struct fscache_cookie *cookie, const void *aux_data,
void fscache_resize_cookie(struct fscache_cookie *cookie, loff_t new_size)
void fscache_invalidate(struct fscache_cookie *cookie,
struct fscache_cookie *cookie)
struct fscache_cookie *cookie)
static inline void fscache_write_to_cache(struct fscache_cookie *cookie,
void fscache_note_page_release(struct fscache_cookie *cookie)
static inline struct fscache_cookie *netfs_i_cookie(struct netfs_inode *ctx)
struct fscache_cookie *cache;
TRACE_EVENT(fscache_cookie,
TP_PROTO(struct fscache_cookie *cookie),
TP_PROTO(struct fscache_cookie *cookie, bool retire),
TP_PROTO(struct fscache_cookie *cookie, loff_t new_size),
TP_PROTO(struct fscache_cookie *cookie, loff_t new_size),
struct fscache_cookie *__cookie = netfs_i_cookie(__ctx);
struct fscache_cookie *__cookie = netfs_i_cookie(__ctx);