Searched refs:pdir_order (Results 1 – 1 of 1) sorted by relevance
1145 unsigned long pdir_order = get_order(pdir_size); in sba_alloc_pdir() local1147 pdir_base = __get_free_pages(GFP_KERNEL, pdir_order); in sba_alloc_pdir()1182 if (pdir_order <= (19-12)) { in sba_alloc_pdir()1187 free_pages(pdir_base, pdir_order); in sba_alloc_pdir()1192 while (pdir_order < (19-12)) { in sba_alloc_pdir()1194 free_pages(new_pdir, pdir_order); in sba_alloc_pdir()1195 pdir_order +=1; in sba_alloc_pdir()1204 unsigned long new_pdir = __get_free_pages(GFP_KERNEL, pdir_order+1); /* 2 or 4MB */ in sba_alloc_pdir()1207 free_pages( pdir_base, pdir_order); in sba_alloc_pdir()1214 if (pdir_order > (20-12)) { in sba_alloc_pdir()