Searched refs:tva_flags (Results 1 – 3 of 3) sorted by relevance
| /linux-6.15/include/linux/ |
| H A D | huge_mm.h | 99 #define thp_vma_allowable_order(vma, vm_flags, tva_flags, order) \ argument 100 (!!thp_vma_allowable_orders(vma, vm_flags, tva_flags, BIT(order))) 265 unsigned long tva_flags, 286 unsigned long tva_flags, in thp_vma_allowable_orders() argument 290 if ((tva_flags & TVA_ENFORCE_SYSFS) && vma_is_anonymous(vma)) { in thp_vma_allowable_orders() 304 return __thp_vma_allowable_orders(vma, vm_flags, tva_flags, orders); in thp_vma_allowable_orders() 531 unsigned long tva_flags, in thp_vma_allowable_orders() argument
|
| /linux-6.15/mm/ |
| H A D | huge_memory.c | 103 unsigned long tva_flags, in __thp_vma_allowable_orders() argument 106 bool smaps = tva_flags & TVA_SMAPS; in __thp_vma_allowable_orders() 107 bool in_pf = tva_flags & TVA_IN_PF; in __thp_vma_allowable_orders() 108 bool enforce_sysfs = tva_flags & TVA_ENFORCE_SYSFS; in __thp_vma_allowable_orders()
|
| H A D | khugepaged.c | 926 unsigned long tva_flags = cc->is_khugepaged ? TVA_ENFORCE_SYSFS : 0; in hugepage_vma_revalidate() local 937 if (!thp_vma_allowable_order(vma, vma->vm_flags, tva_flags, PMD_ORDER)) in hugepage_vma_revalidate()
|