![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 #ifndef _LINUX_HUGETLB_INLINE_H 0003 #define _LINUX_HUGETLB_INLINE_H 0004 0005 #ifdef CONFIG_HUGETLB_PAGE 0006 0007 #include <linux/mm.h> 0008 0009 static inline bool is_vm_hugetlb_page(struct vm_area_struct *vma) 0010 { 0011 return !!(vma->vm_flags & VM_HUGETLB); 0012 } 0013 0014 #else 0015 0016 static inline bool is_vm_hugetlb_page(struct vm_area_struct *vma) 0017 { 0018 return false; 0019 } 0020 0021 #endif 0022 0023 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |