函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\rhashtable.h Create Date:2022-07-27 07:05:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:rht_obj

函数原型:static inline void *rht_obj(const struct rhashtable *ht, const struct rhash_head *he)

返回类型:void

参数:

类型参数名称
const struct rhashtable *ht
const struct rhash_head *he
116  返回:hehead_offset
调用者
名称描述
rhashtable_lookup_one
__rhashtable_walk_find_next__rhashtable_walk_find_next - Find the next element in a table (or the first* one in case of a new walk).*@iter: Hash table iterator* Returns the found object or NULL when the end of the table is reached.* Returns -EAGAIN if resize event occurred.
rhashtable_walk_nexthashtable_walk_next - Return the next object and advance the iterator*@iter: Hash table iterator* Note that you must call rhashtable_walk_stop when you are finished* with the walk.* Returns the next object or NULL when the end of the table is reached.
rhashtable_walk_peekhashtable_walk_peek - Return the next object but don't advance the iterator*@iter: Hash table iterator* Returns the next object or NULL when the end of the table is reached.* Returns -EAGAIN if resize event occurred. Note that the iterator
rhashtable_free_one
print_ht
test_insert_dup
rht_head_hashfn
__rhashtable_lookupInternal function, do not use.
rhashtable_lookuphashtable_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
__rhashtable_insert_fastInternal function, please use rhashtable_insert_fast() instead. This* function returns the existing element already in hashes in there is a clash,* otherwise it returns an error via ERR_PTR().
rhltable_inserthltable_insert - insert object into hash list table*@hlt: hash list table*@list: pointer to hash list head inside object*@params: hash table parameters* Will take the per bucket bitlock to protect against mutual mutations* on the same bucket
rhashtable_lookup_insert_fasthashtable_lookup_insert_fast - lookup and insert object into hash table*@ht: hash table*@obj: pointer to hash head inside object*@params: hash table parameters* This lookup function may only be used for fixed key hash table (key_len* parameter set)
rhashtable_lookup_get_insert_fasthashtable_lookup_get_insert_fast - lookup and insert object into hash table*@ht: hash table*@obj: pointer to hash head inside object*@params: hash table parameters* Just like rhashtable_lookup_insert_fast(), but this function returns the* object if it