函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:test_debug_virtual_init

函数原型:static int __init test_debug_virtual_init(void)

返回类型:int

参数:

27  va等于VMALLOC_START
28  pa等于virt_to_phys - map virtual addresses to physical*@address: address to remap* The returned physical address is the physical (CPU) mapping for* the memory address given. It is only valid to use this function on
30  打印信息("PA: %pa for VA: 0x%lx\n", & pa, (unsignedlong)va)
32  foo = 分配内存并置零
33  如果非foo则返回:负ENOMEM
36  pa等于virt_to_phys - map virtual addresses to physical*@address: address to remap* The returned physical address is the physical (CPU) mapping for* the memory address given. It is only valid to use this function on
37  va等于foo
38  打印信息("PA: %pa for VA: 0x%lx\n", & pa, (unsignedlong)va)
40  返回:0