/freebsd/usr.sbin/edquota/ |
H A D | edquota.c | 78 struct dqblk dqblk; member 175 qup->dqblk.dqb_bsoftlimit = in main() 181 qup->dqblk.dqb_bhardlimit = in main() 187 qup->dqblk.dqb_isoftlimit = in main() 193 qup->dqblk.dqb_ihardlimit = in main() 227 qup->dqblk.dqb_btime = 0; in main() 228 qup->dqblk.dqb_itime = 0; in main() 264 curprivs->dqblk = qup->dqblk; in main() 381 if (quota_read(qf, &qup->dqblk, id) == -1) { in getprivs() 409 if (quota_write_limits(qup->qf, &qup->dqblk, id) == -1) in putprivs() [all …]
|
/freebsd/libexec/rpc.rquotad/ |
H A D | rquotad.c | 37 static int getfsquota(int type, long id, char *path, struct dqblk *dqblk); 171 struct dqblk dqblk; in sendquota() local 183 } else if (!getfsquota(USRQUOTA, getq_args.gqa_uid, getq_args.gqa_pathp, &dqblk)) { in sendquota() 190 scale = 1 << flsll(dqblk.dqb_bhardlimit >> 32); in sendquota() 194 dqblk.dqb_bhardlimit / scale; in sendquota() 196 dqblk.dqb_bsoftlimit / scale; in sendquota() 198 dqblk.dqb_curblocks / scale; in sendquota() 200 dqblk.dqb_ihardlimit; in sendquota() 202 dqblk.dqb_isoftlimit; in sendquota() 204 dqblk.dqb_curinodes; in sendquota() [all …]
|
/freebsd/usr.bin/quota/ |
H A D | quota.c | 71 struct dqblk dqblk; member 281 if (qup->dqblk.dqb_ihardlimit && in showquotas() 282 qup->dqblk.dqb_curinodes >= qup->dqblk.dqb_ihardlimit) { in showquotas() 286 else if (qup->dqblk.dqb_isoftlimit && in showquotas() 287 qup->dqblk.dqb_curinodes >= qup->dqblk.dqb_isoftlimit) { in showquotas() 289 if (qup->dqblk.dqb_itime > now) in showquotas() 295 if (qup->dqblk.dqb_bhardlimit && in showquotas() 296 qup->dqblk.dqb_curblocks >= qup->dqblk.dqb_bhardlimit) { in showquotas() 300 else if (qup->dqblk.dqb_bsoftlimit && in showquotas() 301 qup->dqblk.dqb_curblocks >= qup->dqblk.dqb_bsoftlimit) { in showquotas() [all …]
|
/freebsd/lib/libutil/ |
H A D | quotafile.c | 281 quota_read32(struct quotafile *qf, struct dqblk *dqb, int id) in quota_read32() 309 quota_read64(struct quotafile *qf, struct dqblk *dqb, int id) in quota_read64() 337 quota_read(struct quotafile *qf, struct dqblk *dqb, int id) in quota_read() 360 quota_write32(struct quotafile *qf, const struct dqblk *dqb, int id) in quota_write32() 383 quota_write64(struct quotafile *qf, const struct dqblk *dqb, int id) in quota_write64() 406 quota_write_usage(struct quotafile *qf, struct dqblk *dqb, int id) in quota_write_usage() 408 struct dqblk dqbuf; in quota_write_usage() 454 quota_write_limits(struct quotafile *qf, struct dqblk *dqb, int id) in quota_write_limits() 456 struct dqblk dqbuf; in quota_write_limits() 519 struct dqblk dqblk; in quota_convert() local [all …]
|
H A D | libutil.h | 206 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/sbin/quotacheck/ |
H A D | quotacheck.c | 115 void printchanges(const char *, int, struct dqblk *, struct fileusage *, 423 struct dqblk dqbuf; in update() 425 static struct dqblk zerodqbuf; in update() 466 bzero(&dqbuf, sizeof(struct dqblk)); in update() 484 sb.st_size > (off_t)((highid + 2) * sizeof(struct dqblk))) in update() 486 (((off_t)highid + 2) * sizeof(struct dqblk))); in update() 673 printchanges(const char *fsname, int type, struct dqblk *dp,
|
/freebsd/sys/ufs/ufs/ |
H A D | quota.h | 121 #define dqblk dqblk64 macro
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zfs_vfsops.c | 297 struct dqblk64 dqblk = { 0 }; in zfs_quotactl() 388 error = copyin(arg, &dqblk, sizeof (dqblk)); in zfs_quotactl() 391 "", id, dbtob(dqblk.dqb_bhardlimit)); in zfs_quotactl() 394 error = zfs_getquota(zfsvfs, id, type == GRPQUOTA, &dqblk); in zfs_quotactl() 396 error = copyout(&dqblk, arg, sizeof (dqblk)); in zfs_quotactl() 295 struct dqblk64 dqblk = { 0 }; zfs_quotactl() local
|
/freebsd/usr.sbin/repquota/ |
H A D | repquota.c | 191 struct dqblk dqbuf; in repquota()
|
/freebsd/sys/fs/nfs/ |
H A D | nfs_commonsubs.c | 1302 struct dqblk dqb; in nfsv4_loadattr() 2596 struct dqblk dqb; in nfsv4_fillattr() 3182 struct dqblk dqb; in nfsv4_filesavail()
|