Lines Matching full:orders
103 unsigned long orders) in __thp_vma_allowable_orders() argument
110 /* Check the intersection of requested and supported orders. */ in __thp_vma_allowable_orders()
118 orders &= supported_orders; in __thp_vma_allowable_orders()
119 if (!orders) in __thp_vma_allowable_orders()
130 return in_pf ? orders : 0; in __thp_vma_allowable_orders()
142 * filtering out the unsuitable orders. in __thp_vma_allowable_orders()
148 int order = highest_order(orders); in __thp_vma_allowable_orders()
151 while (orders) { in __thp_vma_allowable_orders()
155 order = next_order(&orders, order); in __thp_vma_allowable_orders()
158 if (!orders) in __thp_vma_allowable_orders()
168 return orders & shmem_allowable_huge_orders(file_inode(vma->vm_file), in __thp_vma_allowable_orders()
187 return orders; in __thp_vma_allowable_orders()
190 return orders; in __thp_vma_allowable_orders()
205 return (smaps || in_pf) ? orders : 0; in __thp_vma_allowable_orders()
207 return orders; in __thp_vma_allowable_orders()
778 unsigned long orders; in hugepage_init_sysfs() local
807 orders = THP_ORDERS_ALL_ANON | THP_ORDERS_ALL_FILE_DEFAULT; in hugepage_init_sysfs()
808 order = highest_order(orders); in hugepage_init_sysfs()
809 while (orders) { in hugepage_init_sysfs()
817 order = next_order(&orders, order); in hugepage_init_sysfs()
3376 * allocator like split generates folios with orders from @folio's
3960 * After the split, there will be a group of folios with different orders and