Lines Matching refs:cookie
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);
117 extern void fscache_resume_after_invalidation(struct fscache_cookie *cookie);
118 extern void fscache_caching_failed(struct fscache_cookie *cookie);
130 enum fscache_cookie_state fscache_cookie_state(struct fscache_cookie *cookie) in fscache_cookie_state() argument
132 return smp_load_acquire(&cookie->state); in fscache_cookie_state()
141 static inline void *fscache_get_key(struct fscache_cookie *cookie) in fscache_get_key() argument
143 if (cookie->key_len <= sizeof(cookie->inline_key)) in fscache_get_key()
144 return cookie->inline_key; in fscache_get_key()
146 return cookie->key; in fscache_get_key()