Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\test_kasan.c Create Date:2022-07-28 06:29:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kfree_via_phys

Proto:static noinline void __init kfree_via_phys(void)

Type:void

Parameter:Nothing

367  size = 8
370  pr_info("invalid-free false positive (via phys)\n")
371  ptr = kmalloc(size, GFP_KERNEL)
372  If Not ptr Then
373  pr_err("Allocation failed\n")
374  Return
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)
Caller
NameDescribe
kmalloc_tests_init