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:The buffer's backing address_space's private_lock must be held

Proto:static void __remove_assoc_queue(struct buffer_head *bh)

Type:void

Parameter:

TypeParameterName
struct buffer_head *bh
494  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
495  WARN_ON(! mapping this buffer is associated with )
496  mapping this buffer is associated with = NULL
Caller
NameDescribe
fsync_buffers_list
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.
drop_buffers