Query: blk_rq_map_kern
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
BLK_RQ_MAP_KERN(9) Block Devices BLK_RQ_MAP_KERN(9)NAMEblk_rq_map_kern - map kernel data to a request, for REQ_TYPE_BLOCK_PC usageSYNOPSISint blk_rq_map_kern(struct request_queue * q, struct request * rq, void * kbuf, unsigned int len, gfp_t gfp_mask);ARGUMENTSq request queue where request should be inserted rq request to fill kbuf the kernel buffer len length of user data gfp_mask memory allocation flagsDESCRIPTIONData will be mapped directly if possible. Otherwise a bounce buffer is used. Can be called multple times to append multple buffers.COPYRIGHTKernel Hackers Manual 2.6. July 2010 BLK_RQ_MAP_KERN(9)