Lines Matching defs:holds
519 int64_t holds;
531 holds = zfs_refcount_count(&db->db_holds);
534 * Immediate eviction occurs when holds == dirtycnt.
535 * For normal eviction buffers, holds is zero on
540 * test the generic invariant that holds >= dirtycnt.
542 ASSERT3U(holds, >=, db->db_dirtycnt);
545 ASSERT3U(holds, >=, db->db_dirtycnt);
547 ASSERT3U(holds, >, 0);
3125 * encrypted arc buffer while additional holds exist on the
4051 int64_t holds = zfs_refcount_add(&db->db_holds, tag);
4052 VERIFY3S(holds, >, 1);
4115 int64_t holds;
4126 holds = zfs_refcount_remove(&db->db_holds, tag);
4127 ASSERT(holds >= 0);
4134 holds == (db->db_level == 0 ? db->db_dirtycnt : 0)) {
4138 if (holds == db->db_dirtycnt &&
4142 if (holds == 0) {
4238 uint64_t holds;
4243 holds = zfs_refcount_count(&db->db_holds) - db->db_dirtycnt;
4246 return (holds);
4785 * are active holds and db_data still references it),