Lines Matching full:orders

4464 						     unsigned long orders)  in thp_swap_suitable_orders()  argument
4468 order = highest_order(orders); in thp_swap_suitable_orders()
4475 while (orders) { in thp_swap_suitable_orders()
4479 order = next_order(&orders, order); in thp_swap_suitable_orders()
4482 return orders; in thp_swap_suitable_orders()
4488 unsigned long orders; in alloc_swap_folio() local
4514 * Get a list of all the (large) orders below PMD_ORDER that are enabled in alloc_swap_folio()
4517 orders = thp_vma_allowable_orders(vma, vma->vm_flags, TVA_PAGEFAULT, in alloc_swap_folio()
4519 orders = thp_vma_suitable_orders(vma, vmf->address, orders); in alloc_swap_folio()
4520 orders = thp_swap_suitable_orders(swp_offset(entry), in alloc_swap_folio()
4521 vmf->address, orders); in alloc_swap_folio()
4523 if (!orders) in alloc_swap_folio()
4535 order = highest_order(orders); in alloc_swap_folio()
4536 while (orders) { in alloc_swap_folio()
4540 order = next_order(&orders, order); in alloc_swap_folio()
4545 /* Try allocating the highest of the remaining orders. */ in alloc_swap_folio()
4547 while (orders) { in alloc_swap_folio()
4558 order = next_order(&orders, order); in alloc_swap_folio()
5047 unsigned long orders; in alloc_anon_folio() local
5062 * Get a list of all the (large) orders below PMD_ORDER that are enabled in alloc_anon_folio()
5063 * for this vma. Then filter out the orders that can't be allocated over in alloc_anon_folio()
5066 orders = thp_vma_allowable_orders(vma, vma->vm_flags, TVA_PAGEFAULT, in alloc_anon_folio()
5068 orders = thp_vma_suitable_orders(vma, vmf->address, orders); in alloc_anon_folio()
5070 if (!orders) in alloc_anon_folio()
5079 * pte_none(). Note that all remaining orders will be completely in alloc_anon_folio()
5082 order = highest_order(orders); in alloc_anon_folio()
5083 while (orders) { in alloc_anon_folio()
5087 order = next_order(&orders, order); in alloc_anon_folio()
5092 if (!orders) in alloc_anon_folio()
5095 /* Try allocating the highest of the remaining orders. */ in alloc_anon_folio()
5097 while (orders) { in alloc_anon_folio()
5120 order = next_order(&orders, order); in alloc_anon_folio()