Query: blk_rq_map_user
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
BLK_RQ_MAP_USER(9) Block Devices BLK_RQ_MAP_USER(9)NAMEblk_rq_map_user - map user data to a request, for REQ_TYPE_BLOCK_PC usageSYNOPSISint blk_rq_map_user(struct request_queue * q, struct request * rq, struct rq_map_data * map_data, void __user * ubuf, unsigned long len, gfp_t gfp_mask);ARGUMENTSq request queue where request should be inserted rq request structure to fill map_data pointer to the rq_map_data holding pages (if necessary) ubuf the user buffer len length of user data gfp_mask memory allocation flagsDESCRIPTIONData will be mapped directly for zero copy I/O, if possible. Otherwise a kernel bounce buffer is used. A matching blk_rq_unmap_user must be issued at the end of I/O, while still in process context.NOTEThe mapped bio may need to be bounced through blk_queue_bounce before being submitted to the device, as pages mapped may be out of reach. It's the callers responsibility to make sure this happens. The original bio must be passed back in to blk_rq_unmap_user for proper unmapping.COPYRIGHTKernel Hackers Manual 3.10 June 2014 BLK_RQ_MAP_USER(9)
Related Man Pages |
---|
usb_sg_init(9) - centos |
rdma_post_ud_send(3) - centos |
rdma_post_write(3) - centos |
probe::ioblock_trace.request(3stap) - centos |
probe::ioblock_trace.end(3stap) - centos |
Similar Topics in the Unix Linux Community |
---|
Is UNIX an open source OS ? |
Tar Command |
Shopt -s histappend |
Unsure why access time on a directory change isn't changing |
Please Welcome Dave Munro to the Moderator Team! |