Searched refs:cache (Results 1 – 1 of 1) sorted by relevance
420 static void bio_alloc_irq_cache_splice(struct bio_alloc_cache *cache) in bio_alloc_irq_cache_splice() argument425 if (WARN_ON_ONCE(cache->free_list)) in bio_alloc_irq_cache_splice()429 cache->free_list = cache->free_list_irq; in bio_alloc_irq_cache_splice()430 cache->free_list_irq = NULL; in bio_alloc_irq_cache_splice()431 cache->nr += cache->nr_irq; in bio_alloc_irq_cache_splice()432 cache->nr_irq = 0; in bio_alloc_irq_cache_splice()440 struct bio_alloc_cache *cache; in bio_alloc_percpu_cache() local443 cache = per_cpu_ptr(bs->cache, get_cpu()); in bio_alloc_percpu_cache()444 if (!cache->free_list) { in bio_alloc_percpu_cache()445 if (READ_ONCE(cache->nr_irq) >= ALLOC_CACHE_THRESHOLD) in bio_alloc_percpu_cache()[all …]