函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:objagg_hints_obj_cmp

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

返回类型:int

参数:

类型参数名称
struct rhashtable_compare_arg *arg
const void *obj
912  ht等于ht
913  objagg_hints等于container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(ht, structobjagg_hints, node_ht)
915  ops等于ops
916  ptr等于obj
918  ptr加等于key_offset
919  返回:如果hints_obj_cmphints_obj_cmp(ptr, key)否则memcmp(ptr, key, key_len)