Lines Matching full:orders
90 unsigned long orders) in __thp_vma_allowable_orders() argument
97 /* Check the intersection of requested and supported orders. */ in __thp_vma_allowable_orders()
105 orders &= supported_orders; in __thp_vma_allowable_orders()
106 if (!orders) in __thp_vma_allowable_orders()
117 return in_pf ? orders : 0; in __thp_vma_allowable_orders()
129 * filtering out the unsuitable orders. in __thp_vma_allowable_orders()
135 int order = highest_order(orders); in __thp_vma_allowable_orders()
138 while (orders) { in __thp_vma_allowable_orders()
142 order = next_order(&orders, order); in __thp_vma_allowable_orders()
145 if (!orders) in __thp_vma_allowable_orders()
174 return orders; in __thp_vma_allowable_orders()
177 return orders; in __thp_vma_allowable_orders()
192 return (smaps || in_pf) ? orders : 0; in __thp_vma_allowable_orders()
194 return orders; in __thp_vma_allowable_orders()
747 unsigned long orders; in hugepage_init_sysfs() local
776 orders = THP_ORDERS_ALL_ANON | THP_ORDERS_ALL_FILE_DEFAULT; in hugepage_init_sysfs()
777 order = highest_order(orders); in hugepage_init_sysfs()
778 while (orders) { in hugepage_init_sysfs()
786 order = next_order(&orders, order); in hugepage_init_sysfs()