Lines Matching refs:ref
37 refcount_set(&cache->ref, 1); in fscache_alloc_cache()
48 int ref; in fscache_get_cache_maybe() local
50 success = __refcount_inc_not_zero(&cache->ref, &ref); in fscache_get_cache_maybe()
52 trace_fscache_cache(cache->debug_id, ref + 1, where); in fscache_get_cache_maybe()
119 refcount_read(&candidate->ref), in fscache_lookup_cache()
184 int ref; in fscache_put_cache() local
190 zero = __refcount_dec_and_test(&cache->ref, &ref); in fscache_put_cache()
191 trace_fscache_cache(debug_id, ref - 1, where); in fscache_put_cache()
249 trace_fscache_access_cache(cache->debug_id, refcount_read(&cache->ref), in fscache_add_cache()
298 trace_fscache_access_cache(cache->debug_id, refcount_read(&cache->ref), in fscache_begin_cache_access()
321 trace_fscache_access_cache(cache->debug_id, refcount_read(&cache->ref), in fscache_end_cache_access()
366 trace_fscache_access_cache(cache->debug_id, refcount_read(&cache->ref), in fscache_withdraw_cache()
396 refcount_read(&cache->ref), in fscache_caches_seq_show()