ksm_scan 237 mm/ksm.c static struct ksm_scan ksm_scan = { ksm_scan 807 mm/ksm.c age = (unsigned char)(ksm_scan.seqnr - rmap_item->address); ksm_scan 972 mm/ksm.c ksm_scan.mm_slot = list_entry(ksm_mm_head.mm_list.next, ksm_scan 976 mm/ksm.c for (mm_slot = ksm_scan.mm_slot; ksm_scan 977 mm/ksm.c mm_slot != &ksm_mm_head; mm_slot = ksm_scan.mm_slot) { ksm_scan 995 mm/ksm.c ksm_scan.mm_slot = list_entry(mm_slot->mm_list.next, ksm_scan 1011 mm/ksm.c ksm_scan.seqnr = 0; ksm_scan 1017 mm/ksm.c ksm_scan.mm_slot = &ksm_mm_head; ksm_scan 1980 mm/ksm.c rmap_item->address |= (ksm_scan.seqnr & SEQNR_MASK); ksm_scan 2235 mm/ksm.c slot = ksm_scan.mm_slot; ksm_scan 2274 mm/ksm.c ksm_scan.mm_slot = slot; ksm_scan 2283 mm/ksm.c ksm_scan.address = 0; ksm_scan 2284 mm/ksm.c ksm_scan.rmap_list = &slot->rmap_list; ksm_scan 2292 mm/ksm.c vma = find_vma(mm, ksm_scan.address); ksm_scan 2297 mm/ksm.c if (ksm_scan.address < vma->vm_start) ksm_scan 2298 mm/ksm.c ksm_scan.address = vma->vm_start; ksm_scan 2300 mm/ksm.c ksm_scan.address = vma->vm_end; ksm_scan 2302 mm/ksm.c while (ksm_scan.address < vma->vm_end) { ksm_scan 2305 mm/ksm.c *page = follow_page(vma, ksm_scan.address, FOLL_GET); ksm_scan 2307 mm/ksm.c ksm_scan.address += PAGE_SIZE; ksm_scan 2312 mm/ksm.c flush_anon_page(vma, *page, ksm_scan.address); ksm_scan 2315 mm/ksm.c ksm_scan.rmap_list, ksm_scan.address); ksm_scan 2317 mm/ksm.c ksm_scan.rmap_list = ksm_scan 2319 mm/ksm.c ksm_scan.address += PAGE_SIZE; ksm_scan 2326 mm/ksm.c ksm_scan.address += PAGE_SIZE; ksm_scan 2332 mm/ksm.c ksm_scan.address = 0; ksm_scan 2333 mm/ksm.c ksm_scan.rmap_list = &slot->rmap_list; ksm_scan 2339 mm/ksm.c remove_trailing_rmap_items(slot, ksm_scan.rmap_list); ksm_scan 2342 mm/ksm.c ksm_scan.mm_slot = list_entry(slot->mm_list.next, ksm_scan 2344 mm/ksm.c if (ksm_scan.address == 0) { ksm_scan 2375 mm/ksm.c slot = ksm_scan.mm_slot; ksm_scan 2379 mm/ksm.c ksm_scan.seqnr++; ksm_scan 2517 mm/ksm.c list_add_tail(&mm_slot->mm_list, &ksm_scan.mm_slot->mm_list); ksm_scan 2545 mm/ksm.c if (mm_slot && ksm_scan.mm_slot != mm_slot) { ksm_scan 2552 mm/ksm.c &ksm_scan.mm_slot->mm_list); ksm_scan 3150 mm/ksm.c return sprintf(buf, "%lu\n", ksm_scan.seqnr);