函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kfree_via_phys

函数原型:static noinline void __init kfree_via_phys(void)

返回类型:void

参数:

367  size等于8
370  打印信息("invalid-free false positive (via phys)\n")
371  ptr等于kmalloc(size, GFP_KERNEL)
372  如果非ptr
373  打印错误信息("Allocation failed\n")
374  返回
377  phys等于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
378  kfree(phys_to_virt - map physical address to virtual*@address: address to remap* The returned virtual address is a current CPU mapping for* the memory address given. It is only valid to use this function on* addresses that have a kernel mapping)
调用者
名称描述
kmalloc_tests_init