• Home
  • Raw
  • Download

Lines Matching refs:page

104 	struct page 			*pages[2];
155 struct page *old_page, struct page *new_page) in __replace_page()
240 static void copy_from_page(struct page *page, unsigned long vaddr, void *dst, int len) in copy_from_page() argument
242 void *kaddr = kmap_atomic(page); in copy_from_page()
247 static void copy_to_page(struct page *page, unsigned long vaddr, const void *src, int len) in copy_to_page() argument
249 void *kaddr = kmap_atomic(page); in copy_to_page()
254 static int verify_opcode(struct page *page, unsigned long vaddr, uprobe_opcode_t *new_opcode) in verify_opcode() argument
268 copy_from_page(page, vaddr, &old_opcode, UPROBE_SWBP_INSN_SIZE); in verify_opcode()
368 struct page *page; in __update_ref_ctr() local
377 FOLL_WRITE, &page, &vma, NULL); in __update_ref_ctr()
386 kaddr = kmap_atomic(page); in __update_ref_ctr()
400 put_page(page); in __update_ref_ctr()
465 struct page *old_page, *new_page; in uprobe_write_opcode()
520 struct page *orig_page; in uprobe_write_opcode()
790 struct page *page; in __copy_insn() local
797 page = read_mapping_page(mapping, offset >> PAGE_SHIFT, filp); in __copy_insn()
799 page = shmem_read_mapping_page(mapping, offset >> PAGE_SHIFT); in __copy_insn()
800 if (IS_ERR(page)) in __copy_insn()
801 return PTR_ERR(page); in __copy_insn()
803 copy_from_page(page, offset, insn, nbytes); in __copy_insn()
804 put_page(page); in __copy_insn()
1667 void __weak arch_uprobe_copy_ixol(struct page *page, unsigned long vaddr, in arch_uprobe_copy_ixol() argument
1671 copy_to_page(page, vaddr, src, len); in arch_uprobe_copy_ixol()
1679 flush_dcache_page(page); in arch_uprobe_copy_ixol()
2011 struct page *page; in is_trap_at_addr() local
2031 result = get_user_pages_remote(mm, vaddr, 1, FOLL_FORCE, &page, in is_trap_at_addr()
2036 copy_from_page(page, vaddr, &opcode, UPROBE_SWBP_INSN_SIZE); in is_trap_at_addr()
2037 put_page(page); in is_trap_at_addr()