Home
last modified time | relevance | path

Searched refs:cache_list (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/gpu/drm/i915/gt/
H A Dintel_gt_buffer_pool.c25 if (n >= ARRAY_SIZE(pool->cache_list)) in bucket_for_size()
26 n = ARRAY_SIZE(pool->cache_list) - 1; in bucket_for_size()
28 return &pool->cache_list[n]; in bucket_for_size()
45 for (n = 0; n < ARRAY_SIZE(pool->cache_list); n++) { in pool_free_older_than()
46 struct list_head *list = &pool->cache_list[n]; in pool_free_older_than()
227 for (n = 0; n < ARRAY_SIZE(pool->cache_list); n++) in intel_gt_init_buffer_pool()
228 INIT_LIST_HEAD(&pool->cache_list[n]); in intel_gt_init_buffer_pool()
247 for (n = 0; n < ARRAY_SIZE(pool->cache_list); n++) in intel_gt_fini_buffer_pool()
248 GEM_BUG_ON(!list_empty(&pool->cache_list[n])); in intel_gt_fini_buffer_pool()
H A Dintel_gt_buffer_pool_types.h18 struct list_head cache_list[4]; member
/linux/net/sunrpc/
H A Dcache.c51 INIT_HLIST_NODE(&h->cache_list); in cache_init()
72 hlist_for_each_entry_rcu(tmp, head, cache_list) { in sunrpc_cache_find_rcu()
90 hlist_del_init_rcu(&ch->cache_list); in sunrpc_begin_cache_remove_entry()
122 hlist_for_each_entry_rcu(tmp, head, cache_list, in sunrpc_cache_add_entry()
140 hlist_add_head_rcu(&new->cache_list, head); in sunrpc_cache_add_entry()
239 hlist_add_head_rcu(&tmp->cache_list, &detail->hash_table[hash]); in sunrpc_cache_update()
393 static LIST_HEAD(cache_list);
415 list_add(&cd->others, &cache_list); in sunrpc_init_cache_detail()
434 if (!list_empty(&cache_list)) in sunrpc_destroy_cache_detail()
458 next = cache_list.next; in cache_clean()
[all …]
/linux/arch/powerpc/kernel/
H A Dcacheinfo.c133 static LIST_HEAD(cache_list);
153 list_add(&cache->list, &cache_list); in cache_init()
172 list_for_each_entry(iter, &cache_list, list) in release_cache_debugcheck()
314 list_for_each_entry(iter, &cache_list, list) in cache_find_first_sibling()
330 list_for_each_entry(iter, &cache_list, list) { in cache_lookup_by_node_group()
813 struct cache *cache_list) in cacheinfo_sysfs_populate() argument
823 cache = cache_list; in cacheinfo_sysfs_populate()
/linux/drivers/gpu/drm/vc4/
H A Dvc4_bo.c547 struct list_head *cache_list; in vc4_free_object() local
578 cache_list = vc4_get_cache_list_for_size(dev, gem_bo->size); in vc4_free_object()
579 if (!cache_list) { in vc4_free_object()
597 list_add(&bo->size_head, cache_list); in vc4_free_object()