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

/freebsd-current/usr.sbin/edquota/
H A Dedquota.c107 int i, quotatype, range, tmpfd; local
119 quotatype = USRQUOTA;
138 quotatype = GRPQUOTA;
144 quotatype = USRQUOTA;
221 if ((protoid = getentry(protoname, quotatype)) == -1)
223 protoprivs = getprivs(protoid, quotatype, fspath);
253 if ((id = getentry(buf, quotatype)) < 0)
260 curprivs = getprivs(id, quotatype,
277 if ((protoprivs = getprivs(0, quotatype, fspath)) != NULL) {
278 if (writetimes(protoprivs, tmpfd, quotatype) !
324 getentry(const char *name, int quotatype) argument
357 getprivs(long id, int quotatype, char *fspath) argument
461 writeprivs(struct quotause *quplist, int outfd, char *name, int quotatype) argument
675 writetimes(struct quotause *quplist, int outfd, int quotatype) argument
[all...]
/freebsd-current/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-current/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) argument
508 if (getnfsquota(&fst[i], qup, id, quotatype) == 0)
521 if (getufsquota(fs, qup, id, quotatype) == 0)
544 getufsquota(struct fstab *fs, struct quotause *qup, long id, int quotatype) argument
548 if ((qf = quota_open(fs, quotatype, O_RDONLY)) == NULL)
557 getnfsquota(struct statfs *fst, struct quotause *qup, long id, int quotatype) argument
592 gq_args.gqa_type = quotatype;
[all...]

Completed in 96 milliseconds