Lines Matching defs:id
86 static struct quotause *getprivs(long id, int quotatype);
92 static int showquotas(int type, u_long id, const char *name);
93 static void showrawquotas(int type, u_long id, struct quotause *qup);
94 static void heading(int type, u_long id, const char *name, const char *tag);
95 static int getufsquota(struct fstab *fs, struct quotause *qup, long id,
97 static int getnfsquota(struct statfs *fst, struct quotause *qup, long id,
276 showquotas(int type, u_long id, const char *name)
288 quplist = getprivs(id, type);
319 showrawquotas(type, id, qup);
331 heading(type, id, name, "");
343 heading(type, id, name, "");
383 heading(type, id, name, "none");
388 showrawquotas(int type, u_long id, struct quotause *qup)
392 printf("Raw %s quota information for id %lu on %s\n",
393 type == USRQUOTA ? "user" : "group", id, qup->fsname);
425 heading(int type, u_long id, const char *name, const char *tag)
429 name, *qfextension[type], id, tag);
485 getprivs(long id, int quotatype)
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)
560 if (quota_read(qf, &qup->dqblk, id) != 0)
567 getnfsquota(struct statfs *fst, struct quotause *qup, long id, int quotatype)
607 gq_args.gqa_uid = id;