#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/bio.h>
#include <linux/blkdev.h>
#include <linux/scatterlist.h>
#include "blk.h"
Go to the source code of this file.
|
int | blkdev_issue_discard (struct block_device *bdev, sector_t sector, sector_t nr_sects, gfp_t gfp_mask, unsigned long flags) |
|
| EXPORT_SYMBOL (blkdev_issue_discard) |
|
int | blkdev_issue_write_same (struct block_device *bdev, sector_t sector, sector_t nr_sects, gfp_t gfp_mask, struct page *page) |
|
| EXPORT_SYMBOL (blkdev_issue_write_same) |
|
int | __blkdev_issue_zeroout (struct block_device *bdev, sector_t sector, sector_t nr_sects, gfp_t gfp_mask) |
|
int | blkdev_issue_zeroout (struct block_device *bdev, sector_t sector, sector_t nr_sects, gfp_t gfp_mask) |
|
| EXPORT_SYMBOL (blkdev_issue_zeroout) |
|
blkdev_issue_zeroout - generate number of zero filed write bios : blockdev to issue : start sector : number of sectors to write : memory allocation flags (for bio_alloc)
Description: Generate and issue number of bios with zerofiled pages.
Definition at line 217 of file blk-lib.c.
blkdev_issue_discard - queue a discard : blockdev to issue discard for : start sector : number of sectors to discard : memory allocation flags (for bio_alloc) : BLKDEV_IFL_* flags to control behaviour
Description: Issue a discard request for the sectors in question.
Definition at line 40 of file blk-lib.c.
blkdev_issue_zeroout - zero-fill a block range : blockdev to write : start sector : number of sectors to write : memory allocation flags (for bio_alloc)
Description: Generate and issue number of bios with zerofiled pages.
Definition at line 279 of file blk-lib.c.