Lines Matching full: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
4135 * Get a list of all the (large) orders below PMD_ORDER that are enabled in alloc_swap_folio()
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()
4166 /* Try allocating the highest of the remaining orders. */ 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
4672 * Get a list of all the (large) orders below PMD_ORDER that are enabled in alloc_anon_folio()
4673 * for this vma. Then filter out the orders that can't be allocated over in alloc_anon_folio()
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()
4689 * pte_none(). Note that all remaining orders will be completely 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()
4705 /* Try allocating the highest of the remaining orders. */ in alloc_anon_folio()
4707 while (orders) { in alloc_anon_folio()
4722 order = next_order(&orders, order); in alloc_anon_folio()