Lines Matching defs:new_node
415 _svc_user_fd_node *new_node;
463 new_node = malloc(sizeof (_svc_user_fd_node));
464 if (new_node == NULL) {
472 new_node->fd = user_fd;
473 new_node->events = events;
474 new_node->callback = user_callback;
475 new_node->cookie = cookie;
477 (void) _svc_attribute_new_id(new_node);
481 svc_userfds[user_fd].lnk.previous = new_node;
483 new_node->lnk.next = svc_userfds[user_fd].lnk.next;
484 new_node->lnk.previous = (_svc_user_fd_node *)&(svc_userfds[user_fd]);
486 svc_userfds[user_fd].lnk.next = new_node;
495 return (new_node->id);