Function report |
Source Code:block\blk-lib.c |
Create Date:2022-07-28 17:07:27 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__blkdev_issue_zero_pages
Proto:static int __blkdev_issue_zero_pages(struct block_device *bdev, sector_t sector, sector_t nr_sects, gfp_t gfp_mask, struct bio **biop)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct block_device * | bdev | |
sector_t | sector | |
sector_t | nr_sects | |
gfp_t | gfp_mask | |
struct bio ** | biop |
272 | q = bdev_get_queue(bdev) |
274 | bi_size = 0 |
280 | If bdev_read_only(bdev) Then Return -EPERM |
287 | bio_set_dev(bio, bdev) |
291 | sz = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value((sector_t)PAGE_SIZE, nr_sects << 9) |
298 | cond_resched() |
302 | Return 0 |
Name | Describe |
---|---|
__blkdev_issue_zeroout | __blkdev_issue_zeroout - generate number of zero filed write bios*@bdev: blockdev to issue*@sector: start sector*@nr_sects: number of sectors to write*@gfp_mask: memory allocation flags (for bio_alloc)*@biop: pointer to anchor bio*@flags: controls |
blkdev_issue_zeroout | lkdev_issue_zeroout - zero-fill a block range*@bdev: blockdev to write*@sector: start sector*@nr_sects: number of sectors to write*@gfp_mask: memory allocation flags (for bio_alloc)*@flags: controls detailed behavior* Description:* Zero-fill a block |
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 |