函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:wb_congested_get_create

函数原型:static inline struct bdi_writeback_congested *wb_congested_get_create(struct backing_dev_info *bdi, int blkcg_id, gfp_t gfp)

返回类型:struct bdi_writeback_congested

参数:

类型参数名称
struct backing_dev_info *bdi
intblkcg_id
gfp_tgfp
414  _inc - increment a refcount*@r: the refcount to increment* Similar to atomic_inc(), but will saturate at REFCOUNT_SATURATED and WARN
415  返回:wb_congested
调用者
名称描述
wb_init
blkg_createIf @new_blkg is %NULL, this function tries to allocate a new one as* necessary using %GFP_NOWAIT. @new_blkg is always consumed on return.