函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\blk-cgroup.h Create Date:2022-07-27 06:56:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__bio_blkcg - internal, inconsistent version to get blkcg* DO NOT USE.* This function is inconsistent and consequently is dangerous to use. The* first part of the function returns a blkcg where a reference is owned by the* bio

函数原型:static inline struct blkcg *__bio_blkcg(struct bio *bio)

返回类型:struct blkcg

参数:

类型参数名称
struct bio *bio
258  如果bio* Represents the association of the css and request_queue for the bio. * If a bio goes direct to device, it will not have a blkg as it will * not have a request_queue associated with it. The reference is put * on release of the bio.则返回:blkcg
260  返回:css_to_blkcg(lkcg_css - find the current css* Find the css associated with either the kthread or the current task.* This may return a dying css, so it is up to the caller to use tryget logic* to confirm it is alive and well.)
调用者
名称描述
bfq_get_queue