Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\quota\dquot.c Create Date:2022-07-28 20:32:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:warning_issued

Proto:static int warning_issued(struct dquot *dquot, const int warntype)

Type:int

Parameter:

TypeParameterName
struct dquot *dquot
const intwarntype
1150  flag = If warntype == Block hardlimit reached || warntype == Block grace time expired Then uid/gid has been warned about blk limit Else If warntype == Inode hardlimit reached || warntype == Inode grace time expired Then uid/gid has been warned about inode limit Else 0
1155  If Not flag Then Return 0
1157  Return st_and_set_bit - Set a bit and return its old value*@nr: Bit to set*@addr: Address to count from* This is an atomic fully-ordered operation (implied full memory barrier).
Caller
NameDescribe
prepare_warning