函数逻辑报告 |
Source Code:fs\block_dev.c |
Create Date:2022-07-29 10:46:05 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:lush_disk - invalidates all buffer-cache entries on a disk*@bdev: struct block device to be flushed*@kill_dirty: flag to guide handling of dirty inodes* Invalidates all buffer-cache entries on a disk
函数原型:static void flush_disk(struct block_device *bdev, bool kill_dirty)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct block_device * | bdev | |
bool | kill_dirty |
1401 | 如果__invalidate_device(bdev, kill_dirty)则 |
1406 | bd_invalidated等于1 |
名称 | 描述 |
---|---|
check_disk_size_change | heck_disk_size_change - checks for disk size change and adjusts bdev size |
check_disk_change | This routine checks whether a removable media has been changed,* and invalidates all buffer-cache-entries in that case. This* is a relatively slow routine, so we have to try to minimize using* it. Thus it is called only upon a 'mount' or 'open'. This |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |