Home
last modified time | relevance | path

Searched refs:pkevp (Results 1 – 9 of 9) sorted by relevance

/titanic_50/usr/src/uts/common/os/
H A Dport_subr.c144 port_send_event(port_kevent_t *pkevp) in port_send_event() argument
148 portq = &pkevp->portkev_port->port_queue; in port_send_event()
151 if (pkevp->portkev_flags & PORT_KEV_DONEQ) { in port_send_event()
153 if (pkevp->portkev_source == PORT_SOURCE_FD) { in port_send_event()
154 mutex_exit(&pkevp->portkev_lock); in port_send_event()
161 list_insert_tail(&portq->portq_list, pkevp); in port_send_event()
169 pkevp->portkev_flags |= PORT_KEV_DONEQ; /* event enqueued */ in port_send_event()
171 if (pkevp->portkev_source == PORT_SOURCE_FD) { in port_send_event()
172 mutex_exit(&pkevp->portkev_lock); in port_send_event()
178 if (pkevp->portkev_port->port_curr <= portq->portq_nent) in port_send_event()
[all …]
H A Dtimer.c481 port_kevent_t *pkevp = NULL; in timer_create() local
657 PORT_SOURCE_TIMER, &pkevp); in timer_create()
669 port_init_event(pkevp, i, tim_pnevp.portnfy_user, in timer_create()
671 it->it_portev = pkevp; in timer_create()
H A Daio_subr.c201 port_kevent_t *pkevp = NULL; in aio_done() local
244 if ((pkevp = reqp->aio_req_portkev) != NULL) { in aio_done()
256 port_send_event(pkevp); in aio_done()
422 if (pkevp) in aio_done()
423 port_send_event(pkevp); in aio_done()
H A Daio.c1158 port_kevent_t *pkevp = NULL; in aio_req_assoc_port_rw() local
1162 PORT_SOURCE_AIO, &pkevp); in aio_req_assoc_port_rw()
1169 port_init_event(pkevp, (uintptr_t)cbp, pntfy->portnfy_user, in aio_req_assoc_port_rw()
1171 pkevp->portkev_events = event; in aio_req_assoc_port_rw()
1172 reqp->aio_req_portkev = pkevp; in aio_req_assoc_port_rw()
/titanic_50/usr/src/uts/common/fs/portfs/
H A Dport_fd.c186 port_kevent_t *pkevp; in port_associate_fd() local
250 pkevp = pdp->pd_portev; in port_associate_fd()
251 pkevp->portkev_callback = port_fd_callback; in port_associate_fd()
252 pkevp->portkev_arg = pfd; in port_associate_fd()
256 pkevp->portkev_object = fd; in port_associate_fd()
257 pkevp->portkev_user = user; in port_associate_fd()
270 pkevp = pdp->pd_portev; in port_associate_fd()
278 mutex_enter(&pkevp->portkev_lock); in port_associate_fd()
279 if (pkevp->portkev_flags & PORT_KEV_VALID) { in port_associate_fd()
280 pkevp->portkev_flags &= ~PORT_KEV_VALID; in port_associate_fd()
[all …]
H A Dport.c1576 port_copy_event(port_event_t *puevp, port_kevent_t *pkevp, list_t *list) in port_copy_event() argument
1582 puevp->portev_source = pkevp->portkev_source; in port_copy_event()
1583 puevp->portev_object = pkevp->portkev_object; in port_copy_event()
1584 puevp->portev_user = pkevp->portkev_user; in port_copy_event()
1585 puevp->portev_events = pkevp->portkev_events; in port_copy_event()
1588 list_remove(list, pkevp); in port_copy_event()
1594 flags = pkevp->portkev_flags; in port_copy_event()
1595 if (pkevp->portkev_flags & PORT_KEV_WIRED) in port_copy_event()
1596 pkevp->portkev_flags &= ~PORT_KEV_DONEQ; in port_copy_event()
1600 if (pkevp->portkev_callback) { in port_copy_event()
[all …]
H A Dport_vnops.c113 port_kevent_t *pkevp; in port_close_events() local
117 while (pkevp = list_head(&portq->portq_list)) { in port_close_events()
119 list_remove(&portq->portq_list, pkevp); in port_close_events()
120 if (pkevp->portkev_callback) { in port_close_events()
121 (void) (*pkevp->portkev_callback)(pkevp->portkev_arg, in port_close_events()
122 &events, pkevp->portkev_pid, PORT_CALLBACK_CLOSE, in port_close_events()
123 pkevp); in port_close_events()
126 port_free_event_local(pkevp, 0); in port_close_events()
H A Dport_fop.c338 port_kevent_t *pkevp = (port_kevent_t *)evp; in port_fop_callback() local
347 *events = pkevp->portkev_events; in port_fop_callback()
348 pkevp->portkev_events = 0; in port_fop_callback()
472 port_kevent_t *pkevp; in port_pcache_remove_fop() local
477 pkevp = pfp->pfop_pev; in port_pcache_remove_fop()
480 if (pkevp != NULL) { in port_pcache_remove_fop()
481 (void) port_remove_done_event(pkevp); in port_pcache_remove_fop()
482 port_free_event_local(pkevp, 0); in port_pcache_remove_fop()
823 port_kevent_t *pkevp; in port_check_timestamp() local
951 pkevp = pfp->pfop_pev; in port_check_timestamp()
[all …]
/titanic_50/usr/src/uts/common/syscall/
H A Dpoll.c814 port_kevent_t *pkevp = pdp->pd_portev; in pollwakeup() local
819 ASSERT(pkevp->portkev_source == PORT_SOURCE_FD); in pollwakeup()
820 mutex_enter(&pkevp->portkev_lock); in pollwakeup()
821 if (pkevp->portkev_flags & PORT_KEV_VALID) { in pollwakeup()
824 pkevp->portkev_flags &= ~PORT_KEV_VALID; in pollwakeup()
825 pkevp->portkev_events |= events & in pollwakeup()
832 port_send_event(pkevp); in pollwakeup()
843 port_pollwkup(pkevp->portkev_port); in pollwakeup()
849 t->pp = pkevp->portkev_port; in pollwakeup()
859 mutex_exit(&pkevp->portkev_lock); in pollwakeup()