• Home
  • Raw
  • Download

Lines Matching refs:fscache

56 	fscache_object_init(&object->fscache, cookie, &cache->cache);  in cachefiles_alloc_object()
97 _leave(" = %p [%p]", &object->fscache, lookup_data); in cachefiles_alloc_object()
98 return &object->fscache; in cachefiles_alloc_object()
129 struct cachefiles_object, fscache); in cachefiles_lookup_object()
130 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_lookup_object()
144 object->fscache.cookie->def->type != FSCACHE_COOKIE_TYPE_INDEX) in cachefiles_lookup_object()
145 cachefiles_attr_changed(&object->fscache); in cachefiles_lookup_object()
150 fscache_object_lookup_error(&object->fscache); in cachefiles_lookup_object()
164 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_lookup_complete()
166 _enter("{OBJ%x,%p}", object->fscache.debug_id, object->lookup_data); in cachefiles_lookup_complete()
183 container_of(_object, struct cachefiles_object, fscache); in cachefiles_grab_object()
192 return &object->fscache; in cachefiles_grab_object()
209 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_update_object()
210 cache = container_of(object->fscache.cache, struct cachefiles_cache, in cachefiles_update_object()
218 cookie = object->fscache.cookie; in cachefiles_update_object()
259 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_drop_object()
262 object->fscache.debug_id, atomic_read(&object->usage)); in cachefiles_drop_object()
264 cache = container_of(object->fscache.cache, in cachefiles_drop_object()
278 if (test_bit(FSCACHE_OBJECT_RETIRED, &object->fscache.flags) && in cachefiles_drop_object()
281 _debug("- retire object OBJ%x", object->fscache.debug_id); in cachefiles_drop_object()
320 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_put_object()
323 object->fscache.debug_id, atomic_read(&object->usage)); in cachefiles_put_object()
329 ASSERTIFCMP(object->fscache.parent, in cachefiles_put_object()
330 object->fscache.parent->n_children, >, 0); in cachefiles_put_object()
333 _debug("- kill object OBJ%x", object->fscache.debug_id); in cachefiles_put_object()
336 ASSERTCMP(object->fscache.parent, ==, NULL); in cachefiles_put_object()
339 ASSERTCMP(object->fscache.n_ops, ==, 0); in cachefiles_put_object()
340 ASSERTCMP(object->fscache.n_children, ==, 0); in cachefiles_put_object()
349 cache = object->fscache.cache; in cachefiles_put_object()
350 fscache_object_destroy(&object->fscache); in cachefiles_put_object()
399 object = container_of(op->object, struct cachefiles_object, fscache); in cachefiles_check_consistency()
400 cache = container_of(object->fscache.cache, in cachefiles_check_consistency()
430 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_attr_changed()
431 cache = container_of(object->fscache.cache, in cachefiles_attr_changed()
442 fscache_set_store_limit(&object->fscache, ni_size); in cachefiles_attr_changed()
472 fscache_set_store_limit(&object->fscache, 0); in cachefiles_attr_changed()
493 object = container_of(op->object, struct cachefiles_object, fscache); in cachefiles_invalidate_object()
494 cache = container_of(object->fscache.cache, in cachefiles_invalidate_object()
506 fscache_set_store_limit(&object->fscache, ni_size); in cachefiles_invalidate_object()
518 fscache_set_store_limit(&object->fscache, 0); in cachefiles_invalidate_object()