blk_rq_map_user_iov — map user data to a request, for REQ_TYPE_BLOCK_PC usage
int blk_rq_map_user_iov ( | struct request_queue * q, |
| struct request * rq, | |
| struct rq_map_data * map_data, | |
| struct sg_iovec * iov, | |
| int iov_count, | |
| unsigned int len, | |
gfp_t gfp_mask); |
qrequest queue where request should be inserted
rqrequest to map data to
map_datapointer to the rq_map_data holding pages (if necessary)
iovpointer to the iovec
iov_countnumber of elements in the iovec
lenI/O byte count
gfp_maskmemory allocation flags