Lines Matching refs:warntype
1161 static int warning_issued(struct dquot *dquot, const int warntype) in warning_issued() argument
1163 int flag = (warntype == QUOTA_NL_BHARDWARN || in warning_issued()
1164 warntype == QUOTA_NL_BSOFTLONGWARN) ? DQ_BLKS_B : in warning_issued()
1165 ((warntype == QUOTA_NL_IHARDWARN || in warning_issued()
1166 warntype == QUOTA_NL_ISOFTLONGWARN) ? DQ_INODES_B : 0); in warning_issued()
1197 int warntype = warn->w_type; in print_warning() local
1199 if (warntype == QUOTA_NL_IHARDBELOW || in print_warning()
1200 warntype == QUOTA_NL_ISOFTBELOW || in print_warning()
1201 warntype == QUOTA_NL_BHARDBELOW || in print_warning()
1202 warntype == QUOTA_NL_BSOFTBELOW || !need_print_warning(warn)) in print_warning()
1209 if (warntype == QUOTA_NL_ISOFTWARN || warntype == QUOTA_NL_BSOFTWARN) in print_warning()
1214 switch (warntype) { in print_warning()
1240 int warntype) in prepare_warning() argument
1242 if (warning_issued(dquot, warntype)) in prepare_warning()
1244 warn->w_type = warntype; in prepare_warning()