Searched refs:max_pwtab_num (Results 1 - 1 of 1) sorted by relevance

/freebsd-10.1-release/contrib/amd/hlfsd/
H A Dhomedir.c59 static int cur_pwtab_num = 0, max_pwtab_num = 0; variable
603 if (max_pwtab_num > 0) /* was used already. cleanup old table */
638 if (max_pwtab_num <= 0) { /* was never initialized */
639 max_pwtab_num = 1;
640 pwtab = (uid2home_t *) xmalloc(max_pwtab_num *
642 memset((char *) &pwtab[0], 0, max_pwtab_num * sizeof(uid2home_t));
643 untab = (username2uid_t *) xmalloc(max_pwtab_num *
645 memset((char *) &untab[0], 0, max_pwtab_num * sizeof(username2uid_t));
649 if (cur_pwtab_num + 1 > max_pwtab_num) {
651 max_pwtab_num *
[all...]

Completed in 230 milliseconds