Lines Matching refs:first
322 c = base->first; in _nscd_free_getent_ctx_base()
418 if (base->first == NULL) { in _nscd_get_getent_ctx()
429 base->first = _nscd_create_getent_ctx(params); in _nscd_get_getent_ctx()
430 if (base->first != NULL) in _nscd_get_getent_ctx()
444 (me, "got a new getent ctx %p\n", base->first); in _nscd_get_getent_ctx()
448 assert(base->first != NULL); in _nscd_get_getent_ctx()
450 c = base->first; in _nscd_get_getent_ctx()
451 base->first = c->next; in _nscd_get_getent_ctx()
508 if (base->first != NULL) { in _nscd_put_getent_ctx()
509 gnctx->next = base->first; in _nscd_put_getent_ctx()
510 base->first = gnctx; in _nscd_put_getent_ctx()
512 base->first = gnctx; in _nscd_put_getent_ctx()
659 nscd_getent_context_t *first = NULL, *last = NULL; in reclaim_getent_ctx() local
694 if (first != NULL) { in reclaim_getent_ctx()
696 for (c = first; c != NULL; in reclaim_getent_ctx()
706 first = gctx; in reclaim_getent_ctx()
719 for (gctx = first; gctx; ) { in reclaim_getent_ctx()
744 first = last = NULL; in reclaim_getent_ctx()