1__GET_REQUEST(9) Block Devices __GET_REQUEST(9)
2
3
4
6 __get_request - get a free request
7
9 struct request * __get_request(struct request_list * rl, int rw_flags,
10 struct bio * bio, unsigned int flags);
11
13 rl
14 request list to allocate from
15
16 rw_flags
17 RW and SYNC flags
18
19 bio
20 bio to allocate request for (can be NULL)
21
22 flags
23 -- undescribed --
24
26 Get a free request from q. This function may fail under memory pressure
27 or if q is dead.
28
29 Must be called with q->queue_lock held and, Returns ERR_PTR on failure,
30 with q->queue_lock held. Returns request pointer on success, with
31 q->queue_lock *not held*.
32
34Kernel Hackers Manual 3.10 June 2019 __GET_REQUEST(9)