Movatterモバイル変換


[0]ホーム

URL:


blk_queue_prep_rq
Prev Chapter 14. Block Devices Next

Name

blk_queue_prep_rq — set a prepare_request function for queue

Synopsis

voidblk_queue_prep_rq(struct request_queue *q,
 prep_rq_fn *pfn);
 

Arguments

struct request_queue * q

queue

prep_rq_fn * pfn

prepare_request function

Description

It's possible for a queue to register a prepare_request callback which is invoked before the request is handed to the request_fn. The goal of the function is to prepare a request for I/O, it can be used to build a cdb from the request data for instance.


Prev Up Next
blk_release_queue Home blk_queue_unprep_rq

[8]ページ先頭

©2009-2025 Movatter.jp