Searched refs:agpref (Results 1 – 1 of 1) sorted by relevance
600 int agpref; in dbNextAG() local615 agpref = bmp->db_agpref; in dbNextAG()616 if ((atomic_read(&bmp->db_active[agpref]) == 0) && in dbNextAG()617 (bmp->db_agfree[agpref] >= avgfree)) in dbNextAG()623 for (i = 0 ; i < bmp->db_numag; i++, agpref++) { in dbNextAG()624 if (agpref == bmp->db_numag) in dbNextAG()625 agpref = 0; in dbNextAG()627 if (atomic_read(&bmp->db_active[agpref])) in dbNextAG()630 if (bmp->db_agfree[agpref] >= avgfree) { in dbNextAG()632 bmp->db_agpref = agpref; in dbNextAG()[all …]