函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:copy_from_page

函数原型:static void copy_from_page(struct page *page, unsigned long vaddr, void *dst, int len)

返回类型:void

参数:

类型参数名称
struct page *page
unsigned longvaddr
void *dst
intlen
252  kaddr等于kmap_atomic(page)
253  内存复制(dst, kaddr + (vaddr & ~PAGE_MASK), len)
254  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)
调用者
名称描述
verify_opcode
__copy_insn
is_trap_at_addr