Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:inode_has_buffers

Proto:int inode_has_buffers(struct inode *inode)

Type:int

Parameter:

TypeParameterName
struct inode *inode
501  Return Not list_empty - tests whether a list is empty*@head: the list to test.
Caller
NameDescribe
inode_lru_isolateIsolate the inode from the LRU in preparation for freeing it
invalidate_inode_buffersInvalidate any and all dirty buffers on a given inode. We are* probably unmounting the fs, but that doesn't mean we have already* done a sync(). Just drop the buffers from the inode list.* NOTE: we take the inode's blockdev's mapping's private_lock. Which
remove_inode_buffersRemove any clean buffers from the inode's buffer list. This is called* when we're trying to free the inode itself. Those buffers can pin it.* Returns true if all buffers were removed.