Home
last modified time | relevance | path

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

/linux-6.6.21/fs/exfat/
Dcache.c23 struct list_head cache_list; member
42 INIT_LIST_HEAD(&cache->cache_list); in exfat_cache_init_once()
70 WARN_ON(!list_empty(&cache->cache_list)); in exfat_cache_free()
79 if (ei->cache_lru.next != &cache->cache_list) in exfat_cache_update_lru()
80 list_move(&cache->cache_list, &ei->cache_lru); in exfat_cache_update_lru()
93 list_for_each_entry(p, &ei->cache_lru, cache_list) { in exfat_cache_lookup()
126 list_for_each_entry(p, &ei->cache_lru, cache_list) { in exfat_cache_merge()
177 struct exfat_cache, cache_list); in exfat_cache_add()
200 struct exfat_cache, cache_list); in __exfat_cache_inval_inode()
201 list_del_init(&cache->cache_list); in __exfat_cache_inval_inode()
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dintel_gt_buffer_pool.c24 if (n >= ARRAY_SIZE(pool->cache_list)) in bucket_for_size()
25 n = ARRAY_SIZE(pool->cache_list) - 1; in bucket_for_size()
27 return &pool->cache_list[n]; in bucket_for_size()
44 for (n = 0; n < ARRAY_SIZE(pool->cache_list); n++) { in pool_free_older_than()
45 struct list_head *list = &pool->cache_list[n]; in pool_free_older_than()
226 for (n = 0; n < ARRAY_SIZE(pool->cache_list); n++) in intel_gt_init_buffer_pool()
227 INIT_LIST_HEAD(&pool->cache_list[n]); in intel_gt_init_buffer_pool()
246 for (n = 0; n < ARRAY_SIZE(pool->cache_list); n++) in intel_gt_fini_buffer_pool()
247 GEM_BUG_ON(!list_empty(&pool->cache_list[n])); in intel_gt_fini_buffer_pool()
Dintel_gt_buffer_pool_types.h18 struct list_head cache_list[4]; member
/linux-6.6.21/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-6.6.21/net/sunrpc/
Dcache.c48 INIT_HLIST_NODE(&h->cache_list); in cache_init()
69 hlist_for_each_entry_rcu(tmp, head, cache_list) { in sunrpc_cache_find_rcu()
87 hlist_del_init_rcu(&ch->cache_list); in sunrpc_begin_cache_remove_entry()
119 hlist_for_each_entry_rcu(tmp, head, cache_list, in sunrpc_cache_add_entry()
136 hlist_add_head_rcu(&new->cache_list, head); in sunrpc_cache_add_entry()
233 hlist_add_head(&tmp->cache_list, &detail->hash_table[hash]); in sunrpc_cache_update()
377 static LIST_HEAD(cache_list);
395 list_add(&cd->others, &cache_list); in sunrpc_init_cache_detail()
413 if (list_empty(&cache_list)) { in sunrpc_destroy_cache_detail()
439 next = cache_list.next; in cache_clean()
[all …]
/linux-6.6.21/arch/powerpc/kernel/
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-6.6.21/drivers/gpu/drm/vc4/
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()
/linux-6.6.21/include/linux/sunrpc/
Dcache.h48 struct hlist_node cache_list; member