Lines Matching refs:sgllen
1106 int sgllen; in page_get_contigpage() local
1123 sgllen = mattr->dma_attr_sgllen; in page_get_contigpage()
1134 minctg = howmany(*pgcnt, sgllen); in page_get_contigpage()
1146 sgllen = 1; in page_get_contigpage()
1170 sgllen--; in page_get_contigpage()
1174 if (!*pgcnt || ((*pgcnt <= sgllen) && !pfnalign)) { in page_get_contigpage()
1180 minctg = howmany(*pgcnt, sgllen); in page_get_contigpage()
1204 sgllen--; in page_get_contigpage()
1209 if (!*pgcnt || ((*pgcnt <= sgllen) && !pfnalign)) { in page_get_contigpage()
1215 minctg = howmany(*pgcnt, sgllen); in page_get_contigpage()
2810 int align, sgllen; in page_get_contigpages() local
2818 sgllen = mattr->dma_attr_sgllen; in page_get_contigpages()
2851 minctg = howmany(npages, sgllen); in page_get_contigpages()
2852 while (npages > sgllen || getone) { in page_get_contigpages()
2912 sgllen--; in page_get_contigpages()