Lines Matching defs:uid
109 uid_t uid;
152 uid = getentry(optarg);
153 if (uid > MAXUID) {
157 getprivs(uid);
163 uid = getentry(argv[i]);
164 if (uid > MAXUID) {
168 getdiscq(uid);
169 putprivs(uid);
195 uid = getentry(argv[i]);
196 if (uid > MAXUID)
198 getprivs(uid);
200 putprivs(uid);
201 if (uid == 0) {
202 (void) printf("edquota: Note that uid 0's quotas "
204 (void) printf("not as a limit on the uid 0 user.\n");
215 uid_t uid;
219 uid = strtol(name, NULL, 10);
221 /* name would cause overflow in uid */
222 (void) fprintf(stderr, "edquota: uid %s too large\n",
228 uid = pw->pw_uid;
234 return (uid);
323 getprivs(uid_t uid)
328 getdiscq(uid);
348 putprivs(uid_t uid)
493 putdiscq(uid);
497 gettimes(uid_t uid)
503 getdiscq(uid);
521 puttimes(uid_t uid)
575 putdiscq(uid);
702 getdiscq(uid_t uid)
708 if (quotactl(Q_GETQUOTA, fsqp->fsq_dev, uid,
715 (void) llseek(fd, (offset_t)dqoff(uid), L_SET);
742 putdiscq(uid_t uid)
747 if (quotactl(Q_SETQLIM, fsqp->fsq_dev, uid,
756 (void) llseek(fd, (offset_t)dqoff(uid), L_SET);
813 quotactl(int cmd, char *special, uid_t uid, caddr_t addr)
899 quota.uid = uid;