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.c49 INIT_HLIST_NODE(&h->cache_list); in cache_init()
70 hlist_for_each_entry_rcu(tmp, head, cache_list) { in sunrpc_cache_find_rcu()
88 hlist_del_init_rcu(&ch->cache_list); in sunrpc_begin_cache_remove_entry()
120 hlist_for_each_entry_rcu(tmp, head, cache_list, in sunrpc_cache_add_entry()
137 hlist_add_head_rcu(&new->cache_list, head); in sunrpc_cache_add_entry()
236 hlist_add_head(&tmp->cache_list, &detail->hash_table[hash]); in sunrpc_cache_update()
391 static LIST_HEAD(cache_list);
409 list_add(&cd->others, &cache_list); in sunrpc_init_cache_detail()
427 if (list_empty(&cache_list)) { in sunrpc_destroy_cache_detail()
453 next = cache_list.next; in cache_clean()
[all …]
/linux/arch/powerpc/kernel/
H A Dcacheinfo.c132 static LIST_HEAD(cache_list);
152 list_add(&cache->list, &cache_list); in cache_init()
171 list_for_each_entry(iter, &cache_list, list) in release_cache_debugcheck()
313 list_for_each_entry(iter, &cache_list, list) in cache_find_first_sibling()
329 list_for_each_entry(iter, &cache_list, list) { in cache_lookup_by_node_group()
811 struct cache *cache_list) in cacheinfo_sysfs_populate() argument
821 cache = cache_list; in cacheinfo_sysfs_populate()
/linux/drivers/gpu/drm/vc4/
H A Dvc4_bo.c548 struct list_head *cache_list; in vc4_free_object() local
579 cache_list = vc4_get_cache_list_for_size(dev, gem_bo->size); in vc4_free_object()
580 if (!cache_list) { in vc4_free_object()
598 list_add(&bo->size_head, cache_list); in vc4_free_object()