Lines Matching defs:entry
103 /* Return the power of two size of a slab entry matching the input size. */
113 /* Return the slab entry alignment. */
164 bo_can_reclaim_slab(void *priv, struct pb_slab_entry *entry)
166 struct zink_bo *bo = container_of(entry, struct zink_bo, u.slab.entry);
191 //pb_slab_free(get_slabs(screen, bo->base.size, RADEON_FLAG_ENCRYPTED), &bo->u.slab.entry);
193 pb_slab_free(get_slabs(screen, bo->base.size, 0), &bo->u.slab.entry);
569 struct pb_slab_entry *entry;
605 entry = pb_slab_alloc_reclaimed(slabs, alloc_size, heap, reclaim_all);
606 if (!entry) {
610 entry = pb_slab_alloc_reclaimed(slabs, alloc_size, heap, true);
612 if (!entry)
615 bo = container_of(entry, struct zink_bo, u.slab.entry);
1184 /* The slab size is twice the size of the largest possible entry. */
1190 /* If the entry size is 3/4 of a power of two, we would waste space and not gain
1194 * Allocating 5 times the entry size leads us to the next power of two and results
1232 bo->u.slab.entry.slab = &slab->base;
1233 bo->u.slab.entry.group_index = group_index;
1234 bo->u.slab.entry.entry_size = entry_size;
1246 list_addtail(&bo->u.slab.entry.head, &slab->base.free);