Lines Matching full:orders
1688 * Only allow inherit orders if the top-level value is 'force', which in shmem_allowable_huge_orders()
1718 unsigned long orders) in shmem_suitable_orders() argument
1726 orders = thp_vma_suitable_orders(vma, vmf->address, orders); in shmem_suitable_orders()
1727 if (!orders) in shmem_suitable_orders()
1732 order = highest_order(orders); in shmem_suitable_orders()
1733 while (orders) { in shmem_suitable_orders()
1747 order = next_order(&orders, order); in shmem_suitable_orders()
1750 return orders; in shmem_suitable_orders()
1755 unsigned long orders) in shmem_suitable_orders() argument
1777 struct mm_struct *fault_mm, unsigned long orders) in shmem_alloc_and_add_folio() argument
1787 orders = 0; in shmem_alloc_and_add_folio()
1789 if (orders > 0) { in shmem_alloc_and_add_folio()
1791 mapping, index, orders); in shmem_alloc_and_add_folio()
2239 unsigned long orders = 0; in shmem_get_folio_gfp() local
2311 /* Find hugepage orders that are allowed for anonymous shmem and tmpfs. */ in shmem_get_folio_gfp()
2312 orders = shmem_allowable_huge_orders(inode, vma, index, write_end, false); in shmem_get_folio_gfp()
2313 if (orders > 0) { in shmem_get_folio_gfp()
2319 inode, index, fault_mm, orders); in shmem_get_folio_gfp()