table of contents
other versions
- jessie 3.16.56-1+deb8u1
BLK_RQ_MAP_KERN(9) | Block Devices | BLK_RQ_MAP_KERN(9) |
NAME¶
blk_rq_map_kern - map kernel data to a request, for REQ_TYPE_BLOCK_PC usageSYNOPSIS¶
int
blk_rq_map_kern(struct request_queue * q,
struct request * rq,
void * kbuf,
unsigned int len,
gfp_t gfp_mask);
ARGUMENTS¶
qrequest queue where request should be inserted
rq
request to fill
kbuf
the kernel buffer
len
length of user data
gfp_mask
memory allocation flags
DESCRIPTION¶
Data will be mapped directly if possible. Otherwise a bounce buffer is used. Can be called multiple times to append multiple buffers.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |