Lines Matching refs:orders
4085 unsigned long orders) in thp_swap_suitable_orders() argument
4089 order = highest_order(orders); in thp_swap_suitable_orders()
4096 while (orders) { in thp_swap_suitable_orders()
4100 order = next_order(&orders, order); in thp_swap_suitable_orders()
4103 return orders; in thp_swap_suitable_orders()
4109 unsigned long orders; in alloc_swap_folio() local
4138 orders = thp_vma_allowable_orders(vma, vma->vm_flags, in alloc_swap_folio()
4140 orders = thp_vma_suitable_orders(vma, vmf->address, orders); in alloc_swap_folio()
4141 orders = thp_swap_suitable_orders(swp_offset(entry), in alloc_swap_folio()
4142 vmf->address, orders); in alloc_swap_folio()
4144 if (!orders) in alloc_swap_folio()
4156 order = highest_order(orders); in alloc_swap_folio()
4157 while (orders) { in alloc_swap_folio()
4161 order = next_order(&orders, order); in alloc_swap_folio()
4168 while (orders) { in alloc_swap_folio()
4177 order = next_order(&orders, order); in alloc_swap_folio()
4657 unsigned long orders; in alloc_anon_folio() local
4676 orders = thp_vma_allowable_orders(vma, vma->vm_flags, in alloc_anon_folio()
4678 orders = thp_vma_suitable_orders(vma, vmf->address, orders); in alloc_anon_folio()
4680 if (!orders) in alloc_anon_folio()
4692 order = highest_order(orders); in alloc_anon_folio()
4693 while (orders) { in alloc_anon_folio()
4697 order = next_order(&orders, order); in alloc_anon_folio()
4702 if (!orders) in alloc_anon_folio()
4707 while (orders) { in alloc_anon_folio()
4722 order = next_order(&orders, order); in alloc_anon_folio()