Lines Matching refs:sentinel
590 struct addrinfo sentinel; in android_getaddrinfofornetcontext() local
603 memset(&sentinel, 0, sizeof(sentinel)); in android_getaddrinfofornetcontext()
604 cur = &sentinel; in android_getaddrinfofornetcontext()
724 if (sentinel.ai_next) in android_getaddrinfofornetcontext()
774 if (sentinel.ai_next) in android_getaddrinfofornetcontext()
780 if (sentinel.ai_next) { in android_getaddrinfofornetcontext()
782 *res = sentinel.ai_next; in android_getaddrinfofornetcontext()
789 if (sentinel.ai_next) in android_getaddrinfofornetcontext()
790 freeaddrinfo(sentinel.ai_next); in android_getaddrinfofornetcontext()
868 struct addrinfo sentinel; in explore_null() local
876 sentinel.ai_next = NULL; in explore_null()
877 cur = &sentinel; in explore_null()
915 *res = sentinel.ai_next; in explore_null()
919 if (sentinel.ai_next) in explore_null()
920 freeaddrinfo(sentinel.ai_next); in explore_null()
933 struct addrinfo sentinel; in explore_numeric() local
943 sentinel.ai_next = NULL; in explore_numeric()
944 cur = &sentinel; in explore_numeric()
1001 *res = sentinel.ai_next; in explore_numeric()
1006 if (sentinel.ai_next) in explore_numeric()
1007 freeaddrinfo(sentinel.ai_next); in explore_numeric()
1313 struct addrinfo sentinel, *cur; in getanswer() local
1332 memset(&sentinel, 0, sizeof(sentinel)); in getanswer()
1333 cur = &sentinel; in getanswer()
1492 (void)get_canonname(pai, sentinel.ai_next, qname); in getanswer()
1494 (void)get_canonname(pai, sentinel.ai_next, canonname); in getanswer()
1496 return sentinel.ai_next; in getanswer()
1900 struct addrinfo sentinel, *cur; in _dns_getaddrinfo() local
1912 memset(&sentinel, 0, sizeof(sentinel)); in _dns_getaddrinfo()
1913 cur = &sentinel; in _dns_getaddrinfo()
2009 if (sentinel.ai_next == NULL) { in _dns_getaddrinfo()
2021 _rfc6724_sort(&sentinel, netcontext->app_mark, netcontext->uid); in _dns_getaddrinfo()
2025 *((struct addrinfo **)rv) = sentinel.ai_next; in _dns_getaddrinfo()
2121 struct addrinfo sentinel, *cur; in _files_getaddrinfo() local
2129 memset(&sentinel, 0, sizeof(sentinel)); in _files_getaddrinfo()
2130 cur = &sentinel; in _files_getaddrinfo()
2140 *((struct addrinfo **)rv) = sentinel.ai_next; in _files_getaddrinfo()
2141 if (sentinel.ai_next == NULL) in _files_getaddrinfo()