Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\rhashtable.h Create Date:2022-07-28 06:07:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:hashtable_lookup_fast - search hash table, without RCU read lock*@ht: hash table*@key: the pointer to the key*@params: hash table parameters* Computes the hash value for the key and traverses the bucket chain looking* for a entry with an identical key

Proto:static inline void *rhashtable_lookup_fast(struct rhashtable *ht, const void *key, const struct rhashtable_params params)

Type:void

Parameter:

TypeParameterName
struct rhashtable *ht
const void *key
const struct rhashtable_paramsparams
670  _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
671  obj = hashtable_lookup - search hash table*@ht: hash table*@key: the pointer to the key*@params: hash table parameters* Computes the hash value for the key and traverses the bucket chain looking* for a entry with an identical key
672  _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()
674  Return obj
Caller
NameDescribe
test_rht_lookup
test_rhashtable
thread_lookup_test
objagg_hints_lookup
objagg_obj_lookup
bpf_offload_find_netdev
bpf_offload_dev_netdev_unregister
ipc_findkeypc_findkey - find a key in an ipc identifier set*@ids: ipc identifier set*@key: key to find* Returns the locked pointer to the ipc structure if found or NULL* otherwise. If key is found ipc points to the owning ipc structure* Called with writer ipc_ids
query_dataquery_data - queries a policy and writes its data to buf*@buf: the resulting data is stored here (NOT NULL)*@buf_len: size of buf*@query: query string used to retrieve data*@query_len: size of query including second NUL byte