Lines Matching refs:newp
223 struct requestlist *newp; in __gai_enqueue_request() local
230 newp = get_elem (); in __gai_enqueue_request()
231 if (newp == NULL) in __gai_enqueue_request()
237 newp->running = 0; in __gai_enqueue_request()
238 newp->gaicbp = gaicbp; in __gai_enqueue_request()
239 newp->waiting = NULL; in __gai_enqueue_request()
240 newp->next = NULL; in __gai_enqueue_request()
244 requests = requests_tail = newp; in __gai_enqueue_request()
247 requests_tail->next = newp; in __gai_enqueue_request()
248 requests_tail = newp; in __gai_enqueue_request()
258 newp->running = 1; in __gai_enqueue_request()
261 if (gai_create_helper_thread (&thid, handle_requests, newp) == 0) in __gai_enqueue_request()
272 assert (requests == newp || lastp->next == newp); in __gai_enqueue_request()
279 newp->next = freelist; in __gai_enqueue_request()
280 freelist = newp; in __gai_enqueue_request()
282 newp = NULL; in __gai_enqueue_request()
286 newp->running = 0; in __gai_enqueue_request()
291 if (newp != NULL) in __gai_enqueue_request()
302 return newp; in __gai_enqueue_request()