Lines Matching refs:_object
21 static int cachefiles_attr_changed(struct fscache_object *_object);
123 static int cachefiles_lookup_object(struct fscache_object *_object) in cachefiles_lookup_object() argument
131 _enter("{OBJ%x}", _object->debug_id); in cachefiles_lookup_object()
133 cache = container_of(_object->cache, struct cachefiles_cache, cache); in cachefiles_lookup_object()
134 parent = container_of(_object->parent, in cachefiles_lookup_object()
136 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_lookup_object()
166 static void cachefiles_lookup_complete(struct fscache_object *_object) in cachefiles_lookup_complete() argument
170 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_lookup_complete()
186 struct fscache_object *cachefiles_grab_object(struct fscache_object *_object, in cachefiles_grab_object() argument
190 container_of(_object, struct cachefiles_object, fscache); in cachefiles_grab_object()
193 _enter("{OBJ%x,%d}", _object->debug_id, atomic_read(&object->usage)); in cachefiles_grab_object()
200 trace_cachefiles_ref(object, _object->cookie, in cachefiles_grab_object()
208 static void cachefiles_update_object(struct fscache_object *_object) in cachefiles_update_object() argument
218 _enter("{OBJ%x}", _object->debug_id); in cachefiles_update_object()
220 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_update_object()
224 if (!fscache_use_cookie(_object)) { in cachefiles_update_object()
233 fscache_unuse_cookie(_object); in cachefiles_update_object()
240 fscache_unuse_cookie(_object); in cachefiles_update_object()
249 fscache_unuse_cookie(_object); in cachefiles_update_object()
265 static void cachefiles_drop_object(struct fscache_object *_object) in cachefiles_drop_object() argument
273 ASSERT(_object); in cachefiles_drop_object()
275 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_drop_object()
295 _object != cache->cache.fsdef in cachefiles_drop_object()
326 static void cachefiles_put_object(struct fscache_object *_object, in cachefiles_put_object() argument
333 ASSERT(_object); in cachefiles_put_object()
335 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_put_object()
348 trace_cachefiles_ref(object, _object->cookie, in cachefiles_put_object()
434 static int cachefiles_attr_changed(struct fscache_object *_object) in cachefiles_attr_changed() argument
444 ni_size = _object->store_limit_l; in cachefiles_attr_changed()
447 _object->debug_id, (unsigned long long) ni_size); in cachefiles_attr_changed()
449 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_attr_changed()