Lines Matching defs:slots
111 struct memexport_slot slots[PA_MEMEXPORT_SLOTS_MAX];
161 /* A list of free slots that may be reused */
341 * take the largest size that fits in one of our slots. */
620 /* The free list dimensions should easily allow all slots
817 pa_log_debug("Using %s memory pool with %u slots of size %s each, total size is"
1317 pa_memexport_process_release(e, (uint32_t) (e->used_slots - e->slots + e->baseidx));
1344 if (!e->slots[id].block)
1347 b = e->slots[id].block;
1348 e->slots[id].block = NULL;
1350 PA_LLIST_REMOVE(struct memexport_slot, e->used_slots, &e->slots[id]);
1351 PA_LLIST_PREPEND(struct memexport_slot, e->free_slots, &e->slots[id]);
1389 idx = (uint32_t) (slot - e->slots + e->baseidx);
1443 slot = &e->slots[e->n_init++];
1452 *block_id = (uint32_t) (slot - e->slots + e->baseidx);