Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/i915/gt/
Dintel_engine_pool.c29 if (n >= ARRAY_SIZE(pool->cache_list)) in bucket_for_size()
30 n = ARRAY_SIZE(pool->cache_list) - 1; in bucket_for_size()
32 return &pool->cache_list[n]; in bucket_for_size()
154 for (n = 0; n < ARRAY_SIZE(pool->cache_list); n++) in intel_engine_pool_init()
155 INIT_LIST_HEAD(&pool->cache_list[n]); in intel_engine_pool_init()
162 for (n = 0; n < ARRAY_SIZE(pool->cache_list); n++) { in intel_engine_pool_park()
163 struct list_head *list = &pool->cache_list[n]; in intel_engine_pool_park()
177 for (n = 0; n < ARRAY_SIZE(pool->cache_list); n++) in intel_engine_pool_fini()
178 GEM_BUG_ON(!list_empty(&pool->cache_list[n])); in intel_engine_pool_fini()
Dintel_engine_pool_types.h19 struct list_head cache_list[4]; member
/Linux-v5.4/fs/fat/
Dcache.c19 struct list_head cache_list; member
43 INIT_LIST_HEAD(&cache->cache_list); in init_once()
69 BUG_ON(!list_empty(&cache->cache_list)); in fat_cache_free()
76 if (MSDOS_I(inode)->cache_lru.next != &cache->cache_list) in fat_cache_update_lru()
77 list_move(&cache->cache_list, &MSDOS_I(inode)->cache_lru); in fat_cache_update_lru()
90 list_for_each_entry(p, &MSDOS_I(inode)->cache_lru, cache_list) { in fat_cache_lookup()
122 list_for_each_entry(p, &MSDOS_I(inode)->cache_lru, cache_list) { in fat_cache_merge()
170 cache = list_entry(p, struct fat_cache, cache_list); in fat_cache_add()
193 struct fat_cache, cache_list); in __fat_cache_inval_inode()
194 list_del_init(&cache->cache_list); in __fat_cache_inval_inode()
/Linux-v5.4/net/sunrpc/
Dcache.c46 INIT_HLIST_NODE(&h->cache_list); in cache_init()
70 hlist_for_each_entry_rcu(tmp, head, cache_list) { in sunrpc_cache_find_rcu()
103 hlist_for_each_entry_rcu(tmp, head, cache_list) { in sunrpc_cache_add_entry()
106 hlist_del_init_rcu(&tmp->cache_list); in sunrpc_cache_add_entry()
121 hlist_add_head_rcu(&new->cache_list, head); in sunrpc_cache_add_entry()
207 hlist_add_head(&tmp->cache_list, &detail->hash_table[hash]); in sunrpc_cache_update()
361 static LIST_HEAD(cache_list);
379 list_add(&cd->others, &cache_list); in sunrpc_init_cache_detail()
397 if (list_empty(&cache_list)) { in sunrpc_destroy_cache_detail()
423 next = cache_list.next; in cache_clean()
[all …]
/Linux-v5.4/arch/powerpc/kernel/
Dcacheinfo.c130 static LIST_HEAD(cache_list);
149 list_add(&cache->list, &cache_list); in cache_init()
167 list_for_each_entry(iter, &cache_list, list) in release_cache_debugcheck()
309 list_for_each_entry(iter, &cache_list, list) in cache_find_first_sibling()
322 list_for_each_entry(iter, &cache_list, list) { in cache_lookup_by_node()
775 struct cache *cache_list) in cacheinfo_sysfs_populate() argument
785 cache = cache_list; in cacheinfo_sysfs_populate()
/Linux-v5.4/drivers/gpu/drm/vc4/
Dvc4_bo.c528 struct list_head *cache_list; in vc4_free_object() local
559 cache_list = vc4_get_cache_list_for_size(dev, gem_bo->size); in vc4_free_object()
560 if (!cache_list) { in vc4_free_object()
578 list_add(&bo->size_head, cache_list); in vc4_free_object()
/Linux-v5.4/include/linux/sunrpc/
Dcache.h47 struct hlist_node cache_list; member