HomeSort by: relevance | last modified time | path
    Searched refs:dqblk (Results 1 - 13 of 13) sorted by relevancy

  /src/sys/ufs/lfs/
ulfs_quota1_subr.c 58 lfs_dqblk_to_quotavals(const struct dqblk *dqblk,
63 blocks->qv_hardlimit = dqblk2q2e_limit(dqblk->dqb_bhardlimit);
64 blocks->qv_softlimit = dqblk2q2e_limit(dqblk->dqb_bsoftlimit);
65 blocks->qv_usage = dqblk->dqb_curblocks;
66 blocks->qv_expiretime = dqblk->dqb_btime;
68 files->qv_hardlimit = dqblk2q2e_limit(dqblk->dqb_ihardlimit);
69 files->qv_softlimit = dqblk2q2e_limit(dqblk->dqb_isoftlimit);
70 files->qv_usage = dqblk->dqb_curinodes;
71 files->qv_expiretime = dqblk->dqb_itime
    [all...]
ulfs_quota1.h 88 struct dqblk { struct
100 void lfs_dqblk_to_quotavals(const struct dqblk *,
103 struct dqblk *);
ulfs_quota1.c 538 struct dqblk dqb;
643 * Q_SETQUOTA - assign an entire dqblk structure.
646 setquota1(struct mount *mp, u_long id, int type, struct dqblk *dqb)
701 struct dqblk usage;
704 error = copyin(addr, (void *)&usage, sizeof (struct dqblk));
803 aiov.iov_len = sizeof (struct dqblk);
804 auio.uio_resid = sizeof (struct dqblk);
805 auio.uio_offset = (off_t)id * sizeof (struct dqblk);
809 if (auio.uio_resid == sizeof(struct dqblk) && error == 0)
810 memset((void *)&dq->dq_un.dq1_dqb, 0, sizeof(struct dqblk));
    [all...]
ulfs_quota.h 70 struct dqblk dq1_dqb; /* d: actual usage & quotas */
  /src/sys/ufs/ufs/
quota1_subr.c 58 dqblk_to_quotavals(const struct dqblk *dqblk,
63 blocks->qv_hardlimit = dqblk2q2e_limit(dqblk->dqb_bhardlimit);
64 blocks->qv_softlimit = dqblk2q2e_limit(dqblk->dqb_bsoftlimit);
65 blocks->qv_usage = dqblk->dqb_curblocks;
66 blocks->qv_expiretime = dqblk->dqb_btime;
68 files->qv_hardlimit = dqblk2q2e_limit(dqblk->dqb_ihardlimit);
69 files->qv_softlimit = dqblk2q2e_limit(dqblk->dqb_isoftlimit);
70 files->qv_usage = dqblk->dqb_curinodes;
71 files->qv_expiretime = dqblk->dqb_itime
    [all...]
quota1.h 87 struct dqblk { struct
99 void dqblk_to_quotavals(const struct dqblk *,
102 struct dqblk *);
ufs_quota1.c 551 struct dqblk dqb;
656 * Q_SETQUOTA - assign an entire dqblk structure.
659 setquota1(struct mount *mp, u_long id, int type, struct dqblk *dqb)
714 struct dqblk usage;
717 error = copyin(addr, (void *)&usage, sizeof (struct dqblk));
816 aiov.iov_len = sizeof (struct dqblk);
817 auio.uio_resid = sizeof (struct dqblk);
818 auio.uio_offset = (off_t)id * sizeof (struct dqblk);
822 if (auio.uio_resid == sizeof(struct dqblk) && error == 0)
823 memset((void *)&dq->dq_un.dq1_dqb, 0, sizeof(struct dqblk));
    [all...]
ufs_quota.h 69 struct dqblk dq1_dqb; /* d: actual usage & quotas */
  /src/sys/compat/common/
compat_50_quota.c 72 struct dqblk dqblk; local
124 quotavals_to_dqblk(&blocks, &files, &dqblk);
125 error = copyout(&dqblk, SCARG(uap, arg), sizeof(dqblk));
129 error = copyin(SCARG(uap, arg), &dqblk, sizeof(dqblk));
133 dqblk_to_quotavals(&dqblk, &blocks, &files);
  /src/usr.sbin/edquota/
edquota.c 307 struct dqblk dqblk;
312 &dqblk);
319 (off_t)(id * (long)sizeof (struct dqblk)),
321 if (write(fd, &dqblk, sizeof (struct dqblk)) !=
322 sizeof (struct dqblk))
335 struct dqblk dqblk;
373 (void)lseek(fd, (off_t)(id * sizeof(struct dqblk)),
    [all...]
  /src/lib/libquota/
quota_oldfiles.c 322 dqblk_getblocks(const struct dqblk *dq, struct quotaval *qv)
332 dqblk_getfiles(const struct dqblk *dq, struct quotaval *qv)
342 dqblk_putblocks(const struct quotaval *qv, struct dqblk *dq)
352 dqblk_putfiles(const struct quotaval *qv, struct dqblk *dq)
485 struct dqblk dq;
509 pos = qk->qk_id * sizeof(struct dqblk);
572 struct dqblk dq;
596 pos = qk->qk_id * sizeof(struct dqblk);
740 oqc->oqc_numusers = st.st_size / sizeof(struct dqblk);
748 oqc->oqc_numgroups = st.st_size / sizeof(struct dqblk);
    [all...]
  /src/usr.sbin/quotacheck/
quotacheck.c 486 struct dqblk dqbuf;
487 static struct dqblk zerodqbuf;
530 if (fread((char *)&dqbuf, sizeof(struct dqblk), 1, qfi) == 0)
591 (void) fseeko(qfo, (off_t)id * sizeof(struct dqblk),
595 (void) fwrite(&dqbuf, sizeof(struct dqblk), 1, qfo);
608 (off_t)((highid[type] + 1) * sizeof(struct dqblk)));
616 struct dqblk dqbuf;
619 (void)fseeko(qfi, (off_t)to * sizeof(struct dqblk), SEEK_SET);
627 if (fread((char *)&dqbuf, sizeof(struct dqblk), 1, qfi) == 0)
636 (void)fseek(qfi, -(long)sizeof(struct dqblk), SEEK_CUR)
    [all...]
  /src/sys/fs/nfs/common/
nfs_commonsubs.c 832 struct dqblk dqb;
2060 struct dqblk dqb;

Completed in 26 milliseconds