• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/diskdev_cmds-572.1.1/quota.tproj/

Lines Matching refs:dqblk

94 	struct	dqblk dqblk;
113 int qflookup(int, u_long, int, struct dqblk *);
330 qup->dqblk.dqb_isoftlimit == 0 &&
331 qup->dqblk.dqb_ihardlimit == 0 &&
332 qup->dqblk.dqb_bsoftlimit == 0 &&
333 qup->dqblk.dqb_bhardlimit == 0)
336 if (qup->dqblk.dqb_ihardlimit &&
337 qup->dqblk.dqb_curinodes >= qup->dqblk.dqb_ihardlimit) {
339 } else if (qup->dqblk.dqb_isoftlimit &&
340 qup->dqblk.dqb_curinodes >= qup->dqblk.dqb_isoftlimit) {
341 if (qup->dqblk.dqb_itime > now) {
349 if (qup->dqblk.dqb_bhardlimit &&
350 qup->dqblk.dqb_curbytes >= qup->dqblk.dqb_bhardlimit) {
352 } else if (qup->dqblk.dqb_bsoftlimit &&
353 qup->dqblk.dqb_curbytes >= qup->dqblk.dqb_bsoftlimit) {
354 if (qup->dqblk.dqb_btime > now) {
361 if (qup->dqblk.dqb_bhardlimit &&
362 qup->dqblk.dqb_curblocks >= qup->dqblk.dqb_bhardlimit) {
364 } else if (qup->dqblk.dqb_bsoftlimit &&
365 qup->dqblk.dqb_curblocks >= qup->dqblk.dqb_bsoftlimit) {
366 if (qup->dqblk.dqb_btime > now) {
386 qup->dqblk.dqb_curbytes ||
387 qup->dqblk.dqb_curinodes) {
393 , qup->dqblk.dqb_curbytes / 1024
395 , qup->dqblk.dqb_bsoftlimit / 1024
396 , qup->dqblk.dqb_bhardlimit / 1024
398 : timeprt(qup->dqblk.dqb_btime));
401 qup->dqblk.dqb_curblocks ||
402 qup->dqblk.dqb_curinodes) {
408 , dbtob(qup->dqblk.dqb_curblocks) / 1024
410 , dbtob(qup->dqblk.dqb_bsoftlimit) / 1024
411 , dbtob(qup->dqblk.dqb_bhardlimit) / 1024
413 : timeprt(qup->dqblk.dqb_btime));
416 , qup->dqblk.dqb_curinodes
418 , qup->dqblk.dqb_isoftlimit
419 , qup->dqblk.dqb_ihardlimit
421 : timeprt(qup->dqblk.dqb_itime)
576 struct dqblk dqb;
609 bcopy(&dqb, &qup->dqblk, sizeof(dqb));
616 if ((error = qflookup(fd, id, quotatype, &qup->dqblk))) {
660 if (quotactl(fs->fs_file, qcmd, id, &qup->dqblk) != 0) {
666 lseek(fd, (off_t)(id * sizeof(struct dqblk)), L_SET);
667 switch (read(fd, &qup->dqblk, sizeof(struct dqblk))) {
671 * into an explicit one (zero'ed dqblk)
673 bzero((caddr_t)&qup->dqblk,
674 sizeof(struct dqblk));
677 case sizeof(struct dqblk): /* OK */
712 struct dqblk *dqbp;
718 bzero(dqbp, sizeof(struct dqblk));
746 if (read(fd, dqbp, sizeof(struct dqblk)) < sizeof(struct dqblk)) {