Lines Matching refs:object

91 	struct fscache_object	*object;	/* object to be operated upon */  member
240 int (*lookup_object)(struct fscache_object *object);
243 void (*lookup_complete)(struct fscache_object *object);
246 struct fscache_object *(*grab_object)(struct fscache_object *object);
249 int (*pin_object)(struct fscache_object *object);
252 void (*unpin_object)(struct fscache_object *object);
259 void (*update_object)(struct fscache_object *object);
266 void (*drop_object)(struct fscache_object *object);
269 void (*put_object)(struct fscache_object *object);
276 int (*attr_changed)(struct fscache_object *object);
279 int (*reserve_space)(struct fscache_object *object, loff_t i_size);
304 void (*uncache_page)(struct fscache_object *object,
340 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_object_is_active(struct fscache_object *object) in fscache_object_is_active() argument
415 return fscache_object_is_available(object) && in fscache_object_is_active()
416 fscache_object_is_live(object) && in fscache_object_is_active()
417 !test_bit(FSCACHE_IOERROR, &object->cache->flags); in fscache_object_is_active()
420 static inline bool fscache_object_is_dead(struct fscache_object *object) in fscache_object_is_dead() argument
422 return fscache_object_is_dying(object) && in fscache_object_is_dead()
423 test_bit(FSCACHE_IOERROR, &object->cache->flags); in fscache_object_is_dead()
445 static inline void fscache_object_lookup_error(struct fscache_object *object) in fscache_object_lookup_error() argument
447 set_bit(FSCACHE_OBJECT_EV_ERROR, &object->events); in fscache_object_lookup_error()
462 void fscache_set_store_limit(struct fscache_object *object, loff_t i_size) in fscache_set_store_limit() argument
464 object->store_limit_l = i_size; in fscache_set_store_limit()
465 object->store_limit = i_size >> PAGE_SHIFT; in fscache_set_store_limit()
467 object->store_limit++; in fscache_set_store_limit()
497 static inline bool fscache_use_cookie(struct fscache_object *object) in fscache_use_cookie() argument
499 struct fscache_cookie *cookie = object->cookie; in fscache_use_cookie()
520 static inline void fscache_unuse_cookie(struct fscache_object *object) in fscache_unuse_cookie() argument
522 struct fscache_cookie *cookie = object->cookie; in fscache_unuse_cookie()
550 extern enum fscache_checkaux fscache_check_aux(struct fscache_object *object,