Lines Matching refs:vm_flags
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)))
270 unsigned long vm_flags,
291 unsigned long vm_flags, in thp_vma_allowable_orders() argument
299 if (vm_flags & VM_HUGEPAGE) in thp_vma_allowable_orders()
302 ((vm_flags & VM_HUGEPAGE) && hugepage_global_enabled())) in thp_vma_allowable_orders()
310 return __thp_vma_allowable_orders(vma, vm_flags, tva_flags, orders); in thp_vma_allowable_orders()
326 unsigned long vm_flags) in vma_thp_disabled() argument
333 return (vm_flags & VM_NOHUGEPAGE) || in vma_thp_disabled()
347 vm_flags_t vm_flags);
411 int hugepage_madvise(struct vm_area_struct *vma, unsigned long *vm_flags,
506 unsigned long vm_flags, in thp_vma_allowable_orders() argument
520 unsigned long flags, vm_flags_t vm_flags) in thp_get_unmapped_area_vmflags() argument
569 unsigned long *vm_flags, int advice) in hugepage_madvise() argument