Lines Matching refs:spw
72 free_spwd(struct spwd *spw) in free_spwd() argument
74 if (spw->sp_namp) free(spw->sp_namp); in free_spwd()
75 if (spw->sp_pwdp) free(spw->sp_pwdp); in free_spwd()
76 free(spw); in free_spwd()
164 turn_on_default_aging(struct spwd *spw) in turn_on_default_aging() argument
188 spw->sp_min = 7 * minweeks; in turn_on_default_aging()
189 if (spw->sp_min <= 0) in turn_on_default_aging()
190 spw->sp_min = -1; in turn_on_default_aging()
192 spw->sp_max = 7 * maxweeks; in turn_on_default_aging()
193 if (spw->sp_max == 0) in turn_on_default_aging()
194 spw->sp_max = 7 * MAXWEEKS; in turn_on_default_aging()
195 if (spw->sp_max < 0) in turn_on_default_aging()
196 spw->sp_max = -1; in turn_on_default_aging()
198 spw->sp_warn = 7 * warnweeks; in turn_on_default_aging()
199 if (spw->sp_warn <= 0) in turn_on_default_aging()
200 spw->sp_warn = -1; in turn_on_default_aging()