Lines Matching full:orders
4283 unsigned long orders) in thp_swap_suitable_orders() argument
4287 order = highest_order(orders); in thp_swap_suitable_orders()
4294 while (orders) { in thp_swap_suitable_orders()
4298 order = next_order(&orders, order); in thp_swap_suitable_orders()
4301 return orders; in thp_swap_suitable_orders()
4307 unsigned long orders; in alloc_swap_folio() local
4333 * Get a list of all the (large) orders below PMD_ORDER that are enabled in alloc_swap_folio()
4336 orders = thp_vma_allowable_orders(vma, vma->vm_flags, in alloc_swap_folio()
4338 orders = thp_vma_suitable_orders(vma, vmf->address, orders); in alloc_swap_folio()
4339 orders = thp_swap_suitable_orders(swp_offset(entry), in alloc_swap_folio()
4340 vmf->address, orders); in alloc_swap_folio()
4342 if (!orders) in alloc_swap_folio()
4354 order = highest_order(orders); in alloc_swap_folio()
4355 while (orders) { in alloc_swap_folio()
4359 order = next_order(&orders, order); in alloc_swap_folio()
4364 /* Try allocating the highest of the remaining orders. */ in alloc_swap_folio()
4366 while (orders) { in alloc_swap_folio()
4377 order = next_order(&orders, order); in alloc_swap_folio()
4865 unsigned long orders; in alloc_anon_folio() local
4880 * Get a list of all the (large) orders below PMD_ORDER that are enabled in alloc_anon_folio()
4881 * for this vma. Then filter out the orders that can't be allocated over in alloc_anon_folio()
4884 orders = thp_vma_allowable_orders(vma, vma->vm_flags, in alloc_anon_folio()
4886 orders = thp_vma_suitable_orders(vma, vmf->address, orders); in alloc_anon_folio()
4888 if (!orders) in alloc_anon_folio()
4897 * pte_none(). Note that all remaining orders will be completely in alloc_anon_folio()
4900 order = highest_order(orders); in alloc_anon_folio()
4901 while (orders) { in alloc_anon_folio()
4905 order = next_order(&orders, order); in alloc_anon_folio()
4910 if (!orders) in alloc_anon_folio()
4913 /* Try allocating the highest of the remaining orders. */ in alloc_anon_folio()
4915 while (orders) { in alloc_anon_folio()
4938 order = next_order(&orders, order); in alloc_anon_folio()