函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\mbcache.c Create Date:2022-07-29 11:04:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:mb_cache_entry_head

函数原型:static inline struct hlist_bl_head *mb_cache_entry_head(struct mb_cache *cache, unsigned int key)

返回类型:struct hlist_bl_head

参数:

类型参数名称
struct mb_cache *cache
unsigned intkey
53  返回:Hash table of entries [hash_32(key, log2 of hash table size )]
调用者
名称描述
mb_cache_entry_createmb_cache_entry_create - create entry in cache*@cache - cache where the entry should be created*@mask - gfp mask with which the entry should be allocated*@key - key of the entry*@value - value of the entry*@reusable - is the entry reusable by others?
__entry_find
mb_cache_entry_getmb_cache_entry_get - get a cache entry by value (and key)*@cache - cache we work with*@key - key*@value - value
mb_cache_entry_deletemb_cache_entry_delete - remove a cache entry*@cache - cache we work with*@key - key*@value - value* Remove entry from cache @cache with key @key and value @value.
mb_cache_shrink