Lines Matching refs:newlist
1003 pcacheset_cmp(pollfd_t *current, pollfd_t *cached, pollfd_t *newlist, int n)
1020 if (newlist != NULL)
1021 newlist[ix].events = current[ix].events;
1549 pollfd_t *newlist = NULL;
1577 newlist = kmem_alloc(nfds * sizeof (pollfd_t), KM_SLEEP);
1578 bcopy(current, newlist, sizeof (pollfd_t) * nfds);
1584 * cached list. But we may be setting up the newlist to be the
1594 np = (newlist != NULL) ? &newlist[count] : NULL;
1615 if (newlist != NULL) {
1616 newlist[count].events =
1660 if (newlist != NULL) {
1661 newlist[count].fd = -1;
1670 if (newlist != NULL) {
1671 newlist[count].fd = -1;
1706 if (newlist != NULL) {
1707 kmem_free(newlist,
1719 if (newlist != NULL) {
1720 newlist[count].fd =
1722 newlist[count].events =
1748 ASSERT(newlist != NULL);
1752 newlist[i].events = current[i].events =
1764 newlist[i].fd = -1;
1786 kmem_free(newlist, nfds * sizeof (pollfd_t));
1802 if (newlist != NULL) {
1808 pcsp->pcs_pollfd = newlist;