quota.c (04389c855e56d1715637fa43575ec13455a68b2e) | quota.c (1a7ac2bd24c1763b0d32e23d9c70308fbc24b07a) |
---|---|
1/* 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 1980, 1990, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * Robert Elz at The University of Melbourne. --- 72 unchanged lines hidden (view full) --- 81 struct quotause *next; 82 long flags; 83 struct dqblk dqblk; 84 char fsname[MAXPATHLEN + 1]; 85}; 86 87static char *timeprt(int64_t seconds); 88static struct quotause *getprivs(long id, int quotatype); | 1/* 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 1980, 1990, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * Robert Elz at The University of Melbourne. --- 72 unchanged lines hidden (view full) --- 81 struct quotause *next; 82 long flags; 83 struct dqblk dqblk; 84 char fsname[MAXPATHLEN + 1]; 85}; 86 87static char *timeprt(int64_t seconds); 88static struct quotause *getprivs(long id, int quotatype); |
89static void usage(void); | 89static void usage(void) __dead2; |
90static int showuid(u_long uid); 91static int showgid(u_long gid); 92static int showusrname(char *name); 93static int showgrpname(char *name); 94static int showquotas(int type, u_long id, const char *name); 95static void showrawquotas(int type, u_long id, struct quotause *qup); 96static void heading(int type, u_long id, const char *name, const char *tag); 97static int getufsquota(struct fstab *fs, struct quotause *qup, long id, --- 602 unchanged lines hidden --- | 90static int showuid(u_long uid); 91static int showgid(u_long gid); 92static int showusrname(char *name); 93static int showgrpname(char *name); 94static int showquotas(int type, u_long id, const char *name); 95static void showrawquotas(int type, u_long id, struct quotause *qup); 96static void heading(int type, u_long id, const char *name, const char *tag); 97static int getufsquota(struct fstab *fs, struct quotause *qup, long id, --- 602 unchanged lines hidden --- |