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

/freebsd-11-stable/usr.sbin/edquota/
H A Dedquota.c120 int i, quotatype, range, tmpfd; local
132 quotatype = USRQUOTA;
151 quotatype = GRPQUOTA;
157 quotatype = USRQUOTA;
234 if ((protoid = getentry(protoname, quotatype)) == -1)
236 protoprivs = getprivs(protoid, quotatype, fspath);
266 if ((id = getentry(buf, quotatype)) < 0)
273 curprivs = getprivs(id, quotatype,
290 if ((protoprivs = getprivs(0, quotatype, fspath)) != NULL) {
291 if (writetimes(protoprivs, tmpfd, quotatype) !
337 getentry(const char *name, int quotatype) argument
370 getprivs(long id, int quotatype, char *fspath) argument
474 writeprivs(struct quotause *quplist, int outfd, char *name, int quotatype) argument
688 writetimes(struct quotause *quplist, int outfd, int quotatype) argument
[all...]
/freebsd-11-stable/lib/libutil/
H A Dquotafile.c54 int quotatype; /* USRQUOTA or GRPQUOTA */ member in struct:quotafile
113 quota_open(struct fstab *fs, int quotatype, int openflags) argument
125 qf->quotatype = quotatype;
130 qcmd = QCMD(Q_GETQUOTASIZE, quotatype);
137 serrno = hasquota(fs, quotatype, qf->qfname,
223 qcmd = QCMD(Q_QUOTAON, qf->quotatype);
231 return (quotactl(qf->fsname, QCMD(Q_QUOTAOFF, qf->quotatype), 0, 0));
342 qcmd = QCMD(Q_GETQUOTA, qf->quotatype);
412 qcmd = QCMD(Q_SETUSE, qf->quotatype);
[all...]
/freebsd-11-stable/usr.bin/quota/
H A Dquota.c86 static struct quotause *getprivs(long id, int quotatype);
96 int quotatype);
98 int quotatype);
485 getprivs(long id, int quotatype) argument
518 if (getnfsquota(&fst[i], qup, id, quotatype) == 0)
531 if (getufsquota(fs, qup, id, quotatype) == 0)
554 getufsquota(struct fstab *fs, struct quotause *qup, long id, int quotatype) argument
558 if ((qf = quota_open(fs, quotatype, O_RDONLY)) == NULL)
567 getnfsquota(struct statfs *fst, struct quotause *qup, long id, int quotatype) argument
602 gq_args.gqa_type = quotatype;
[all...]

Completed in 177 milliseconds