函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kdb_parsebp

函数原型:static int kdb_parsebp(int argc, const char **argv, int *nextargp, kdb_bp_t *bp)

返回类型:int

参数:

类型参数名称
intargc
const char **argv
int *nextargp
kdb_bp_t *bp
50  nextarg等于nextargp
53  HW break length 等于1
54  如果argc加1不等于nextarg
55  如果strncasecmp - Case insensitive, length-limited string comparison*@s1: One string*@s2: The other string*@len: the maximum number of characters to compare恒等于0则 Uses hardware register 等于BP_ACCESS_WATCHPOINT
57  否则如果strncasecmp - Case insensitive, length-limited string comparison*@s1: One string*@s2: The other string*@len: the maximum number of characters to compare恒等于0则 Uses hardware register 等于BP_WRITE_WATCHPOINT
59  否则如果strncasecmp - Case insensitive, length-limited string comparison*@s1: One string*@s2: The other string*@len: the maximum number of characters to compare恒等于0则 Uses hardware register 等于BP_HARDWARE_BREAKPOINT
61  否则返回:KDB_ARGCOUNT
64  HW break length 等于1
66  nextarg自加
68  如果argc加1不等于nextarg
73  如果diag则返回:diag
77  如果len大于8则返回:KDB_BADLENGTH
81  nextarg自加
84  如果argc加1不等于nextarg则返回:KDB_ARGCOUNT
88  nextargp等于nextarg
89  返回:0
调用者
名称描述
kdb_bpkdb_bp* Handle the bp commands