Searched refs:tva_flags (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/include/linux/ |
D | huge_mm.h | 96 #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/ |
D | huge_memory.c | 89 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()
|
D | khugepaged.c | 922 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()
|