函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\block_dev.c Create Date:2022-07-29 10:45:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Kill _all_ buffers and pagecache , dirty or not..

函数原型:void kill_bdev(struct block_device *bdev)

返回类型:void

参数:

类型参数名称
struct block_device *bdev
80  mapping等于i_mapping
82  如果nrpages恒等于0且nrexceptional恒等于0则返回
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
调用者
名称描述
set_blocksize
__blkdev_put