Home
last modified time | relevance | path

Searched refs:quotatype (Results 1 – 3 of 3) sorted by relevance

/freebsd/usr.sbin/edquota/
H A Dedquota.c107 int i, quotatype, range, tmpfd; in main() local
119 quotatype = USRQUOTA; in main()
138 quotatype = GRPQUOTA; in main()
144 quotatype = USRQUOTA; in main()
221 if ((protoid = getentry(protoname, quotatype)) == -1) in main()
223 protoprivs = getprivs(protoid, quotatype, fspath); in main()
253 if ((id = getentry(buf, quotatype)) < 0) in main()
260 curprivs = getprivs(id, quotatype, in main()
277 if ((protoprivs = getprivs(0, quotatype, fspath)) != NULL) { in main()
278 if (writetimes(protoprivs, tmpfd, quotatype) != 0 && in main()
[all …]
/freebsd/usr.bin/quota/
H A Dquota.c76 static struct quotause *getprivs(long id, int quotatype);
86 int quotatype);
88 int quotatype);
475 getprivs(long id, int quotatype) in getprivs() argument
508 if (getnfsquota(&fst[i], qup, id, quotatype) == 0) in getprivs()
521 if (getufsquota(fs, qup, id, quotatype) == 0) in getprivs()
544 getufsquota(struct fstab *fs, struct quotause *qup, long id, int quotatype) in getufsquota() argument
548 if ((qf = quota_open(fs, quotatype, O_RDONLY)) == NULL) in getufsquota()
557 getnfsquota(struct statfs *fst, struct quotause *qup, long id, int quotatype) in getnfsquota() argument
592 gq_args.gqa_type = quotatype; in getnfsquota()
[all …]
/freebsd/lib/libutil/
H A Dquotafile.c54 int quotatype; /* USRQUOTA or GRPQUOTA */ member
113 quota_open(struct fstab *fs, int quotatype, int openflags) in quota_open() argument
125 qf->quotatype = quotatype; in quota_open()
130 qcmd = QCMD(Q_GETQUOTASIZE, quotatype); in quota_open()
137 serrno = hasquota(fs, quotatype, qf->qfname, in quota_open()
223 qcmd = QCMD(Q_QUOTAON, qf->quotatype); in quota_on()
231 return (quotactl(qf->fsname, QCMD(Q_QUOTAOFF, qf->quotatype), 0, 0)); in quota_off()
342 qcmd = QCMD(Q_GETQUOTA, qf->quotatype); in quota_read()
412 qcmd = QCMD(Q_SETUSE, qf->quotatype); in quota_write_usage()
460 qcmd = QCMD(Q_SETQUOTA, qf->quotatype); in quota_write_limits()