khugepaged_scan   112 mm/khugepaged.c static struct khugepaged_scan khugepaged_scan = {
khugepaged_scan   113 mm/khugepaged.c 	.mm_head = LIST_HEAD_INIT(khugepaged_scan.mm_head),
khugepaged_scan   453 mm/khugepaged.c 	wakeup = list_empty(&khugepaged_scan.mm_head);
khugepaged_scan   454 mm/khugepaged.c 	list_add_tail(&mm_slot->mm_node, &khugepaged_scan.mm_head);
khugepaged_scan   491 mm/khugepaged.c 	if (mm_slot && khugepaged_scan.mm_slot != mm_slot) {
khugepaged_scan  1916 mm/khugepaged.c 	if (khugepaged_scan.mm_slot)
khugepaged_scan  1917 mm/khugepaged.c 		mm_slot = khugepaged_scan.mm_slot;
khugepaged_scan  1919 mm/khugepaged.c 		mm_slot = list_entry(khugepaged_scan.mm_head.next,
khugepaged_scan  1921 mm/khugepaged.c 		khugepaged_scan.address = 0;
khugepaged_scan  1922 mm/khugepaged.c 		khugepaged_scan.mm_slot = mm_slot;
khugepaged_scan  1936 mm/khugepaged.c 		vma = find_vma(mm, khugepaged_scan.address);
khugepaged_scan  1956 mm/khugepaged.c 		if (khugepaged_scan.address > hend)
khugepaged_scan  1958 mm/khugepaged.c 		if (khugepaged_scan.address < hstart)
khugepaged_scan  1959 mm/khugepaged.c 			khugepaged_scan.address = hstart;
khugepaged_scan  1960 mm/khugepaged.c 		VM_BUG_ON(khugepaged_scan.address & ~HPAGE_PMD_MASK);
khugepaged_scan  1962 mm/khugepaged.c 		while (khugepaged_scan.address < hend) {
khugepaged_scan  1968 mm/khugepaged.c 			VM_BUG_ON(khugepaged_scan.address < hstart ||
khugepaged_scan  1969 mm/khugepaged.c 				  khugepaged_scan.address + HPAGE_PMD_SIZE >
khugepaged_scan  1974 mm/khugepaged.c 						khugepaged_scan.address);
khugepaged_scan  1986 mm/khugepaged.c 						khugepaged_scan.address,
khugepaged_scan  1990 mm/khugepaged.c 			khugepaged_scan.address += HPAGE_PMD_SIZE;
khugepaged_scan  2004 mm/khugepaged.c 	VM_BUG_ON(khugepaged_scan.mm_slot != mm_slot);
khugepaged_scan  2015 mm/khugepaged.c 		if (mm_slot->mm_node.next != &khugepaged_scan.mm_head) {
khugepaged_scan  2016 mm/khugepaged.c 			khugepaged_scan.mm_slot = list_entry(
khugepaged_scan  2019 mm/khugepaged.c 			khugepaged_scan.address = 0;
khugepaged_scan  2021 mm/khugepaged.c 			khugepaged_scan.mm_slot = NULL;
khugepaged_scan  2033 mm/khugepaged.c 	return !list_empty(&khugepaged_scan.mm_head) &&
khugepaged_scan  2039 mm/khugepaged.c 	return !list_empty(&khugepaged_scan.mm_head) ||
khugepaged_scan  2062 mm/khugepaged.c 		if (!khugepaged_scan.mm_slot)
khugepaged_scan  2116 mm/khugepaged.c 	mm_slot = khugepaged_scan.mm_slot;
khugepaged_scan  2117 mm/khugepaged.c 	khugepaged_scan.mm_slot = NULL;
khugepaged_scan  2186 mm/khugepaged.c 		if (!list_empty(&khugepaged_scan.mm_head))