函数逻辑报告 |
Source Code:block\bio.c |
Create Date:2022-07-27 18:29:55 |
| Last Modify:2020-03-17 23:13:58 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Users of this function have their own bio allocation. Subsequently,* they must remember to pair any call to bio_init() with bio_uninit()* when IO has completed, or when the bio is released.
函数原型:void bio_init(struct bio *bio, struct bio_vec *table, unsigned short max_vecs)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct bio * | bio | |
| struct bio_vec * | table | |
| unsigned short | max_vecs |
| 274 | atomic_set( & __bi_remaining, 1) |
| 275 | atomic_set( & pin count , 1) |
| 277 | the actual vec list 等于table |
| 名称 | 描述 |
|---|---|
| bio_alloc_bioset | _alloc_bioset - allocate a bio for I/O*@gfp_mask: the GFP_* mask given to the slab allocator*@nr_iovecs: number of iovecs to pre-allocate*@bs: the bio_set to allocate from |
| iomap_read_page_sync |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |