Movatterモバイル変換


[0]ホーム

URL:


blkdev_issue_discard
Prev Chapter 14. Block Devices Next

Name

blkdev_issue_discard — queue a discard

Synopsis

intblkdev_issue_discard(struct block_device *bdev,
 sector_tsector,
 sector_tnr_sects,
 gfp_tgfp_mask,
 unsigned longflags);
 

Arguments

struct block_device * bdev

blockdev to issue discard for

sector_t sector

start sector

sector_t nr_sects

number of sectors to discard

gfp_t gfp_mask

memory allocation flags (for bio_alloc)

unsigned long flags

BLKDEV_IFL_* flags to control behaviour

Description

Issue a discard request for the sectors in question.


Prev Up Next
blkdev_issue_flush Home blkdev_issue_write_same

[8]ページ先頭

©2009-2025 Movatter.jp