Home
last modified time | relevance | path

Searched refs:waitlist (Results 1 – 4 of 4) sorted by relevance

/resolv/
A Dgetaddrinfo_a.c32 struct waitlist list[0];
100 struct waitlist waitlist[ent]; in __getaddrinfo_a() local
108 waitlist[cnt].cond = &cond; in __getaddrinfo_a()
111 waitlist[cnt].counterp = &total; in __getaddrinfo_a()
112 waitlist[cnt].sigevp = NULL; in __getaddrinfo_a()
151 if (waitlist == NULL) in __getaddrinfo_a()
162 waitlist->list[cnt].cond = NULL; in __getaddrinfo_a()
165 waitlist->list[cnt].counterp = &waitlist->counter; in __getaddrinfo_a()
166 waitlist->list[cnt].sigevp = &waitlist->sigev; in __getaddrinfo_a()
172 waitlist->counter = total; in __getaddrinfo_a()
[all …]
A Dgai_notify.c106 struct waitlist *waitlist; in __gai_notify() local
109 waitlist = req->waiting; in __gai_notify()
110 while (waitlist != NULL) in __gai_notify()
112 struct waitlist *next = waitlist->next; in __gai_notify()
114 if (waitlist->sigevp == NULL) in __gai_notify()
117 GAI_MISC_NOTIFY (waitlist); in __gai_notify()
120 --*waitlist->counterp; in __gai_notify()
122 pthread_cond_signal (waitlist->cond); in __gai_notify()
128 if (--*waitlist->counterp == 0) in __gai_notify()
130 __gai_notify_only (waitlist->sigevp, waitlist->caller_pid); in __gai_notify()
[all …]
A Dgai_suspend.c30 struct waitlist waitlist[ent]; in ___gai_suspend_time64() local
53 waitlist[cnt].cond = &cond; in ___gai_suspend_time64()
55 waitlist[cnt].next = requestlist[cnt]->waiting; in ___gai_suspend_time64()
56 waitlist[cnt].counterp = &cntr; in ___gai_suspend_time64()
57 waitlist[cnt].sigevp = NULL; in ___gai_suspend_time64()
58 waitlist[cnt].caller_pid = 0; /* Not needed. */ in ___gai_suspend_time64()
59 requestlist[cnt]->waiting = &waitlist[cnt]; in ___gai_suspend_time64()
110 struct waitlist **listp = &requestlist[cnt]->waiting; in ___gai_suspend_time64()
115 while (*listp != NULL && *listp != &waitlist[cnt]) in ___gai_suspend_time64()
A Dgai_misc.h26 struct waitlist struct
28 struct waitlist *next; argument
53 struct waitlist *waiting; argument

Completed in 9 milliseconds