Function report | 
Source Code:fs\mpage.c | 
Create Date:2022-07-28 20:15:32 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:mpage_alloc
Proto:static struct bio *mpage_alloc(struct block_device *bdev, sector_t first_sector, int nr_vecs, gfp_t gfp_flags)
Type:struct bio
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct block_device * | bdev | |
| sector_t | first_sector | |
| int | nr_vecs | |
| gfp_t | gfp_flags | 
| 78 | gfp_flags &= GFP_KERNEL | 
| 81 | If bio == NULL && flags & Allocating memory Then | 
| 86 | If bio Then | 
| 90 | Return bio | 
| Name | Describe | 
|---|---|
| do_mpage_readpage | This is the worker routine which does all the work of mapping the disk* blocks and constructs largest possible bios, submits them for IO if the* blocks are not contiguous on the disk | 
| __mpage_writepage | 
| 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  |