Name

bio_map_user_iov — map user iovec into bio

Synopsis

struct bio * bio_map_user_iov (struct request_queue * q,
 const struct iov_iter * iter,
 gfp_t gfp_mask);
 

Arguments

q

the struct request_queue for the bio

iter

iovec iterator

gfp_mask

memory allocation flags

Description

Map the user space address into a bio suitable for io to a block device. Returns an error pointer in case of error.