函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bdi_get

函数原型:static inline struct backing_dev_info *bdi_get(struct backing_dev_info *bdi)

返回类型:struct backing_dev_info

参数:

类型参数名称
struct backing_dev_info *bdi
24  对象增加引用
25  返回:bdi
调用者
名称描述
wb_init
bdi_get_by_iddi_get_by_id - lookup and get bdi from its id*@id: bdi id to lookup* Find bdi matching @id and get it. Returns NULL if the matching bdi* doesn't exist or is already unregistered.
set_bdev_super
__blkdev_getd_mutex locking:* mutex_lock(part->bd_mutex)* mutex_lock_nested(whole->bd_mutex, 1)