Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bdi_register_owner

Proto:int bdi_register_owner(struct backing_dev_info *bdi, struct device *owner)

Type:int

Parameter:

TypeParameterName
struct backing_dev_info *bdi
struct device *owner
984  rc = bdi_register(bdi, "%u:%u", MAJOR( dev_t, creates the sysfs "dev" ), MINOR( dev_t, creates the sysfs "dev" ))
985  If rc Then Return rc
988  WARN_ON(owner)
989  owner = owner
990  get_device - atomically increment the reference count for the device.
991  Return 0