Home
last modified time | relevance | path

Searched refs:tva_flags (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/include/linux/
Dhuge_mm.h96 #define thp_vma_allowable_order(vma, vm_flags, tva_flags, order) \ argument
97 (!!thp_vma_allowable_orders(vma, vm_flags, tva_flags, BIT(order)))
271 unsigned long tva_flags,
292 unsigned long tva_flags, in thp_vma_allowable_orders() argument
296 if ((tva_flags & TVA_ENFORCE_SYSFS) && vma_is_anonymous(vma)) { in thp_vma_allowable_orders()
310 return __thp_vma_allowable_orders(vma, vm_flags, tva_flags, orders); in thp_vma_allowable_orders()
507 unsigned long tva_flags, in thp_vma_allowable_orders() argument
/linux-6.12.1/mm/
Dhuge_memory.c89 unsigned long tva_flags, in __thp_vma_allowable_orders() argument
92 bool smaps = tva_flags & TVA_SMAPS; in __thp_vma_allowable_orders()
93 bool in_pf = tva_flags & TVA_IN_PF; in __thp_vma_allowable_orders()
94 bool enforce_sysfs = tva_flags & TVA_ENFORCE_SYSFS; in __thp_vma_allowable_orders()
Dkhugepaged.c922 unsigned long tva_flags = cc->is_khugepaged ? TVA_ENFORCE_SYSFS : 0; in hugepage_vma_revalidate() local
933 if (!thp_vma_allowable_order(vma, vma->vm_flags, tva_flags, PMD_ORDER)) in hugepage_vma_revalidate()