Searched refs:NUM_CACHE_BUCKETS (Results 1 – 3 of 3) sorted by relevance
79 #define NUM_CACHE_BUCKETS 16 macro80 #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];
1061 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 …]
36 const uint32_t NUM_CACHE_BUCKETS = 16; variable194 NUM_CACHE_BUCKETS, maxCacheSize, cacheCullSize)); in getLocalCache()