Lines Matching refs:used
35 unsigned used, size; member
69 unsigned int used; member
90 while (bnidx < ctx->used) { in ctxdbg()
186 else if (!BN_STACK_push(&ctx->stack, ctx->used)) { in BN_CTX_start()
203 if (fp < ctx->used) in BN_CTX_end()
204 BN_POOL_release(&ctx->pool, ctx->used - fp); in BN_CTX_end()
205 ctx->used = fp; in BN_CTX_end()
232 ctx->used++; in BN_CTX_get()
293 p->used = p->size = 0; in BN_POOL_init()
318 if (p->used == p->size) { in BN_POOL_get()
339 p->used++; in BN_POOL_get()
344 if (!p->used) in BN_POOL_get()
346 else if ((p->used % BN_CTX_POOL_SIZE) == 0) in BN_POOL_get()
348 return p->current->vals + ((p->used++) % BN_CTX_POOL_SIZE); in BN_POOL_get()
353 unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE; in BN_POOL_release()
355 p->used -= num; in BN_POOL_release()