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

NAME

6       blk_rq_map_kern - map kernel data to a request, for REQ_TYPE_BLOCK_PC
7       usage
8

SYNOPSIS

10       int blk_rq_map_kern(struct request_queue * q, struct request * rq,
11                           void * kbuf, unsigned int len, gfp_t gfp_mask);
12

ARGUMENTS

14       q
15           request queue where request should be inserted
16
17       rq
18           request to fill
19
20       kbuf
21           the kernel buffer
22
23       len
24           length of user data
25
26       gfp_mask
27           memory allocation flags
28

DESCRIPTION

30       Data will be mapped directly if possible. Otherwise a bounce buffer is
31       used. Can be called multple times to append multple buffers.
32
34Kernel Hackers Manual 3.10         June 2019                BLK_RQ_MAP_KERN(9)
Impressum