Lines Matching defs:incr
351 size_t incr, oldsize, used, usedmem;
358 incr = lrp->increment;
379 incr / ALIGN(sizeof(struct __db_lock), MUTEX_ALIGNMENT));
380 newobjs = (u_int32_t)(obj_ratio * incr / sizeof(DB_LOCKOBJ));
381 newmem = incr -
393 incr += newlocks * sizeof(struct __db_lock);
399 incr += newobjs * sizeof(DB_LOCKOBJ);
404 incr += howmuch * 2 - newmem;
410 newmem += ALIGN(incr, sizeof(size_t)) - incr;
411 incr = ALIGN(incr, sizeof(size_t));
420 incr += ALIGN(oldsize, MUTEX_ALIGNMENT) - oldsize;
426 if ((ret = __db_rgrow(<->reginfo, oldsize + incr)) != 0)
433 lrp->increment = incr << 1;