table of contents
other versions
__BLKDEV_ISSUE_ZEROO(9) | Block Devices | __BLKDEV_ISSUE_ZEROO(9) |
NAME¶
__blkdev_issue_zeroout - generate number of zero filed write bios
SYNOPSIS¶
int __blkdev_issue_zeroout(struct block_device * bdev, sector_t sector, sector_t nr_sects, gfp_t gfp_mask, struct bio ** biop, bool discard);
ARGUMENTS¶
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
discard
discard flag
DESCRIPTION¶
Generate and issue number of bios with zerofiled pages.
COPYRIGHT¶
March 2017 | Kernel Hackers Manual 4.10 |