Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\lru_cache.c Create Date:2022-07-28 07:16:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:lc_seq_printf_stats - print stats about @lc into @seq*@seq: the seq_file to print into*@lc: the lru cache to print statistics of

Proto:void lc_seq_printf_stats(struct seq_file *seq, struct lru_cache *lc)

Type:void

Parameter:

TypeParameterName
struct seq_file *seq
struct lru_cache *lc
238  seq_printf(seq, "\t%s: used:%u/%u hits:%lu misses:%lu starving:%lu locked:%lu changed:%lu\n", name, number of elements currently on in_use list , number of elements (indices) , hits, misses, starving, locked, changed)