函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-map.c Create Date:2022-07-27 18:40:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__blk_rq_unmap_user

函数原型:static int __blk_rq_unmap_user(struct bio *bio)

返回类型:int

参数:

类型参数名称
struct bio *bio
52  ret等于0
54  如果bio
55  如果bio_flagged(bio, BIO_USER_MAPPED)则_unmap_user - unmap a bio*@bio: the bio being unmapped* Unmap a bio previously mapped by bio_map_user_iov(). Must be called from* process context.* bio_unmap_user() may sleep.
57  否则ret等于_uncopy_user - finish previously mapped bio*@bio: bio being terminated* Free pages allocated from bio_copy_user_iov() and write back data* to user space in case of a read.
61  返回:ret
调用者
名称描述
__blk_rq_map_user_iov
blk_rq_unmap_user卸载一个用户数据的请求