Lines Matching refs:object
100 struct fscache_object *object; /* object to be operated upon */ member
235 int (*lookup_object)(struct fscache_object *object);
238 void (*lookup_complete)(struct fscache_object *object);
241 struct fscache_object *(*grab_object)(struct fscache_object *object,
245 int (*pin_object)(struct fscache_object *object);
248 void (*unpin_object)(struct fscache_object *object);
255 void (*update_object)(struct fscache_object *object);
262 void (*drop_object)(struct fscache_object *object);
265 void (*put_object)(struct fscache_object *object,
273 int (*attr_changed)(struct fscache_object *object);
276 int (*reserve_space)(struct fscache_object *object, loff_t i_size);
301 void (*uncache_page)(struct fscache_object *object,
341 const struct fscache_state *(*work)(struct fscache_object *object,
395 extern void fscache_object_lookup_negative(struct fscache_object *object);
396 extern void fscache_obtained_object(struct fscache_object *object);
398 static inline bool fscache_object_is_live(struct fscache_object *object) in fscache_object_is_live() argument
400 return test_bit(FSCACHE_OBJECT_IS_LIVE, &object->flags); in fscache_object_is_live()
403 static inline bool fscache_object_is_dying(struct fscache_object *object) in fscache_object_is_dying() argument
405 return !fscache_object_is_live(object); in fscache_object_is_dying()
408 static inline bool fscache_object_is_available(struct fscache_object *object) in fscache_object_is_available() argument
410 return test_bit(FSCACHE_OBJECT_IS_AVAILABLE, &object->flags); in fscache_object_is_available()
413 static inline bool fscache_cache_is_broken(struct fscache_object *object) in fscache_cache_is_broken() argument
415 return test_bit(FSCACHE_IOERROR, &object->cache->flags); in fscache_cache_is_broken()
418 static inline bool fscache_object_is_active(struct fscache_object *object) in fscache_object_is_active() argument
420 return fscache_object_is_available(object) && in fscache_object_is_active()
421 fscache_object_is_live(object) && in fscache_object_is_active()
422 !fscache_cache_is_broken(object); in fscache_object_is_active()
444 static inline void fscache_object_lookup_error(struct fscache_object *object) in fscache_object_lookup_error() argument
446 set_bit(FSCACHE_OBJECT_EV_ERROR, &object->events); in fscache_object_lookup_error()
461 void fscache_set_store_limit(struct fscache_object *object, loff_t i_size) in fscache_set_store_limit() argument
463 object->store_limit_l = i_size; in fscache_set_store_limit()
464 object->store_limit = i_size >> PAGE_SHIFT; in fscache_set_store_limit()
466 object->store_limit++; in fscache_set_store_limit()
496 static inline bool fscache_use_cookie(struct fscache_object *object) in fscache_use_cookie() argument
498 struct fscache_cookie *cookie = object->cookie; in fscache_use_cookie()
519 static inline void fscache_unuse_cookie(struct fscache_object *object) in fscache_unuse_cookie() argument
521 struct fscache_cookie *cookie = object->cookie; in fscache_unuse_cookie()
549 extern enum fscache_checkaux fscache_check_aux(struct fscache_object *object,
554 extern void fscache_object_retrying_stale(struct fscache_object *object);
562 extern void fscache_object_mark_killed(struct fscache_object *object,