Lines Matching defs:priority
25 __memp_fput_pp(dbmfp, pgaddr, priority, flags)
28 DB_CACHE_PRIORITY priority;
44 ret = __memp_fput(dbmfp, ip, pgaddr, priority);
61 __memp_fput(dbmfp, ip, pgaddr, priority)
65 DB_CACHE_PRIORITY priority;
178 * discard flags (for now) and leave the buffer's priority alone.
188 /* Update priority values. */
189 if (priority == DB_PRIORITY_VERY_LOW ||
190 mfp->priority == MPOOL_PRI_VERY_LOW)
191 bhp->priority = 0;
196 * only means a buffer has the wrong priority.
198 bhp->priority = c_mp->lru_count;
200 switch (priority) {
203 pfactor = mfp->priority;
230 if (UINT32_MAX - bhp->priority >= (u_int32_t)adjust)
231 bhp->priority += adjust;
233 if (bhp->priority > (u_int32_t)-adjust)
234 bhp->priority += adjust;
274 u_int32_t bucket, priority;
283 /* Adjust the priority of every buffer in the system. */
304 priority = 0;
308 if (tbhp->priority != UINT32_MAX &&
309 tbhp->priority > MPOOL_BASE_DECREMENT) {
310 tbhp->priority -= MPOOL_BASE_DECREMENT;
311 if (tbhp->priority < priority)
312 tbhp->priority = priority;
315 priority = bhp->priority;