函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\backing-dev.c Create Date:2022-07-27 15:48:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:cgwb_bdi_init

函数原型:static int cgwb_bdi_init(struct backing_dev_info *bdi)

返回类型:int

参数:

类型参数名称
struct backing_dev_info *bdi
816  wb_congested等于分配内存并置零
817  如果非wb_congested则返回:负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  如果err
824  wb_congested_put(wb_congested)
825  返回:err
827  返回:0
调用者
名称描述
bdi_init