函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:poison_page

函数原型:static void poison_page(struct page *page)

返回类型:void

参数:

类型参数名称
struct page *page
42  addr等于kmap_atomic(page)
45  Disable reporting bugs for current task
46  memset(addr, PAGE_POISON, PAGE_SIZE)
47  Enable reporting bugs after kasan_disable_current()
48  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.(addr)
调用者
名称描述
poison_pages