Searched refs:bucket_index (Results 1 - 8 of 8) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/pipebuffer/
H A Dpb_cache.h45 unsigned bucket_index; member in struct:pb_cache_entry
71 unsigned bucket_index);
74 struct pb_buffer *buf, unsigned bucket_index);
H A Dpb_cache.c86 struct list_head *cache = &mgr->buckets[entry->bucket_index];
149 unsigned bucket_index)
157 assert(bucket_index < mgr->num_heaps);
158 struct list_head *cache = &mgr->buckets[bucket_index];
251 struct pb_buffer *buf, unsigned bucket_index)
253 assert(bucket_index < mgr->num_heaps);
258 entry->bucket_index = bucket_index;
265 * @param num_heaps Number of separate caches/buckets indexed by bucket_index
147 pb_cache_reclaim_buffer(struct pb_cache * mgr,pb_size size,unsigned alignment,unsigned usage,unsigned bucket_index) argument
250 pb_cache_init_entry(struct pb_cache * mgr,struct pb_cache_entry * entry,struct pb_buffer * buf,unsigned bucket_index) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/pipebuffer/
H A Dpb_cache.h46 unsigned bucket_index; member in struct:pb_cache_entry
73 unsigned bucket_index);
76 struct pb_buffer *buf, unsigned bucket_index);
H A Dpb_cache.c86 struct list_head *cache = &mgr->buckets[entry->bucket_index];
149 unsigned bucket_index)
157 assert(bucket_index < mgr->num_heaps);
158 struct list_head *cache = &mgr->buckets[bucket_index];
251 struct pb_buffer *buf, unsigned bucket_index)
253 assert(bucket_index < mgr->num_heaps);
258 entry->bucket_index = bucket_index;
265 * @param num_heaps Number of separate caches/buckets indexed by bucket_index
147 pb_cache_reclaim_buffer(struct pb_cache * mgr,pb_size size,unsigned alignment,unsigned usage,unsigned bucket_index) argument
250 pb_cache_init_entry(struct pb_cache * mgr,struct pb_cache_entry * entry,struct pb_buffer * buf,unsigned bucket_index) argument
/xsrc/external/mit/xorg-server.old/dist/hw/xquartz/xpr/
H A Dx-hash.c40 unsigned int bucket_index; member in struct:x_hash_table_struct
70 return bucket_sizes[h->bucket_index];
110 if (h->bucket_index == N_BUCKET_SIZES - 1)
116 h->bucket_index++;
123 h->bucket_index--;
157 h->bucket_index = 0;
/xsrc/external/mit/xorg-server/dist/hw/xquartz/xpr/
H A Dx-hash.c43 unsigned int bucket_index; member in struct:x_hash_table_struct
73 return bucket_sizes[h->bucket_index];
113 if (h->bucket_index == ARRAY_SIZE(bucket_sizes) - 1)
119 h->bucket_index++;
125 h->bucket_index--;
156 h->bucket_index = 0;
/xsrc/external/mit/MesaLib/dist/src/panfrost/lib/
H A Dpan_bo.c163 unsigned bucket_index = util_logbase2(size); local in function:pan_bucket_index
168 bucket_index = MIN2(bucket_index, MAX_BO_CACHE_BUCKET);
173 assert(bucket_index >= MIN_BO_CACHE_BUCKET);
174 assert(bucket_index <= MAX_BO_CACHE_BUCKET);
177 return (bucket_index - MIN_BO_CACHE_BUCKET);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/
H A Dlima_bo.c148 unsigned bucket_index = util_logbase2(size); local in function:lima_bucket_index
152 bucket_index = CLAMP(bucket_index, MIN_BO_CACHE_BUCKET,
156 return (bucket_index - MIN_BO_CACHE_BUCKET);

Completed in 11 milliseconds