Lines Matching defs:up
520 struct du *up;
522 for (up = duhashtbl[HASH(uid)]; up != NULL; up = up->next) {
523 if (up->uid == uid)
524 return (up);
529 up = adduid(uid);
530 if (up && pwp) {
531 up->u_name = strdup(pwp->pw_name);
533 return (up);
539 struct du *up, **uhp;
541 up = (struct du *)calloc(1, sizeof (struct du));
542 if (up == NULL) {
549 up->next = *uhp;
550 *uhp = up;
551 up->uid = uid;
552 up->u_name = NULL;
554 return (up);