Lines Matching refs: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
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()
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
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()
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()
4915 while (orders) { in alloc_anon_folio()
4938 order = next_order(&orders, order); in alloc_anon_folio()