函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lk_rq_unprep_clone - Helper function to free all bios in a cloned request*@rq: the clone request to be cleaned up* Description:* Free all bios in @rq for a cloned request.

函数原型:void blk_rq_unprep_clone(struct request *rq)

返回类型:void

参数:

类型参数名称
struct request *rq
1578  当((bio = bio) != NULL)循环
1579  bio等于 request queue link
1581  _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.
调用者
名称描述
blk_rq_prep_clonelk_rq_prep_clone - Helper function to setup clone request*@rq: the request to be setup*@rq_src: original request to be cloned*@bs: bio_set that bios for clone are allocated from*@gfp_mask: memory allocation mask for bio