1BLK_PEEK_REQUEST(9)              Block Devices             BLK_PEEK_REQUEST(9)
2
3
4

NAME

6       blk_peek_request - peek at the top of a request queue
7

SYNOPSIS

9       struct request * blk_peek_request(struct request_queue * q);
10

ARGUMENTS

12       q
13           request queue to peek at
14

DESCRIPTION

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

RETURN

20       Pointer to the request at the top of q if available. Null otherwise.
21

CONTEXT

23       queue_lock must be held.
24
26Kernel Hackers Manual 3.10         June 2019               BLK_PEEK_REQUEST(9)
Impressum