Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lookup_ts_algo

Proto:static inline struct ts_ops *lookup_ts_algo(const char *name)

Type:struct ts_ops

Parameter:

TypeParameterName
const char *name
117  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
119  If Not strcmp(name, name) Then
120  If Not try_module_get(owner) Then o = NULL
122  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
123  Return o
126  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
128  Return NULL
Caller
NameDescribe
textsearch_preparextsearch_prepare - Prepare a search*@algo: name of search algorithm*@pattern: pattern data*@len: length of pattern*@gfp_mask: allocation mask*@flags: search flags* Looks up the search algorithm module and creates a new textsearch