函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rhashtable_compare

函数原型:static inline int rhashtable_compare(struct rhashtable_compare_arg *arg, const void *obj)

返回类型:int

参数:

类型参数名称
struct rhashtable_compare_arg *arg
const void *obj
581  ht等于ht
582  ptr等于obj
584  返回:memcmp(ptr + key_offset, key, key_len)
调用者
名称描述
rhashtable_lookup_one
__rhashtable_lookupInternal function, do not use.
__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().