函数逻辑报告 |
Source Code:fs\direct-io.c |
Create Date:2022-07-29 10:46:35 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:If we are not writing the entire block and get_block() allocated* the block for us, we need to fill-in the unused portion of the* block with zeros
函数原型:static inline void dio_zero_block(struct dio *dio, struct dio_submit *sdio, int end, struct buffer_head *map_bh)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct dio * | dio | |
| struct dio_submit * | sdio | |
| int | end | |
| struct buffer_head * | map_bh |
| 901 | 如果非When we're using an alignment whichis finer than the filesystem's softblocksize, this specifies how muchfiner. blkfactor=2 means 1/4-blockalignment. Does not change 或非buffer_new(map_bh)则返回 |
| 904 | dio_blocks_per_fs_block等于1左移When we're using an alignment whichis finer than the filesystem's softblocksize, this specifies how muchfiner. blkfactor=2 means 1/4-blockalignment. Does not change 位 |
| 905 | this_chunk_blocks等于Current offset into the underlyingfile in dio_block units. 按位与dio_blocks_per_fs_block减1 |
| 907 | 如果非this_chunk_blocks则返回 |
| 名称 | 描述 |
|---|---|
| do_direct_IO | Walk the user pages, and the file, mapping blocks to disk and generating* a sequence of (page,offset,len,block) mappings. These mappings are injected* into submit_page_section(), which takes care of the next stage of submission |
| do_blockdev_direct_IO | This is a library function for use by filesystem drivers |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |