函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:xtsearch_register - register a textsearch module*@ops: operations lookup table* This function must be called by textsearch modules to announce* their presence

函数原型:int textsearch_register(struct ts_ops *ops)

返回类型:int

参数:

类型参数名称
struct ts_ops *ops
145  err等于负EEXIST
148  如果(name == NULL || find == NULL || init == NULL || get_pattern == NULL || get_pattern_len == NULL)则返回:负EINVAL
152  加自旋锁
154  如果非strcmp(name, name)则转到:errout
158  添加RCU链表项
159  err等于0
160  errout :
161  自旋锁解锁
162  返回:err
调用者
名称描述
init_kmp
init_bm
init_fsm