Lines Matching refs:candidate
61 struct fscache_cache *candidate, *cache, *unnamed = NULL; in fscache_lookup_cache() local
86 candidate = fscache_alloc_cache(name); in fscache_lookup_cache()
87 if (!candidate) in fscache_lookup_cache()
117 list_add_tail(&candidate->cache_link, &fscache_caches); in fscache_lookup_cache()
118 trace_fscache_cache(candidate->debug_id, in fscache_lookup_cache()
119 refcount_read(&candidate->ref), in fscache_lookup_cache()
122 return candidate; in fscache_lookup_cache()
129 cache->name = candidate->name; in fscache_lookup_cache()
130 candidate->name = NULL; in fscache_lookup_cache()
133 kfree(candidate->name); in fscache_lookup_cache()
134 kfree(candidate); in fscache_lookup_cache()