函数逻辑报告 |
Source Code:fs\dax.c |
Create Date:2022-07-29 10:56:27 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Flush the mapping to the persistent domain within the byte range of [start,* end]. This is required by data integrity operations to ensure file data is* on persistent storage prior to completion of the operation.
函数原型:int dax_writeback_mapping_range(struct address_space *mapping, struct block_device *bdev, struct writeback_control *wbc)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct address_space * | mapping | |
struct block_device * | bdev | |
struct writeback_control * | wbc |
947 | ret等于0 |
948 | scanned等于0 |
950 | 如果WARN_ON_ONCE(i_blkbits != PAGE_SHIFT determines the page size )则返回:负EIO |
953 | 如果非nrexceptional或sync_mode不等于Wait on every mapping 则返回:0 |
956 | dax_dev等于dax_get_by_host(disk_name) |
964 | xas_lock_irq( & xas) |
967 | 如果ret小于0则 |
969 | 退出 |
971 | 如果scanned先自加取模XA_CHECK_SCHED则继续下一循环 |
975 | xas_unlock_irq( & xas) |
976 | cond_resched() |
977 | xas_lock_irq( & xas) |
979 | xas_unlock_irq( & xas) |
982 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |