Searched refs:agpref (Results 1 – 1 of 1) sorted by relevance
649 int agpref; in dbNextAG() local664 agpref = bmp->db_agpref; in dbNextAG()665 if ((atomic_read(&bmp->db_active[agpref]) == 0) && in dbNextAG()666 (bmp->db_agfree[agpref] >= avgfree)) in dbNextAG()672 for (i = 0 ; i < bmp->db_numag; i++, agpref++) { in dbNextAG()673 if (agpref == bmp->db_numag) in dbNextAG()674 agpref = 0; in dbNextAG()676 if (atomic_read(&bmp->db_active[agpref])) in dbNextAG()679 if (bmp->db_agfree[agpref] >= avgfree) { in dbNextAG()681 bmp->db_agpref = agpref; in dbNextAG()[all …]