Lines Matching defs:next

546 	nss_cfglist_t	*next;
560 next = nss_cfg;
562 if (next->name && nss_cfgcn_cmp(name, next->name) == 0) {
564 return (next);
566 next++;
577 next = (nss_cfglist_t *)libc_realloc(nss_cfg, nsize);
578 if (next == NULL) {
583 (void) memset((void *)(next + nss_cfgcount), '\0',
586 nss_cfg = next;
588 next = nss_cfg + nss_cfgcount;
590 if ((next->name = libc_malloc(len)) == NULL) {
596 (void) strlcpy(next->name, name, len);
598 return (next);
606 nss_cfgparam_t *next;
614 next = comp->list;
616 if (next->name && strcmp(name, next->name) == 0) {
618 return (next);
620 next++;
631 next = (nss_cfgparam_t *)libc_realloc(comp->list, nsize);
632 if (next == NULL) {
638 comp->list = next;
640 next = comp->list + comp->count;
641 if ((next->name = libc_strdup(name)) == NULL) {
648 return (next);
657 nss_cfgparam_t *next, *cur;
668 next = comp->list;
670 if (next->name && strcmp(name, next->name) == 0) {
673 next++;
683 cur = next;
684 next++;
686 *cur = *next;
688 next++;
703 nss_cfg_get(nss_config_t *next)
708 if ((param = nss_cfgparam_get(next->name, 0)) == NULL)
710 next->lock = param->lock;
711 next->buffer = param->buffer;
712 next->length = param->length;
717 nss_cfg_put(nss_config_t *next, int add)
722 if ((param = nss_cfgparam_get(next->name, add)) == NULL)
724 param->lock = next->lock;
725 param->buffer = next->buffer;
726 param->length = next->length;
741 nss_config_t *next;
751 next = plist[i];
752 if (next == NULL)
754 if (next->name == NULL) {
758 switch (next->cop) {
761 if (nss_cfg_get(next) < 0) {
767 if (nss_cfg_put(next, 0) < 0) {
773 if (nss_cfg_put(next, 1) < 0) {
779 nss_cfg_del(next);
803 nss_config_t *next = &nss_policy_params[0];
805 for (; next && next->name != NULL; next++) {
806 if (nss_cfg_put(next, 1) < 0)
959 for (bf = s->p.finders; bf != 0; bf = bf->next) {
1066 for (look = config->lookups; look != NULL; look = look->next)
1072 for (look = config->lookups; look != NULL; look = look->next) {
1146 n_src < s->max_src; n_src++, lkp = lkp->next) {
1804 * OUT = starting offset for next section
2199 /* save away for the next ent request */