Home
last modified time | relevance | path

Searched refs:NUM_CACHE_BUCKETS (Results 1 – 3 of 3) sorted by relevance

/dports/x11-drivers/xf86-video-intel/xf86-video-intel-31486f40f8e8f8923ca0799aea84b58799754564/src/sna/
H A Dkgem.h79 #define NUM_CACHE_BUCKETS 16 macro
80 #define MAX_CACHE_SIZE (1 << (NUM_CACHE_BUCKETS+12))
150 struct list active[NUM_CACHE_BUCKETS][3];
151 struct list inactive[NUM_CACHE_BUCKETS];
163 struct list inactive[NUM_CACHE_BUCKETS];
H A Dkgem.c1061 assert(cache_bucket(num_pages) < NUM_CACHE_BUCKETS); in inactive()
1068 assert(cache_bucket(num_pages) < NUM_CACHE_BUCKETS); in active()
2651 if (bucket(bo) >= NUM_CACHE_BUCKETS) { in kgem_bo_move_to_inactive()
3057 if (bucket(bo) < NUM_CACHE_BUCKETS) in __kgem_bo_destroy()
3068 if (bo->map__cpu == NULL || bucket(bo) >= NUM_CACHE_BUCKETS) { in __kgem_bo_destroy()
5542 if (bucket >= NUM_CACHE_BUCKETS) { in kgem_create_2d()
5723 retry = NUM_CACHE_BUCKETS - bucket; in kgem_create_2d()
5727 assert(bucket < NUM_CACHE_BUCKETS); in kgem_create_2d()
5891 retry = NUM_CACHE_BUCKETS - bucket; in kgem_create_2d()
5896 assert(bucket < NUM_CACHE_BUCKETS); in kgem_create_2d()
[all …]
/dports/net/wangle/wangle-2021.12.27.00/wangle/ssl/
H A DSSLSessionCacheManager.cpp36 const uint32_t NUM_CACHE_BUCKETS = 16; variable
194 NUM_CACHE_BUCKETS, maxCacheSize, cacheCullSize)); in getLocalCache()