Lines Matching full:bucket
56 /* don't break the bucket if this bo was found in one */
95 struct fd_bo_bucket *bucket = &dev->cache_bucket[i];
98 while (!LIST_IS_EMPTY(&bucket->list)) {
99 bo = LIST_ENTRY(struct fd_bo, bucket->list.next, list);
118 * way to the correct bucket size rather than looping..
121 struct fd_bo_bucket *bucket = &dev->cache_bucket[i];
122 if (bucket->size >= size) {
123 return bucket;
139 struct fd_bo_bucket *bucket, uint32_t flags)
151 while (!LIST_IS_EMPTY(&bucket->list)) {
152 bo = LIST_ENTRY(struct fd_bo, bucket->list.next, list);
177 struct fd_bo_bucket *bucket;
182 bucket = get_bucket(dev, size);
185 if (bucket) {
186 size = bucket->size;
187 bo = find_in_bucket(dev, bucket, flags);
304 struct fd_bo_bucket *bucket = get_bucket(dev, bo->size);
307 if (bucket) {
313 list_addtail(&bo->list, &bucket->list);
316 /* bo's in the bucket cache don't have a ref and
336 /* TODO probably bo's in bucket list get removed from