Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cgwb_bdi_init

Proto:static int cgwb_bdi_init(struct backing_dev_info *bdi)

Type:int

Parameter:

TypeParameterName
struct backing_dev_info *bdi
816  wb_congested = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).
817  If Not wb_congested Then Return -ENOMEM
820  _set - set a refcount's value*@r: the refcount*@n: value to which the refcount will be set
822  err = wb_init( & the root writeback info for this bdi , bdi, 1, GFP_KERNEL)
823  If err Then
824  wb_congested_put(wb_congested)
825  Return err
827  Return 0
Caller
NameDescribe
bdi_init