Lines Matching refs:holds
182 * fail if there are any existing holds on the db.
2015 int64_t holds = refcount_add(&db->db_holds, tag);
2016 ASSERT(holds > 1);
2041 int64_t holds;
2051 holds = refcount_remove(&db->db_holds, tag);
2052 ASSERT(holds >= 0);
2058 if (db->db_buf && holds == (db->db_level == 0 ? db->db_dirtycnt : 0))
2061 if (holds == db->db_dirtycnt &&
2065 if (holds == 0) {
2400 * are active holds and db_data still references it),