Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\backing-dev.h Create Date:2022-07-28 09:09:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bdi_get

Proto:static inline struct backing_dev_info *bdi_get(struct backing_dev_info *bdi)

Type:struct backing_dev_info

Parameter:

TypeParameterName
struct backing_dev_info *bdi
24  kref_get - increment refcount for object.*@kref: object.
25  Return bdi
Caller
NameDescribe
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)