Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Kill _all_ buffers and pagecache , dirty or not..

Proto:void kill_bdev(struct block_device *bdev)

Type:void

Parameter:

TypeParameterName
struct block_device *bdev
80  mapping = i_mapping
82  If nrpages == 0 && nrexceptional == 0 Then Return
85  invalidate_bh_lrus()
86  runcate_inode_pages - truncate *all* the pages from an offset*@mapping: mapping to truncate*@lstart: offset from which to truncate* Called under (and serialised by) inode->i_mutex.* Note: When this function returns, there can be a page in the process of
Caller
NameDescribe
set_blocksize
__blkdev_put