Lines Matching full:orders
85 unsigned long orders) in __thp_vma_allowable_orders() argument
87 /* Check the intersection of requested and supported orders. */ in __thp_vma_allowable_orders()
88 orders &= vma_is_anonymous(vma) ? in __thp_vma_allowable_orders()
90 if (!orders) in __thp_vma_allowable_orders()
112 return in_pf ? orders : 0; in __thp_vma_allowable_orders()
124 * filtering out the unsuitable orders. in __thp_vma_allowable_orders()
130 int order = highest_order(orders); in __thp_vma_allowable_orders()
133 while (orders) { in __thp_vma_allowable_orders()
137 order = next_order(&orders, order); in __thp_vma_allowable_orders()
140 if (!orders) in __thp_vma_allowable_orders()
152 ? orders : 0; in __thp_vma_allowable_orders()
169 return orders; in __thp_vma_allowable_orders()
172 return orders; in __thp_vma_allowable_orders()
187 return (smaps || in_pf) ? orders : 0; in __thp_vma_allowable_orders()
189 return orders; in __thp_vma_allowable_orders()
564 unsigned long orders; in hugepage_init_sysfs() local
592 orders = THP_ORDERS_ALL_ANON; in hugepage_init_sysfs()
593 order = highest_order(orders); in hugepage_init_sysfs()
594 while (orders) { in hugepage_init_sysfs()
602 order = next_order(&orders, order); in hugepage_init_sysfs()