Lines Matching refs:_object

21 static int cachefiles_attr_changed(struct fscache_object *_object);
117 static int cachefiles_lookup_object(struct fscache_object *_object) in cachefiles_lookup_object() argument
125 _enter("{OBJ%x}", _object->debug_id); in cachefiles_lookup_object()
127 cache = container_of(_object->cache, struct cachefiles_cache, cache); in cachefiles_lookup_object()
128 parent = container_of(_object->parent, in cachefiles_lookup_object()
130 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_lookup_object()
160 static void cachefiles_lookup_complete(struct fscache_object *_object) in cachefiles_lookup_complete() argument
164 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_lookup_complete()
180 struct fscache_object *cachefiles_grab_object(struct fscache_object *_object) in cachefiles_grab_object() argument
183 container_of(_object, struct cachefiles_object, fscache); in cachefiles_grab_object()
185 _enter("{OBJ%x,%d}", _object->debug_id, atomic_read(&object->usage)); in cachefiles_grab_object()
198 static void cachefiles_update_object(struct fscache_object *_object) in cachefiles_update_object() argument
207 _enter("{OBJ%x}", _object->debug_id); in cachefiles_update_object()
209 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_update_object()
213 if (!fscache_use_cookie(_object)) { in cachefiles_update_object()
221 fscache_unuse_cookie(_object); in cachefiles_update_object()
228 fscache_unuse_cookie(_object); in cachefiles_update_object()
234 fscache_unuse_cookie(_object); in cachefiles_update_object()
251 static void cachefiles_drop_object(struct fscache_object *_object) in cachefiles_drop_object() argument
257 ASSERT(_object); in cachefiles_drop_object()
259 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_drop_object()
279 _object != cache->cache.fsdef in cachefiles_drop_object()
313 static void cachefiles_put_object(struct fscache_object *_object) in cachefiles_put_object() argument
318 ASSERT(_object); in cachefiles_put_object()
320 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_put_object()
415 static int cachefiles_attr_changed(struct fscache_object *_object) in cachefiles_attr_changed() argument
425 _object->cookie->def->get_attr(_object->cookie->netfs_data, &ni_size); in cachefiles_attr_changed()
428 _object->debug_id, (unsigned long long) ni_size); in cachefiles_attr_changed()
430 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_attr_changed()