Lines Matching full:orders

4179 						     unsigned long orders)  in thp_swap_suitable_orders()  argument
4183 order = highest_order(orders); in thp_swap_suitable_orders()
4190 while (orders) { in thp_swap_suitable_orders()
4194 order = next_order(&orders, order); in thp_swap_suitable_orders()
4197 return orders; in thp_swap_suitable_orders()
4203 unsigned long orders; in alloc_swap_folio() local
4229 * Get a list of all the (large) orders below PMD_ORDER that are enabled in alloc_swap_folio()
4232 orders = thp_vma_allowable_orders(vma, vma->vm_flags, in alloc_swap_folio()
4234 orders = thp_vma_suitable_orders(vma, vmf->address, orders); in alloc_swap_folio()
4235 orders = thp_swap_suitable_orders(swp_offset(entry), in alloc_swap_folio()
4236 vmf->address, orders); in alloc_swap_folio()
4238 if (!orders) in alloc_swap_folio()
4250 order = highest_order(orders); in alloc_swap_folio()
4251 while (orders) { in alloc_swap_folio()
4255 order = next_order(&orders, order); in alloc_swap_folio()
4260 /* Try allocating the highest of the remaining orders. */ in alloc_swap_folio()
4262 while (orders) { in alloc_swap_folio()
4273 order = next_order(&orders, order); in alloc_swap_folio()
4753 unsigned long orders; in alloc_anon_folio() local
4768 * Get a list of all the (large) orders below PMD_ORDER that are enabled in alloc_anon_folio()
4769 * for this vma. Then filter out the orders that can't be allocated over in alloc_anon_folio()
4772 orders = thp_vma_allowable_orders(vma, vma->vm_flags, in alloc_anon_folio()
4774 orders = thp_vma_suitable_orders(vma, vmf->address, orders); in alloc_anon_folio()
4776 if (!orders) in alloc_anon_folio()
4785 * pte_none(). Note that all remaining orders will be completely in alloc_anon_folio()
4788 order = highest_order(orders); in alloc_anon_folio()
4789 while (orders) { in alloc_anon_folio()
4793 order = next_order(&orders, order); in alloc_anon_folio()
4798 if (!orders) in alloc_anon_folio()
4801 /* Try allocating the highest of the remaining orders. */ in alloc_anon_folio()
4803 while (orders) { in alloc_anon_folio()
4826 order = next_order(&orders, order); in alloc_anon_folio()