函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\uprobes.c Create Date:2022-07-27 15:05:56
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:copy_to_page

函数原型:static void copy_to_page(struct page *page, unsigned long vaddr, const void *src, int len)

返回类型:void

参数:

类型参数名称
struct page *page
unsigned longvaddr
const void *src
intlen
259  kaddr等于kmap_atomic(page)
260  内存复制(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)
调用者
名称描述
uprobe_write_opcodeNOTE:* Expect the breakpoint instruction to be the smallest size instruction for* the architecture
arch_uprobe_copy_ixol