Lines Matching refs:vm_flags
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)))
264 unsigned long vm_flags,
285 unsigned long vm_flags, in thp_vma_allowable_orders() argument
293 if (vm_flags & VM_HUGEPAGE) in thp_vma_allowable_orders()
296 ((vm_flags & VM_HUGEPAGE) && hugepage_global_enabled())) in thp_vma_allowable_orders()
304 return __thp_vma_allowable_orders(vma, vm_flags, tva_flags, orders); in thp_vma_allowable_orders()
320 unsigned long vm_flags) in vma_thp_disabled() argument
327 return (vm_flags & VM_NOHUGEPAGE) || in vma_thp_disabled()
341 vm_flags_t vm_flags);
435 int hugepage_madvise(struct vm_area_struct *vma, unsigned long *vm_flags,
530 unsigned long vm_flags, in thp_vma_allowable_orders() argument
544 unsigned long flags, vm_flags_t vm_flags) in thp_get_unmapped_area_vmflags() argument
599 unsigned long *vm_flags, int advice) in hugepage_madvise() argument