Function report |
Source Code:block\blk-flush.c |
Create Date:2022-07-28 17:03:01 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:lkdev_issue_flush - queue a flush*@bdev: blockdev to issue flush for*@gfp_mask: memory allocation flags (for bio_alloc)*@error_sector: error sector* Description:* Issue a flush for the block device in question
Proto:int blkdev_issue_flush(struct block_device *bdev, gfp_t gfp_mask, sector_t *error_sector)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct block_device * | bdev | |
| gfp_t | gfp_mask | |
| sector_t * | error_sector |
| 451 | ret = 0 |
| 456 | q = bdev_get_queue(bdev) |
| 466 | If Not make_request_fn Then Return -ENXIO |
| 470 | bio_set_dev(bio, bdev) |
| 473 | ret = submit_bio_wait - submit a bio, and wait until it completes*@bio: The &struct bio which describes the I/O* Simple wrapper around submit_bio() |
| 480 | If error_sector Then error_sector = device address in 512 byte sectors |
| 484 | Return ret |
| Name | Describe |
|---|---|
| blkdev_fsync |
| 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 |