Lines Matching refs:db_dirtycnt
337 ASSERT3U(holds, >=, db->db_dirtycnt);
340 ASSERT3U(holds, >=, db->db_dirtycnt);
773 if (db->db_dirtycnt == 0) {
1067 } else if (refcount_count(&db->db_holds) > db->db_dirtycnt) {
1679 db->db_dirtycnt += 1;
1680 ASSERT3U(db->db_dirtycnt, <=, 3);
1858 ASSERT(db->db_dirtycnt > 0);
1859 db->db_dirtycnt -= 1;
2023 refcount_count(&db->db_holds) - 1 > db->db_dirtycnt) {
2244 db->db_dirtycnt = 0;
2710 if (db == found_db && dbuf_refcount(db) > db->db_dirtycnt) {
2741 * db_dirtycnt and db_holds to be updated atomically.
2764 holds == (db->db_level == 0 ? db->db_dirtycnt : 0)) {
2768 if (holds == db->db_dirtycnt &&
3110 ASSERT(db->db_dirtycnt > 0);
3111 db->db_dirtycnt -= 1;
3459 ASSERT(db->db_dirtycnt > 0);
3460 db->db_dirtycnt -= 1;