/illumos-gate/usr/src/uts/common/fs/portfs/ |
H A D | port.c | 50 * to submit user-defined events to a port. The idea of the 51 * user-defined events is to use the event ports for communication between 52 * threads/processes (like message queues). User defined-events are queued 56 * for events with the "highest priority" (priority here is related to the 59 * the requirement to have events which should be submitted immediately 64 * Threads trying to retrieve events from a port in alert mode will 68 * An event port is like a kernel queue, which accept events submitted from 69 * user level as well as events submitted from kernel sub-systems. Sub-systems 70 * able to submit events to a port are the so-called "event sources". 72 * PORT_SOURCE_AIO : events submitte 894 port_send(port_t *pp, int source, int events, void *user) argument 926 port_noshare(void *arg, int *events, pid_t pid, int flag, void *evp) argument 942 port_dispatch_event(port_t *pp, int opcode, int source, int events, uintptr_t object, void *user) argument 975 port_sendn(int ports[], int errors[], uint_t nent, int events, void *user, uint_t *nget) argument 1073 port_alert(port_t *pp, int flags, int events, void *user) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/fifofs/ |
H A D | fifovnops.c | 450 * clean locks and clear events. 1758 * Poll for interesting events on a stream pipe 1762 fifo_poll(vnode_t *vp, short events, int anyyet, short *reventsp, argument 1787 if (((events & (POLLIN | POLLRDNORM | POLLPRI | POLLRDBAND)) && 1789 ((events & (POLLWRNORM | POLLWRBAND)) && 1820 } else if (events & (POLLWRNORM | POLLWRBAND)) { 1821 if (events & POLLWRNORM) { 1831 if (events & POLLWRBAND) 1834 if (events & (POLLIN | POLLRDNORM)) { 1836 retevents |= (events [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | startup.c | 485 poll_ifs[poll_ifs_num - 1].events = POLLIN; 517 poll_ifs[i].events = 0; 526 poll_ifs[poll_ifs_num - 1].events = 0;
|
/illumos-gate/usr/src/cmd/sendmail/libmilter/ |
H A D | worker.c | 396 pfd[nfd].events = MI_POLL_RD_FLAGS; 446 pfd[nfd].events = MI_POLL_RD_FLAGS; 503 pfd[i].events, pfd[i].revents));
|
/illumos-gate/usr/src/uts/common/pcmcia/sys/ |
H A D | cs_priv.h | 379 uint32_t events; /* current events pending */ member in struct:client_t 380 uint32_t pending_events; /* events pending in RegisterClient */ 467 kmutex_t lock; /* protects events and clients */ 471 uint32_t events; /* socket events */ member in struct:cs_socket_t 626 * The client type structures, used to sequence events to clients on a 764 int pcmcia_set_em_handler(int (*handler)(), caddr_t events,
|
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/ |
H A D | av1394_async.c | 355 av1394_async_poll(av1394_inst_t *avp, short events, int anyyet, short *reventsp, argument 363 if (events & POLLIN) { 367 if ((!*reventsp && !anyyet) || (events & POLLET)) {
|
/illumos-gate/usr/src/lib/libfsmgt/common/ |
H A D | cmd.c | 313 pollfds[0].events = MASKVAL;
|
/illumos-gate/usr/src/lib/libipmp/common/ |
H A D | ipmp_mpathd.c | 238 pfd.events = POLLIN;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
H A D | events.c | 27 * bridged - bridging control daemon. This module handles events and general 248 fds->events = 0; 292 fds->events = POLLIN; 304 fds->events = 0; 365 /* Drain signal events from pipe */ 425 fdp->events = 0;
|
/illumos-gate/usr/src/cmd/cvcd/sparc/sun4u/starfire/ |
H A D | cvcd.c | 391 cvcd_pfd[2].events = POLLIN|POLLPRI; 417 cvcd_pfd[1].events = POLLIN; 466 cvcd_pfd[1].events = POLLIN; 682 pfd[0].events = POLLIN;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/ |
H A D | netcat.c | 680 pfd[0].events = POLLIN; 684 pfd[1].events = POLLIN; 704 pfd[0].events = 0; 726 pfd[1].events = 0;
|
/illumos-gate/usr/src/uts/common/dtrace/ |
H A D | dcpc.c | 51 * hardware causes a counter on each CPU to begin counting events of the 52 * given type. When the specified number of events have occurred, an overflow 60 * subset of the events available for a given CPU. However, when overflow 65 * allowed to program as many events at one time as possible (in theory up to 111 * unusable with frequently occurring events. 142 * multiple overflow events. Such systems are only allowed a single 159 * This is a processor capable of handling multiple overflow events. 296 char *events, *cp, *p, *end; local 300 if ((events = kcpc_list_events(i)) == NULL) 303 llen = strlen(events); [all...] |
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_trantcp.c | 99 int events, fmode, timo, waitflg; local 122 events = 0; 125 error = t_kspoll(nbp->nbp_tiptr, timo, waitflg, &events); 126 if (!error && !events)
|
/illumos-gate/usr/src/uts/common/crypto/api/ |
H A D | kcf_random.c | 911 kcf_rnd_chpoll(short events, int anyyet, short *reventsp, argument 914 *reventsp = events & POLLOUT; 916 if (events & (POLLIN | POLLRDNORM)) { 922 *reventsp |= (events & (POLLIN | POLLRDNORM));
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | hook_impl.h | 73 * - each hook family can have a list of hook events; 142 kstat_named_t events; member in struct:hook_event_kstat
|
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/sol_umad/ |
H A D | sol_umad.h | 162 static int umad_poll(dev_t dev, short events, int anyyet,
|
/illumos-gate/usr/src/uts/common/sys/1394/targets/dcam1394/ |
H A D | dcam.h | 149 int dcam_chpoll(dev_t dev, short events, int anyyet, short *reventsp,
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dumpoptr.c | 121 pollset.events = 0; 125 pollset.events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND;
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | eventfd.c | 18 * file descriptor-based events. 140 * It is necessary to emit POLLOUT events only when the eventfd 214 eventfd_poll(dev_t dev, short events, int anyyet, short *reventsp, argument 231 if (!(*reventsp = revents & events) && !anyyet)
|
H A D | power.c | 164 int events; /* bit map of occured events */ member in struct:power_soft_state 680 softsp->events |= PB_BUTTON_PRESS; 873 if (ddi_copyout((void *)&softsp->events, (void *)arg, 880 * This ioctl returned the events detected since last 881 * call. Note that any application can get the events 884 softsp->events = 0; 911 power_chpoll(dev_t dev, short events, int anyyet, argument 921 if (softsp->events)
|
/illumos-gate/usr/src/uts/common/inet/sockmods/ |
H A D | socksdp.c | 1074 sosdp_poll(struct sonode *so, short events, int anyyet, short *reventsp, argument 1077 short origevents = events; 1086 * Not connected yet - turn off write side events 1088 events &= ~(POLLOUT|POLLWRBAND); 1110 *reventsp |= POLLOUT & events; 1119 *reventsp |= (POLLIN|POLLRDNORM) & events; 1123 *reventsp |= (POLLIN|POLLRDNORM) & events;
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_event.c | 130 /* Destroy the remaining events */ 809 uint32_t events; local 822 /* Account for missed events */ 840 events = 0; 842 while (entry && (events < max_events)) { 844 /* Skip old events */ 895 events++; 940 events++; 949 /* Return number of events acquired */ 950 *eventcount = events; [all...] |
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fake_vop.c | 893 short events, 900 if (events & POLLIN) 902 if (events & POLLRDNORM) 904 if (events & POLLRDBAND) 906 if (events & POLLOUT) 908 if (events & POLLWRBAND) 891 fop_poll( vnode_t *vp, short events, int anyyet, short *reventsp, struct pollhead **phpp, caller_context_t *ct) argument
|
/illumos-gate/usr/src/cmd/power/ |
H A D | powerd.c | 424 poll_fd.events = POLLIN; 1176 int events, ret; local 1184 pfd.events = POLLIN; 1189 logerror("Failed to poll for power button events."); 1204 if (ioctl(pfd.fd, PB_GET_EVENTS, &events) == -1) { 1205 logerror("Failed to get power button events."); 1209 if ((ret > 0) && (events & PB_BUTTON_PRESS) && 1226 if (ioctl(pfd.fd, PB_GET_EVENTS, &events) == -1) { 1227 logerror("Failed to get power button events.");
|
/illumos-gate/usr/src/lib/libc_db/common/ |
H A D | thread_db.c | 1470 * Add the events in eventset 2 to eventset 1. 1482 * Delete the events in eventset 2 from eventset 1. 1497 mod_eventset(td_thrhandle_t *th_p, td_thr_events_t *events, int onoff) argument 1531 eventsetaddset(&evset, events); 1533 eventsetdelset(&evset, events); 1583 __td_thr_set_event(td_thrhandle_t *th_p, td_thr_events_t *events) argument 1585 return (mod_eventset(th_p, events, 1)); 1589 * Enable or disable a set of events in the process-global event mask, 1593 td_ta_mod_event(td_thragent_t *ta_p, td_thr_events_t *events, int onoff) argument 1610 eventsetaddset(&targ_eventset, events); 1627 __td_ta_set_event(td_thragent_t *ta_p, td_thr_events_t *events) argument 1640 __td_thr_clear_event(td_thrhandle_t *th_p, td_thr_events_t *events) argument 1650 __td_ta_clear_event(td_thragent_t *ta_p, td_thr_events_t *events) argument [all...] |