Function report | 
Source Code:kernel\power\swap.c | 
Create Date:2022-07-28 10:02:23 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:write_page - Write one page to given swap location.*@buf: Address we're writing.*@offset: Offset of the swap page we're writing to.*@hb: bio completion batch
Proto:static int write_page(void *buf, sector_t offset, struct hib_bio_batch *hb)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| void * | buf | |
| sector_t | offset | |
| struct hib_bio_batch * | hb | 
| 376 | If hb Then | 
| 379 | If src Then | 
| 381 | Else | 
| 382 | ret = hib_wait_io(hb) | 
| 388 | If src Then | 
| 390 | Else | 
| 396 | Else | 
| 399 | Return hib_submit_io(REQ_OP_WRITE, REQ_SYNC, offset, src, hb) | 
| Name | Describe | 
|---|---|
| swap_write_page | |
| flush_swap_writer | 
| 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  |