Lines Matching defs:pcp
549 port_pcache_remove_fd(port_fdcache_t *pcp, portfd_t *pfd)
556 ASSERT(MUTEX_HELD(&pcp->pc_lock));
557 bucket = PORT_FD_BUCKET(pcp, pdp->pd_fd);
561 if (--pcp->pc_fdcount == 0) {
567 cv_signal(&pcp->pc_lclosecv);
579 if (--pcp->pc_fdcount == 0) {
585 cv_signal(&pcp->pc_lclosecv);
617 port_remove_fd_object(portfd_t *pfd, port_t *pp, port_fdcache_t *pcp)
625 ASSERT(MUTEX_HELD(&pcp->pc_lock));
656 port_pcache_remove_fd(pcp, pfd);
671 port_fdcache_t *pcp;
678 pcp = pp->port_queue.portq_pcp;
679 mutex_enter(&pcp->pc_lock);
680 (void) port_remove_fd_object(pfd, pp, pcp);
681 mutex_exit(&pcp->pc_lock);