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

NAME

6       get_request - get a free request
7

SYNOPSIS

9       struct request * get_request(struct request_queue * q, int rw_flags,
10                                    struct bio * bio, gfp_t gfp_mask);
11

ARGUMENTS

13       q
14           request_queue to allocate request from
15
16       rw_flags
17           RW and SYNC flags
18
19       bio
20           bio to allocate request for (can be NULL)
21
22       gfp_mask
23           allocation mask
24

DESCRIPTION

26       Get a free request from q. This function may fail under memory pressure
27       or if q is dying.
28
29       Must be callled with q->queue_lock held and, Returns NULL on failure,
30       with q->queue_lock held. Returns !NULL on success, with q->queue_lock
31       *not held*.
32
34Kernel Hackers Manual 2.6.         June 2019                    GET_REQUEST(9)
Impressum