函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Fault in a lazily-faulted vmalloc area before it can be used by* __santizer_cov_trace_pc(), to avoid recursion issues if any code on the* vmalloc fault handling path is instrumented.

函数原型:static void kcov_fault_in_area(struct kcov *kcov)

返回类型:void

参数:

类型参数名称
struct kcov *kcov
520  stride等于PAGE_SIZEsizeof(unsignedlong)
521  area等于Coverage buffer shared with user space.
524 offset小于Size of arena (in long's). 循环READ_ONCE(area[offset])
调用者
名称描述
kcov_ioctl_locked