Lines Matching refs:pent
134 struct sys_pwent *pent;
137 pent = SMB_MALLOC_P(struct sys_pwent);
138 if (pent == NULL) {
142 plist = pent;
147 memset(pent, '\0', sizeof(struct sys_pwent));
149 if ((pent->pw_name = SMB_STRDUP(pwd->pw_name)) == NULL)
153 if ((pent->pw_passwd = SMB_STRDUP(pwd->pw_passwd)) == NULL)
156 pent->pw_uid = pwd->pw_uid;
157 pent->pw_gid = pwd->pw_gid;
159 if ((pent->pw_gecos = SMB_STRDUP(pwd->pw_gecos)) == NULL)
163 if ((pent->pw_dir = SMB_STRDUP(pwd->pw_dir)) == NULL)
167 if ((pent->pw_shell = SMB_STRDUP(pwd->pw_shell)) == NULL)
173 pent->next = SMB_MALLOC_P(struct sys_pwent);
174 if (pent->next == NULL)
176 pent = pent->next;