Home | History | Annotate | Download | only in quota

Lines Matching refs:qv

91 static int	isover(struct quotaval *qv, time_t now);
437 printqv(struct quotaval *qv, int isbytes, time_t now)
452 over = isover(qv, now);
454 str = intprt(buf, width, qv->qv_usage, intprtflags, hflag);
459 str = intprt(buf, width, qv->qv_softlimit, intprtflags, hflag);
462 str = intprt(buf, width, qv->qv_hardlimit, intprtflags, hflag);
466 str = timeprt(buf, 9, now, qv->qv_expiretime);
467 } else if (vflag && qv->qv_grace != QUOTA_NOTIME) {
468 str = timeprt(buf, 9, 0, qv->qv_grace);
581 isover(struct quotaval *qv, time_t now)
583 return (qv->qv_usage >= qv->qv_hardlimit ||
584 qv->qv_usage >= qv->qv_softlimit);
588 getovermsg(struct quotaval *qv, const char *what, time_t now)
592 if (qv->qv_usage >= qv->qv_hardlimit) {
598 if (qv->qv_usage < qv->qv_softlimit) {
603 if (now > qv->qv_expiretime) {