Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lk_rq_unmap_user - unmap a request with user data*@bio: start of bio list* Description:* Unmap a rq previously mapped by blk_rq_map_user(). The caller must* supply the original rq->bio from the blk_rq_map_user() return, since

Proto:int blk_rq_unmap_user(struct bio *bio)

Type:int

Parameter:

TypeParameterName
struct bio *bio
188  ret = 0
190  When bio cycle
191  mapped_bio = bio
192  If Value for the false possibility is greater at compile time(bio_flagged(bio, BIO_BOUNCED)) Then mapped_bio = bi_private
195  ret2 = __blk_rq_unmap_user(mapped_bio)
196  If ret2 && Not ret Then ret = ret2
199  mapped_bio = bio
200  bio = request queue link
201  _put - release a reference to a bio*@bio: bio to release reference to* Description:* Put a reference to a &struct bio, either one you have gotten with* bio_alloc, bio_get or bio_clone_*. The last put of a bio will free it.
204  Return ret
Caller
NameDescribe
blk_rq_map_user_iovlk_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:
blk_complete_sghdr_rq
bsg_sg_io
bsg_transport_free_rq