Searched refs:agpref (Results 1 – 1 of 1) sorted by relevance
631 int agpref; in dbNextAG() local646 agpref = bmp->db_agpref; in dbNextAG()647 if ((atomic_read(&bmp->db_active[agpref]) == 0) && in dbNextAG()648 (bmp->db_agfree[agpref] >= avgfree)) in dbNextAG()654 for (i = 0 ; i < bmp->db_numag; i++, agpref++) { in dbNextAG()655 if (agpref >= bmp->db_numag) in dbNextAG()656 agpref = 0; in dbNextAG()658 if (atomic_read(&bmp->db_active[agpref])) in dbNextAG()661 if (bmp->db_agfree[agpref] >= avgfree) { in dbNextAG()663 bmp->db_agpref = agpref; in dbNextAG()[all …]