Searched refs:agpref (Results 1 – 1 of 1) sorted by relevance
606 int agpref; in dbNextAG() local621 agpref = bmp->db_agpref; in dbNextAG()622 if ((atomic_read(&bmp->db_active[agpref]) == 0) && in dbNextAG()623 (bmp->db_agfree[agpref] >= avgfree)) in dbNextAG()629 for (i = 0 ; i < bmp->db_numag; i++, agpref++) { in dbNextAG()630 if (agpref == bmp->db_numag) in dbNextAG()631 agpref = 0; in dbNextAG()633 if (atomic_read(&bmp->db_active[agpref])) in dbNextAG()636 if (bmp->db_agfree[agpref] >= avgfree) { in dbNextAG()638 bmp->db_agpref = agpref; in dbNextAG()[all …]