Home
last modified time | relevance | path

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

/freebsd-11-stable/usr.sbin/edquota/
HDedquota.c120 int i, quotatype, range, tmpfd; in main() local
132 quotatype = USRQUOTA; in main()
151 quotatype = GRPQUOTA; in main()
157 quotatype = USRQUOTA; in main()
234 if ((protoid = getentry(protoname, quotatype)) == -1) in main()
236 protoprivs = getprivs(protoid, quotatype, fspath); in main()
266 if ((id = getentry(buf, quotatype)) < 0) in main()
273 curprivs = getprivs(id, quotatype, in main()
290 if ((protoprivs = getprivs(0, quotatype, fspath)) != NULL) { in main()
291 if (writetimes(protoprivs, tmpfd, quotatype) != 0 && in main()
[all …]
/freebsd-11-stable/lib/libutil/
HDquotafile.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()
/freebsd-11-stable/usr.bin/quota/
HDquota.c86 static struct quotause *getprivs(long id, int quotatype);
96 int quotatype);
98 int quotatype);
485 getprivs(long id, int quotatype) in getprivs() argument
518 if (getnfsquota(&fst[i], qup, id, quotatype) == 0) in getprivs()
531 if (getufsquota(fs, qup, id, quotatype) == 0) in getprivs()
554 getufsquota(struct fstab *fs, struct quotause *qup, long id, int quotatype) in getufsquota() argument
558 if ((qf = quota_open(fs, quotatype, O_RDONLY)) == NULL) in getufsquota()
567 getnfsquota(struct statfs *fst, struct quotause *qup, long id, int quotatype) in getnfsquota() argument
602 gq_args.gqa_type = quotatype; in getnfsquota()
[all …]