Searched refs:pdir_order (Results 1 – 1 of 1) sorted by relevance
1138 unsigned long pdir_order = get_order(pdir_size); in sba_alloc_pdir() local1140 pdir_base = __get_free_pages(GFP_KERNEL, pdir_order); in sba_alloc_pdir()1175 if (pdir_order <= (19-12)) { in sba_alloc_pdir()1180 free_pages(pdir_base, pdir_order); in sba_alloc_pdir()1185 while (pdir_order < (19-12)) { in sba_alloc_pdir()1187 free_pages(new_pdir, pdir_order); in sba_alloc_pdir()1188 pdir_order +=1; in sba_alloc_pdir()1197 unsigned long new_pdir = __get_free_pages(GFP_KERNEL, pdir_order+1); /* 2 or 4MB */ in sba_alloc_pdir()1200 free_pages( pdir_base, pdir_order); in sba_alloc_pdir()1207 if (pdir_order > (20-12)) { in sba_alloc_pdir()