Searched refs:dqbuf (Results 1 – 3 of 3) sorted by relevance
/freebsd/usr.sbin/repquota/ |
H A D | repquota.c | 191 struct dqblk dqbuf; in repquota() local 215 if (quota_read(qf, &dqbuf, id) != 0) in repquota() 217 if (dqbuf.dqb_curinodes == 0 && dqbuf.dqb_curblocks == 0) in repquota() 223 dqbuf.dqb_bsoftlimit && in repquota() 224 dqbuf.dqb_curblocks >= in repquota() 225 dqbuf.dqb_bsoftlimit ? '+' : '-', in repquota() 226 dqbuf.dqb_isoftlimit && in repquota() 227 dqbuf.dqb_curinodes >= in repquota() 228 dqbuf.dqb_isoftlimit ? '+' : '-'); in repquota() 229 prthumanval(dqbuf.dqb_curblocks); in repquota() [all …]
|
/freebsd/lib/libutil/ |
H A D | quotafile.c | 408 struct dqblk dqbuf; in quota_write_usage() local 422 if (quota_read(qf, &dqbuf, id) != 0) in quota_write_usage() 428 if (dqbuf.dqb_bsoftlimit && id != 0 && in quota_write_usage() 429 dqbuf.dqb_curblocks < dqbuf.dqb_bsoftlimit && in quota_write_usage() 430 dqb->dqb_curblocks >= dqbuf.dqb_bsoftlimit) in quota_write_usage() 431 dqbuf.dqb_btime = 0; in quota_write_usage() 432 if (dqbuf.dqb_isoftlimit && id != 0 && in quota_write_usage() 433 dqbuf.dqb_curinodes < dqbuf.dqb_isoftlimit && in quota_write_usage() 434 dqb->dqb_curinodes >= dqbuf.dqb_isoftlimit) in quota_write_usage() 435 dqbuf.dqb_itime = 0; in quota_write_usage() [all …]
|
/freebsd/sbin/quotacheck/ |
H A D | quotacheck.c | 423 struct dqblk dqbuf; in update() 433 if (quota_read(qf, &dqbuf, id) < 0) in update() 434 dqbuf = zerodqbuf; in update() 438 dqbuf.dqb_bsoftlimit || dqbuf.dqb_bhardlimit || in update() 439 dqbuf.dqb_isoftlimit || dqbuf.dqb_ihardlimit) in update() 441 if (dqbuf.dqb_curinodes == fup->fu_curinodes && in update() 442 dqbuf.dqb_curblocks == fup->fu_curblocks) { in update() 447 printchanges(fsname, type, &dqbuf, fu in update() 427 struct dqblk dqbuf; update() local [all...] |