Lines Matching refs:referenced
541 int none_or_zero = 0, result = 0, referenced = 0; in __collapse_huge_page_isolate() local
629 referenced++; in __collapse_huge_page_isolate()
634 } else if (unlikely(!referenced)) { in __collapse_huge_page_isolate()
639 referenced, writable, result); in __collapse_huge_page_isolate()
645 referenced, writable, result); in __collapse_huge_page_isolate()
911 int referenced) in __collapse_huge_page_swapin() argument
924 if (referenced < HPAGE_PMD_NR/2) { in __collapse_huge_page_swapin()
925 trace_mm_collapse_huge_page_swapin(mm, swapped_in, referenced, 0); in __collapse_huge_page_swapin()
942 trace_mm_collapse_huge_page_swapin(mm, swapped_in, referenced, 0); in __collapse_huge_page_swapin()
947 trace_mm_collapse_huge_page_swapin(mm, swapped_in, referenced, 0); in __collapse_huge_page_swapin()
952 trace_mm_collapse_huge_page_swapin(mm, swapped_in, referenced, 0); in __collapse_huge_page_swapin()
960 trace_mm_collapse_huge_page_swapin(mm, swapped_in, referenced, 1); in __collapse_huge_page_swapin()
967 int node, int referenced) in collapse_huge_page() argument
1024 if (!__collapse_huge_page_swapin(mm, vma, address, pmd, referenced)) { in collapse_huge_page()
1138 int ret = 0, none_or_zero = 0, result = 0, referenced = 0; in khugepaged_scan_pmd() local
1231 referenced++; in khugepaged_scan_pmd()
1234 if (referenced) { in khugepaged_scan_pmd()
1248 collapse_huge_page(mm, address, hpage, node, referenced); in khugepaged_scan_pmd()
1251 trace_mm_khugepaged_scan_pmd(mm, page, writable, referenced, in khugepaged_scan_pmd()