函数逻辑报告 |
Source Code:fs\dax.c |
Create Date:2022-07-29 10:56:28 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__dax_zero_page_range
函数原型:int __dax_zero_page_range(struct block_device *bdev, struct dax_device *dax_dev, sector_t sector, unsigned int offset, unsigned int size)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct block_device * | bdev | |
struct dax_device * | dax_dev | |
sector_t | sector | |
unsigned int | offset | |
unsigned int | size |
1064 | 如果dax_range_is_aligned(bdev, offset, size)则 |
1065 | start_sector等于sector加offset右移9位的值 |
1067 | 返回:blkdev_issue_zeroout(bdev, start_sector, size >> 9, GFP_NOFS, 0) |
1069 | 否则 |
1078 | id等于dax_read_lock() |
1079 | rc等于dax_direct_access(dax_dev, pgoff, 1, & kaddr, NULL) |
1080 | 如果rc小于0则 |
1081 | dax_read_unlock(id) |
1082 | 返回:rc |
1086 | dax_read_unlock(id) |
1088 | 返回:0 |
名称 | 描述 |
---|---|
iomap_dax_zero |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |