• Home
  • Raw
  • Download

Lines Matching refs:page

104 	struct page 			*pages[2];
155 struct page *old_page, struct page *new_page) in __replace_page()
159 .page = compound_head(old_page), in __replace_page()
250 static void copy_from_page(struct page *page, unsigned long vaddr, void *dst, int len) in copy_from_page() argument
252 void *kaddr = kmap_atomic(page); in copy_from_page()
257 static void copy_to_page(struct page *page, unsigned long vaddr, const void *src, int len) in copy_to_page() argument
259 void *kaddr = kmap_atomic(page); in copy_to_page()
264 static int verify_opcode(struct page *page, unsigned long vaddr, uprobe_opcode_t *new_opcode) in verify_opcode() argument
278 copy_from_page(page, vaddr, &old_opcode, UPROBE_SWBP_INSN_SIZE); in verify_opcode()
377 struct page *page; in __update_ref_ctr() local
386 FOLL_WRITE, &page, &vma, NULL); in __update_ref_ctr()
395 kaddr = kmap_atomic(page); in __update_ref_ctr()
409 put_page(page); in __update_ref_ctr()
473 struct page *old_page, *new_page; in uprobe_write_opcode()
528 struct page *orig_page; in uprobe_write_opcode()
800 struct page *page; in __copy_insn() local
807 page = read_mapping_page(mapping, offset >> PAGE_SHIFT, filp); in __copy_insn()
809 page = shmem_read_mapping_page(mapping, offset >> PAGE_SHIFT); in __copy_insn()
810 if (IS_ERR(page)) in __copy_insn()
811 return PTR_ERR(page); in __copy_insn()
813 copy_from_page(page, offset, insn, nbytes); in __copy_insn()
814 put_page(page); in __copy_insn()
1670 void __weak arch_uprobe_copy_ixol(struct page *page, unsigned long vaddr, in arch_uprobe_copy_ixol() argument
1674 copy_to_page(page, vaddr, src, len); in arch_uprobe_copy_ixol()
1682 flush_dcache_page(page); in arch_uprobe_copy_ixol()
2013 struct page *page; in is_trap_at_addr() local
2030 result = get_user_pages_remote(NULL, mm, vaddr, 1, FOLL_FORCE, &page, in is_trap_at_addr()
2035 copy_from_page(page, vaddr, &opcode, UPROBE_SWBP_INSN_SIZE); in is_trap_at_addr()
2036 put_page(page); in is_trap_at_addr()