1BLK_PEEK_REQUEST(9) Block Devices BLK_PEEK_REQUEST(9)
2
3
4
6 blk_peek_request - peek at the top of a request queue
7
9 struct request * blk_peek_request(struct request_queue * q);
10
12 q
13 request queue to peek at
14
16 Return the request at the top of q. The returned request should be
17 started using blk_start_request before LLD starts processing it.
18
20 Pointer to the request at the top of q if available. Null otherwise.
21
23 queue_lock must be held.
24
26Kernel Hackers Manual 2.6. June 2019 BLK_PEEK_REQUEST(9)