Home | History | Annotate | Download | only in quot

Lines Matching defs:nusers

207 static int nusers;
215 if (!nusers) {
216 nusers = 8;
217 if (!(users = calloc(nusers, sizeof(*users))))
220 for (usr = users, i = nusers; --i >= 0; usr++) {
235 nusers <<= 1;
236 if (!(users = calloc(nusers, sizeof(*users))))
238 for (usr = svusr, i = nusers >> 1; --i >= 0; usr++) {
239 for (usrn = users + (usr->uid&(nusers - 1));
243 usrn = users + nusers;
257 for (usr = users + (uid & (nusers - 1)), i = nusers;
275 usr = users + nusers;
288 #define sortusers(users) (qsort((users), nusers, sizeof(struct user), \
431 if (!(usrs = calloc(nusers, sizeof(*usrs))))
433 memmove(usrs, users, nusers * sizeof(*usrs));
435 for (usr = usrs, n = nusers; --n >= 0 && usr->count; usr++) {