Searched refs:pdir_order (Results 1 – 1 of 1) sorted by relevance
1450 unsigned long pdir_order = get_order(pdir_size); in sba_alloc_pdir() local1452 pdir_base = __get_free_pages(GFP_KERNEL, pdir_order); in sba_alloc_pdir()1485 if (pdir_order <= (19-12)) { in sba_alloc_pdir()1490 free_pages(pdir_base, pdir_order); in sba_alloc_pdir()1495 while (pdir_order < (19-12)) { in sba_alloc_pdir()1497 free_pages(new_pdir, pdir_order); in sba_alloc_pdir()1498 pdir_order +=1; in sba_alloc_pdir()1507 unsigned long new_pdir = __get_free_pages(GFP_KERNEL, pdir_order+1); /* 2 or 4MB */ in sba_alloc_pdir()1510 free_pages( pdir_base, pdir_order); in sba_alloc_pdir()1517 if (pdir_order > (20-12)) { in sba_alloc_pdir()