Lines Matching refs:cache
496 struct fscache_cache *cache; in fscache_put_operation() local
536 cache = object->cache; in fscache_put_operation()
537 spin_lock(&cache->op_gc_list_lock); in fscache_put_operation()
538 list_add_tail(&op->pend_link, &cache->op_gc_list); in fscache_put_operation()
539 spin_unlock(&cache->op_gc_list_lock); in fscache_put_operation()
540 schedule_work(&cache->op_gc); in fscache_put_operation()
565 struct fscache_cache *cache = in fscache_operation_gc() local
572 spin_lock(&cache->op_gc_list_lock); in fscache_operation_gc()
573 if (list_empty(&cache->op_gc_list)) { in fscache_operation_gc()
574 spin_unlock(&cache->op_gc_list_lock); in fscache_operation_gc()
578 op = list_entry(cache->op_gc_list.next, in fscache_operation_gc()
581 spin_unlock(&cache->op_gc_list_lock); in fscache_operation_gc()
605 if (!list_empty(&cache->op_gc_list)) in fscache_operation_gc()
606 schedule_work(&cache->op_gc); in fscache_operation_gc()