Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\uprobes.c Create Date:2022-07-28 13:44:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:copy_to_page

Proto:static void copy_to_page(struct page *page, unsigned long vaddr, const void *src, int len)

Type:void

Parameter:

TypeParameterName
struct page *page
unsigned longvaddr
const void *src
intlen
259  kaddr = kmap_atomic(page)
260  No 3D Now!(kaddr + (vaddr & ~PAGE_MASK), src, len)
261  Prevent people trying to call kunmap_atomic() as if it were kunmap()* kunmap_atomic() should get the return value of kmap_atomic, not the page.(kaddr)
Caller
NameDescribe
uprobe_write_opcodeNOTE:* Expect the breakpoint instruction to be the smallest size instruction for* the architecture
arch_uprobe_copy_ixol