Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-map.c Create Date:2022-07-28 17:04:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:blk_rq_map_user

Proto:int 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)

Type:int

Parameter:

TypeParameterName
struct request_queue *q
struct request *rq
struct rq_map_data *map_data
void __user *ubuf
unsigned longlen
gfp_tgfp_mask
167  ret = import_single_range(rq_data_dir(rq), ubuf, len, & iov, & i)
169  If Value for the false possibility is greater at compile time(ret < 0) Then Return ret
172  Return lk_rq_map_user_iov - map user data to a request, for passthrough requests*@q: request queue where request should be inserted*@rq: request to map data to*@map_data: pointer to the rq_map_data holding pages (if necessary)*@iter: iovec iterator*@gfp_mask:
Caller
NameDescribe
sg_io
bsg_sg_io
bsg_transport_fill_hdr