Lines Matching defs:holds
253 int64_t holds;
265 holds = refcount_count(&db->db_holds);
268 * Immediate eviction occurs when holds == dirtycnt.
269 * For normal eviction buffers, holds is zero on
274 * test the generic invariant that holds >= dirtycnt.
276 ASSERT3U(holds, >=, db->db_dirtycnt);
279 ASSERT3U(holds, >=, db->db_dirtycnt);
281 ASSERT3U(holds, >, 0);
2376 int64_t holds = refcount_add(&db->db_holds, tag);
2377 ASSERT(holds > 1);
2431 int64_t holds;
2441 holds = refcount_remove(&db->db_holds, tag);
2442 ASSERT(holds >= 0);
2448 if (db->db_buf && holds == (db->db_level == 0 ? db->db_dirtycnt : 0))
2451 if (holds == db->db_dirtycnt &&
2455 if (holds == 0) {
2815 * are active holds and db_data still references it),