Lines Matching refs:portfd_t
52 * events. In the port_fd_callback() case the "arg" is a pointer to portfd_t
53 * structure. The portfd_t structure is specific for PORT_SOURCE_FD source.
81 portfd_t *pfd = (portfd_t *)arg;
139 * This function returns a pointer to a valid portfd_t structure only when
142 portfd_t *
146 portfd_t **bucket;
183 portfd_t *pfd;
220 sizeof (portfd_t *), KM_SLEEP);
235 pfd = kmem_zalloc(sizeof (portfd_t), KM_SLEEP);
245 kmem_free(pfd, sizeof (portfd_t));
254 /* add portfd_t entry to the cache */
447 portfd_t *pfd;
558 portfd_t **oldtbl;
560 portfd_t *pfd;
569 pcp->pc_hash = kmem_zalloc(pcp->pc_hashsize * sizeof (portfd_t *),
584 kmem_free(oldtbl, oldsize * sizeof (portfd_t *));
593 portfd_t **bucket;
620 * If we did not get the fp for pd_fd but its portfd_t
622 * closed by some other thread which will also free the portfd_t.
654 portfd_t **hashtbl;
666 * Scan the cache and free all allocated portfd_t and port_kevent_t
686 * The remaining portfd_t's are the once we did not
688 * is closing the fd. These threads will free the portfd_t's