other versions
- stretch 4.9.168-1
BLK_PEEK_REQUEST(9) | Block Devices | BLK_PEEK_REQUEST(9) |
NAME¶
blk_peek_request - peek at the top of a request queueSYNOPSIS¶
struct request * blk_peek_request(struct request_queue * q);
ARGUMENTS¶
qrequest queue to peek at
DESCRIPTION¶
Return the request at the top of q. The returned request should be started using blk_start_request before LLD starts processing it.RETURN¶
Pointer to the request at the top of q if available. Null otherwise.CONTEXT¶
queue_lock must be held.COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |