Lines Matching refs:sentinel
275 struct addrinfo sentinel = {}; in android_getaddrinfofornetcontext() local
276 struct addrinfo* cur = &sentinel; in android_getaddrinfofornetcontext()
384 if (sentinel.ai_next) break; in android_getaddrinfofornetcontext()
421 if (sentinel.ai_next) { in android_getaddrinfofornetcontext()
429 freeaddrinfo(sentinel.ai_next); in android_getaddrinfofornetcontext()
432 *res = sentinel.ai_next; in android_getaddrinfofornetcontext()
480 struct addrinfo sentinel; in explore_null() local
490 sentinel.ai_next = NULL; in explore_null()
491 cur = &sentinel; in explore_null()
520 *res = sentinel.ai_next; in explore_null()
524 freeaddrinfo(sentinel.ai_next); in explore_null()
535 struct addrinfo sentinel; in explore_numeric() local
545 sentinel.ai_next = NULL; in explore_numeric()
546 cur = &sentinel; in explore_numeric()
568 freeaddrinfo(sentinel.ai_next); in explore_numeric()
577 *res = sentinel.ai_next; in explore_numeric()
581 freeaddrinfo(sentinel.ai_next); in explore_numeric()
830 struct addrinfo sentinel = {}; in getanswer() local
850 cur = &sentinel; in getanswer()
1003 (void) get_canonname(pai, sentinel.ai_next, qname); in getanswer()
1005 (void) get_canonname(pai, sentinel.ai_next, canonname); in getanswer()
1007 return sentinel.ai_next; in getanswer()
1454 addrinfo sentinel = {}; in dns_getaddrinfo() local
1455 addrinfo* cur = &sentinel; in dns_getaddrinfo()
1465 if (sentinel.ai_next == NULL) { in dns_getaddrinfo()
1471 _rfc6724_sort(&sentinel, netcontext->app_mark, netcontext->uid); in dns_getaddrinfo()
1473 *rv = sentinel.ai_next; in dns_getaddrinfo()
1543 struct addrinfo sentinel = {}; in files_getaddrinfo() local
1547 cur = &sentinel; in files_getaddrinfo()
1556 *res = sentinel.ai_next; in files_getaddrinfo()
1557 return sentinel.ai_next != NULL; in files_getaddrinfo()