• Home
  • Raw
  • Download

Lines Matching refs:khugepaged_scan

106 struct khugepaged_scan {  struct
112 static struct khugepaged_scan khugepaged_scan = { argument
113 .mm_head = LIST_HEAD_INIT(khugepaged_scan.mm_head),
453 wakeup = list_empty(&khugepaged_scan.mm_head); in __khugepaged_enter()
454 list_add_tail(&mm_slot->mm_node, &khugepaged_scan.mm_head); in __khugepaged_enter()
491 if (mm_slot && khugepaged_scan.mm_slot != mm_slot) { in __khugepaged_exit()
1915 if (khugepaged_scan.mm_slot) in khugepaged_scan_mm_slot()
1916 mm_slot = khugepaged_scan.mm_slot; in khugepaged_scan_mm_slot()
1918 mm_slot = list_entry(khugepaged_scan.mm_head.next, in khugepaged_scan_mm_slot()
1920 khugepaged_scan.address = 0; in khugepaged_scan_mm_slot()
1921 khugepaged_scan.mm_slot = mm_slot; in khugepaged_scan_mm_slot()
1935 vma = find_vma(mm, khugepaged_scan.address); in khugepaged_scan_mm_slot()
1955 if (khugepaged_scan.address > hend) in khugepaged_scan_mm_slot()
1957 if (khugepaged_scan.address < hstart) in khugepaged_scan_mm_slot()
1958 khugepaged_scan.address = hstart; in khugepaged_scan_mm_slot()
1959 VM_BUG_ON(khugepaged_scan.address & ~HPAGE_PMD_MASK); in khugepaged_scan_mm_slot()
1961 while (khugepaged_scan.address < hend) { in khugepaged_scan_mm_slot()
1967 VM_BUG_ON(khugepaged_scan.address < hstart || in khugepaged_scan_mm_slot()
1968 khugepaged_scan.address + HPAGE_PMD_SIZE > in khugepaged_scan_mm_slot()
1973 khugepaged_scan.address); in khugepaged_scan_mm_slot()
1985 khugepaged_scan.address, in khugepaged_scan_mm_slot()
1989 khugepaged_scan.address += HPAGE_PMD_SIZE; in khugepaged_scan_mm_slot()
2003 VM_BUG_ON(khugepaged_scan.mm_slot != mm_slot); in khugepaged_scan_mm_slot()
2014 if (mm_slot->mm_node.next != &khugepaged_scan.mm_head) { in khugepaged_scan_mm_slot()
2015 khugepaged_scan.mm_slot = list_entry( in khugepaged_scan_mm_slot()
2018 khugepaged_scan.address = 0; in khugepaged_scan_mm_slot()
2020 khugepaged_scan.mm_slot = NULL; in khugepaged_scan_mm_slot()
2032 return !list_empty(&khugepaged_scan.mm_head) && in khugepaged_has_work()
2038 return !list_empty(&khugepaged_scan.mm_head) || in khugepaged_wait_event()
2061 if (!khugepaged_scan.mm_slot) in khugepaged_do_scan()
2115 mm_slot = khugepaged_scan.mm_slot; in khugepaged()
2116 khugepaged_scan.mm_slot = NULL; in khugepaged()
2185 if (!list_empty(&khugepaged_scan.mm_head)) in start_stop_khugepaged()