Searched refs:dqblk (Results 1 - 10 of 10) sorted by relevance

/freebsd-current/libexec/rpc.rquotad/
H A Drquotad.c37 static int getfsquota(int type, long id, char *path, struct dqblk *dqblk);
171 struct dqblk dqblk; local
183 } else if (!getfsquota(USRQUOTA, getq_args.gqa_uid, getq_args.gqa_pathp, &dqblk)) {
190 scale = 1 << flsll(dqblk.dqb_bhardlimit >> 32);
194 dqblk.dqb_bhardlimit / scale;
196 dqblk.dqb_bsoftlimit / scale;
198 dqblk.dqb_curblocks / scale;
200 dqblk
223 struct dqblk dqblk; local
275 getfsquota(int type, long id, char *path, struct dqblk *dqblk) argument
[all...]
/freebsd-current/usr.bin/quota/
H A Dquota.c71 struct dqblk dqblk; member in struct:quotause
281 if (qup->dqblk.dqb_ihardlimit &&
282 qup->dqblk.dqb_curinodes >= qup->dqblk.dqb_ihardlimit) {
286 else if (qup->dqblk.dqb_isoftlimit &&
287 qup->dqblk.dqb_curinodes >= qup->dqblk.dqb_isoftlimit) {
289 if (qup->dqblk.dqb_itime > now)
295 if (qup->dqblk
[all...]
/freebsd-current/usr.sbin/edquota/
H A Dedquota.c78 struct dqblk dqblk; member in struct:quotause
175 qup->dqblk.dqb_bsoftlimit =
181 qup->dqblk.dqb_bhardlimit =
187 qup->dqblk.dqb_isoftlimit =
193 qup->dqblk.dqb_ihardlimit =
227 qup->dqblk.dqb_btime = 0;
228 qup->dqblk.dqb_itime = 0;
264 curprivs->dqblk = qup->dqblk;
529 struct dqblk dqblk; local
[all...]
/freebsd-current/lib/libutil/
H A Dquotafile.c281 quota_read32(struct quotafile *qf, struct dqblk *dqb, int id)
309 quota_read64(struct quotafile *qf, struct dqblk *dqb, int id)
337 quota_read(struct quotafile *qf, struct dqblk *dqb, int id)
360 quota_write32(struct quotafile *qf, const struct dqblk *dqb, int id)
383 quota_write64(struct quotafile *qf, const struct dqblk *dqb, int id)
406 quota_write_usage(struct quotafile *qf, struct dqblk *dqb, int id)
408 struct dqblk dqbuf;
454 quota_write_limits(struct quotafile *qf, struct dqblk *dqb, int id)
456 struct dqblk dqbuf;
519 struct dqblk dqbl local
[all...]
H A Dlibutil.h206 int quota_read(struct quotafile *_qf, struct dqblk *_dqb, int _id);
207 int quota_write_limits(struct quotafile *_qf, struct dqblk *_dqb, int _id);
208 int quota_write_usage(struct quotafile *_qf, struct dqblk *_dqb, int _id);
/freebsd-current/sbin/quotacheck/
H A Dquotacheck.c119 void printchanges(const char *, int, struct dqblk *, struct fileusage *,
427 struct dqblk dqbuf;
429 static struct dqblk zerodqbuf;
470 bzero(&dqbuf, sizeof(struct dqblk));
488 sb.st_size > (off_t)((highid + 2) * sizeof(struct dqblk)))
490 (((off_t)highid + 2) * sizeof(struct dqblk)));
677 printchanges(const char *fsname, int type, struct dqblk *dp,
/freebsd-current/sys/ufs/ufs/
H A Dquota.h121 #define dqblk dqblk64 macro
/freebsd-current/usr.sbin/repquota/
H A Drepquota.c191 struct dqblk dqbuf;
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_vfsops.c304 struct dqblk64 dqblk = { 0 }; local
395 error = copyin(arg, &dqblk, sizeof (dqblk));
398 "", id, dbtob(dqblk.dqb_bhardlimit));
401 error = zfs_getquota(zfsvfs, id, type == GRPQUOTA, &dqblk);
403 error = copyout(&dqblk, arg, sizeof (dqblk));
/freebsd-current/sys/fs/nfs/
H A Dnfs_commonsubs.c1297 struct dqblk dqb;
2573 struct dqblk dqb;
3132 struct dqblk dqb;

Completed in 187 milliseconds