Home
last modified time | relevance | path

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

/kernel/events/
Duprobes.c155 struct page *old_page, struct page *new_page) in __replace_page() argument
159 .page = compound_head(old_page), in __replace_page()
176 lock_page(old_page); in __replace_page()
182 VM_BUG_ON_PAGE(addr != pvmw.address, old_page); in __replace_page()
192 if (!PageAnon(old_page)) { in __replace_page()
193 dec_mm_counter(mm, mm_counter_file(old_page)); in __replace_page()
203 page_remove_rmap(old_page, false); in __replace_page()
204 if (!page_mapped(old_page)) in __replace_page()
205 try_to_free_swap(old_page); in __replace_page()
208 if ((vma->vm_flags & VM_LOCKED) && !PageCompound(old_page)) in __replace_page()
[all …]
/kernel/
Dkexec_core.c755 struct page *old_page; in kimage_alloc_page() local
758 old_page = boot_pfn_to_page(old_addr >> PAGE_SHIFT); in kimage_alloc_page()
759 copy_highpage(page, old_page); in kimage_alloc_page()
767 PageHighMem(old_page)) { in kimage_alloc_page()
768 kimage_free_pages(old_page); in kimage_alloc_page()
772 page = old_page; in kimage_alloc_page()