Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\hw_breakpoint.c Create Date:2022-07-28 07:45:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:arch_bp_generic_len

Proto:static int arch_bp_generic_len(int x86_len)

Type:int

Parameter:

TypeParameterName
intx86_len
163  Case x86_len == X86_BREAKPOINT_LEN_1
164  Return HW_BREAKPOINT_LEN_1
165  Case x86_len == X86_BREAKPOINT_LEN_2
166  Return HW_BREAKPOINT_LEN_2
167  Case x86_len == X86_BREAKPOINT_LEN_4
168  Return HW_BREAKPOINT_LEN_4
170  Case x86_len == X86_BREAKPOINT_LEN_8
171  Return HW_BREAKPOINT_LEN_8
173  Default
174  Return -EINVAL
Caller
NameDescribe
arch_bp_generic_fields
arch_check_bp_in_kernelspaceCheck for virtual address in kernel space.