Searched refs:n_init (Results 1 – 1 of 1) sorted by relevance
154 unsigned n_init; member195 pa_atomic_t n_init; member304 if ((unsigned) (idx = pa_atomic_inc(&p->n_init)) >= p->n_blocks) in mempool_allocate_slot()305 pa_atomic_dec(&p->n_init); in mempool_allocate_slot()863 pa_atomic_store(&p->n_init, 0); in pa_mempool_new()903 for (i = 0; i < (unsigned) pa_atomic_load(&p->n_init); i++) { in mempool_free()1334 e->n_init = 0; in pa_memexport_new()1376 if (id >= e->n_init) in pa_memexport_process_release()1477 } else if (e->n_init < PA_MEMEXPORT_SLOTS_MAX) in pa_memexport_put()1478 slot = &e->slots[e->n_init++]; in pa_memexport_put()