Lines Matching refs:object

104 	struct fscache_object	*object;	/* object to be operated upon */  member
241 int (*lookup_object)(struct fscache_object *object);
244 void (*lookup_complete)(struct fscache_object *object);
247 struct fscache_object *(*grab_object)(struct fscache_object *object,
251 int (*pin_object)(struct fscache_object *object);
254 void (*unpin_object)(struct fscache_object *object);
261 void (*update_object)(struct fscache_object *object);
268 void (*drop_object)(struct fscache_object *object);
271 void (*put_object)(struct fscache_object *object,
279 int (*attr_changed)(struct fscache_object *object);
282 int (*reserve_space)(struct fscache_object *object, loff_t i_size);
307 void (*uncache_page)(struct fscache_object *object,
343 const struct fscache_state *(*work)(struct fscache_object *object,
400 extern void fscache_object_lookup_negative(struct fscache_object *object);
401 extern void fscache_obtained_object(struct fscache_object *object);
403 static inline bool fscache_object_is_live(struct fscache_object *object) in fscache_object_is_live() argument
405 return test_bit(FSCACHE_OBJECT_IS_LIVE, &object->flags); in fscache_object_is_live()
408 static inline bool fscache_object_is_dying(struct fscache_object *object) in fscache_object_is_dying() argument
410 return !fscache_object_is_live(object); in fscache_object_is_dying()
413 static inline bool fscache_object_is_available(struct fscache_object *object) in fscache_object_is_available() argument
415 return test_bit(FSCACHE_OBJECT_IS_AVAILABLE, &object->flags); in fscache_object_is_available()
418 static inline bool fscache_cache_is_broken(struct fscache_object *object) in fscache_cache_is_broken() argument
420 return test_bit(FSCACHE_IOERROR, &object->cache->flags); in fscache_cache_is_broken()
423 static inline bool fscache_object_is_active(struct fscache_object *object) in fscache_object_is_active() argument
425 return fscache_object_is_available(object) && in fscache_object_is_active()
426 fscache_object_is_live(object) && in fscache_object_is_active()
427 !fscache_cache_is_broken(object); in fscache_object_is_active()
449 static inline void fscache_object_lookup_error(struct fscache_object *object) in fscache_object_lookup_error() argument
451 set_bit(FSCACHE_OBJECT_EV_ERROR, &object->events); in fscache_object_lookup_error()
466 void fscache_set_store_limit(struct fscache_object *object, loff_t i_size) in fscache_set_store_limit() argument
468 object->store_limit_l = i_size; in fscache_set_store_limit()
469 object->store_limit = i_size >> PAGE_SHIFT; in fscache_set_store_limit()
471 object->store_limit++; in fscache_set_store_limit()
501 static inline bool fscache_use_cookie(struct fscache_object *object) in fscache_use_cookie() argument
503 struct fscache_cookie *cookie = object->cookie; in fscache_use_cookie()
524 static inline void fscache_unuse_cookie(struct fscache_object *object) in fscache_unuse_cookie() argument
526 struct fscache_cookie *cookie = object->cookie; in fscache_unuse_cookie()
554 extern enum fscache_checkaux fscache_check_aux(struct fscache_object *object,
559 extern void fscache_object_retrying_stale(struct fscache_object *object);
567 extern void fscache_object_mark_killed(struct fscache_object *object,