Lines Matching refs:first
320 c = base->first; in _nscd_free_getent_ctx_base()
416 if (base->first == NULL) { in _nscd_get_getent_ctx()
427 base->first = _nscd_create_getent_ctx(params); in _nscd_get_getent_ctx()
428 if (base->first != NULL) in _nscd_get_getent_ctx()
442 (me, "got a new getent ctx %p\n", base->first); in _nscd_get_getent_ctx()
446 assert(base->first != NULL); in _nscd_get_getent_ctx()
448 c = base->first; in _nscd_get_getent_ctx()
449 base->first = c->next; in _nscd_get_getent_ctx()
506 if (base->first != NULL) { in _nscd_put_getent_ctx()
507 gnctx->next = base->first; in _nscd_put_getent_ctx()
508 base->first = gnctx; in _nscd_put_getent_ctx()
510 base->first = gnctx; in _nscd_put_getent_ctx()
657 nscd_getent_context_t *first = NULL, *last = NULL; in reclaim_getent_ctx() local
690 if (first != NULL) { in reclaim_getent_ctx()
692 for (c = first; c != NULL; in reclaim_getent_ctx()
702 first = gctx; in reclaim_getent_ctx()
715 for (gctx = first; gctx; ) { in reclaim_getent_ctx()
740 first = last = NULL; in reclaim_getent_ctx()