Searched refs:agpref (Results 1 – 1 of 1) sorted by relevance
616 int agpref; in dbNextAG() local631 agpref = bmp->db_agpref; in dbNextAG()633 (bmp->db_agfree[agpref] >= avgfree)) in dbNextAG()640 if (agpref >= bmp->db_numag) in dbNextAG()641 agpref = 0; in dbNextAG()643 if (atomic_read(&bmp->db_active[agpref])) in dbNextAG()646 if (bmp->db_agfree[agpref] >= avgfree) { in dbNextAG()648 bmp->db_agpref = agpref; in dbNextAG()650 } else if (bmp->db_agfree[agpref] > hwm) { in dbNextAG()652 hwm = bmp->db_agfree[agpref]; in dbNextAG()[all …]