Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\mbcache.c Create Date:2022-07-28 20:29:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mb_cache_entry_head

Proto:static inline struct hlist_bl_head *mb_cache_entry_head(struct mb_cache *cache, unsigned int key)

Type:struct hlist_bl_head

Parameter:

TypeParameterName
struct mb_cache *cache
unsigned intkey
53  Return Hash table of entries [hash_32(key, log2 of hash table size )]
Caller
NameDescribe
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