Home
last modified time | relevance | path

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

/linux/mm/
H A Dhuge_memory.c117 const bool in_pf = type == TVA_PAGEFAULT; in __thp_vma_allowable_orders() local
141 return in_pf ? orders : 0; in __thp_vma_allowable_orders()
148 if (!in_pf && !smaps && (vm_flags & VM_NO_KHUGEPAGED)) in __thp_vma_allowable_orders()
158 if (!in_pf) { in __thp_vma_allowable_orders()
178 if (!in_pf && shmem_file(vma->vm_file)) in __thp_vma_allowable_orders()
197 if (((in_pf || smaps)) && vma->vm_ops->huge_fault) in __thp_vma_allowable_orders()
200 if (((!in_pf || smaps)) && file_thp_enabled(vma)) in __thp_vma_allowable_orders()
216 return (smaps || in_pf) ? orders : 0; in __thp_vma_allowable_orders()