Lines Matching refs:current
33 BN_POOL_ITEM *head, *current, *tail; member
292 p->head = p->current = p->tail = NULL; in BN_POOL_init()
305 p->current = p->head->next; in BN_POOL_finish()
307 p->head = p->current; in BN_POOL_finish()
332 p->head = p->current = p->tail = item; in BN_POOL_get()
336 p->current = item; in BN_POOL_get()
345 p->current = p->head; in BN_POOL_get()
347 p->current = p->current->next; in BN_POOL_get()
348 return p->current->vals + ((p->used++) % BN_CTX_POOL_SIZE); in BN_POOL_get()
357 bn_check_top(p->current->vals + offset); in BN_POOL_release()
360 p->current = p->current->prev; in BN_POOL_release()