Function report | 
Source Code:block\bio.c | 
Create Date:2022-07-28 16:54:43 | 
| Last Modify:2020-03-17 23:13:58 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name: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.
Proto:void bio_init(struct bio *bio, struct bio_vec *table, unsigned short max_vecs)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| 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 | 
| Name | Describe | 
|---|---|
| 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 | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |