Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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.

Proto:static void dispose_list(struct list_head *head)

Type:void

Parameter:

TypeParameterName
struct list_head *head
603  When Not list_empty - tests whether a list is empty*@head: the list to test. cycle
606  inode = list_first_entry - get the first element from a list*@ptr: the list head to take the element from.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.* Note, that list is expected to be not empty.(head, structinode, i_lru)
607  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
609  Free the inode passed in, removing it from the lists it is still connected* to
610  cond_resched()
Caller
NameDescribe
evict_inodesvict_inodes - evict all evictable inodes for a superblock*@sb: superblock to operate on* Make sure that no inodes with zero refcount are retained
invalidate_inodesvalidate_inodes - attempt to free all inodes on a superblock*@sb: superblock to operate on*@kill_dirty: flag to guide handling of dirty inodes* Attempts to free all inodes for a given superblock. If there were any
prune_icache_sbWalk 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