Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page-writeback.c Create Date:2022-07-28 14:09:39
Last Modify:2022-05-23 13:25:58 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bdi_set_min_ratio

Proto:int bdi_set_min_ratio(struct backing_dev_info *bdi, unsigned int min_ratio)

Type:int

Parameter:

TypeParameterName
struct backing_dev_info *bdi
unsigned intmin_ratio
677  ret = 0
679  spin_lock_bh( & bdi_lock)
680  If min_ratio > max_ratio Then
681  ret = -EINVAL
682  Else
683  min_ratio -= min_ratio
686  min_ratio += min_ratio
687  Else
688  ret = -EINVAL
691  spin_unlock_bh( & bdi_lock)
693  Return ret
Caller
NameDescribe
min_ratio_store