Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\inode.c Create Date:2022-07-28 20:07:57
Last Modify:2020-03-18 19:19:59 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Walk the superblock inode LRU for freeable inodes and attempt to free them.* This is called from the superblock shrinker function with a number of inodes* to trim from the LRU. Inodes to be freed are moved to a temporary list and

Proto:long prune_icache_sb(struct super_block *sb, struct shrink_control *sc)

Type:long

Parameter:

TypeParameterName
struct super_block *sb
struct shrink_control *sc
799  LIST_HEAD(freeable)
802  freed = list_lru_shrink_walk( & s_inode_lru, sc, Isolate the inode from the LRU in preparation for freeing it, & freeable)
804  dispose_list - dispose of the contents of a local list*@head: the head of the list to free* Dispose-list gets a local list with local inodes in it, so it doesn't* need to worry about list corruption and SMP locks.
805  Return freed