Lines Matching refs:newp
315 struct requestlist *last, *runp, *newp; in __aio_enqueue_request() local
352 newp = get_elem (); in __aio_enqueue_request()
353 if (newp == NULL) in __aio_enqueue_request()
359 newp->aiocbp = aiocbp; in __aio_enqueue_request()
360 newp->waiting = NULL; in __aio_enqueue_request()
389 newp->next_prio = runp->next_prio; in __aio_enqueue_request()
390 runp->next_prio = newp; in __aio_enqueue_request()
400 newp->last_fd = NULL; in __aio_enqueue_request()
401 newp->next_fd = requests; in __aio_enqueue_request()
403 requests->last_fd = newp; in __aio_enqueue_request()
404 requests = newp; in __aio_enqueue_request()
408 newp->next_fd = last->next_fd; in __aio_enqueue_request()
409 newp->last_fd = last; in __aio_enqueue_request()
410 last->next_fd = newp; in __aio_enqueue_request()
411 if (newp->next_fd != NULL) in __aio_enqueue_request()
412 newp->next_fd->last_fd = newp; in __aio_enqueue_request()
415 newp->next_prio = NULL; in __aio_enqueue_request()
434 running = newp->running = allocated; in __aio_enqueue_request()
437 result = aio_create_helper_thread (&thid, handle_fildes_io, newp); in __aio_enqueue_request()
446 running = newp->running = yes; in __aio_enqueue_request()
453 __aio_remove_request (last, newp, 0); in __aio_enqueue_request()
464 add_request_to_runlist (newp); in __aio_enqueue_request()
473 newp->running = running; in __aio_enqueue_request()
477 __aio_free_request (newp); in __aio_enqueue_request()
480 newp = NULL; in __aio_enqueue_request()
486 return newp; in __aio_enqueue_request()