Searched refs:events (Results 1 - 11 of 11) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dpoll.h65 * Requestable events. If poll(2) finds any of these set, they are
78 * of these events (currently only supported on local filesystems).
86 * These events are set if they occur regardless of whether they were
91 #define POLLNVAL 0x0020 /* requested events "invalid" */
99 short events; member in struct:pollfd
H A Dprotosw.h291 int (*pru_sopoll)(struct socket *so, int events,
330 extern int pru_sopoll_notsupp(struct socket *so, int events,
H A Dconf.h114 typedef int d_poll_t(dev_t dev, int events, struct proc *p);
H A Dsocketvar.h223 #define SOF_CLOSEWAIT 0x10 /* blocked in close awaiting some events */
505 extern int sopoll(struct socket *so, int events, struct ucred *cred, void *wql);
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/
H A Daurp_aurpd.c196 register int events; local
213 events = aurp_global.event;
214 if (((*err == 0) || (*err == EWOULDBLOCK)) && events == 0)
218 events = aurp_global.event;
226 if (((*err != EWOULDBLOCK) && (*err != 0)) || events & AE_SHUTDOWN)
268 ("AURPgetmsg: soreceive returned %d, aurp_global.event==0x%x\n", *err, events));
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dsys_generic.c1190 /* there are no preposted events */
1451 short events = fds[i].events; local
1468 /* Handle input events */
1469 if (events & ( POLLIN | POLLRDNORM | POLLPRI | POLLRDBAND | POLLHUP )) {
1471 if (!(events & ( POLLIN | POLLRDNORM )))
1476 /* Handle output events */
1478 events & ( POLLOUT | POLLWRNORM | POLLWRBAND )) {
1483 /* Handle BSD extension vnode events */
1485 events
[all...]
H A Duipc_socket.c3628 sopoll(struct socket *so, int events, __unused kauth_cred_t cred, void * wql) argument
3635 if (events & (POLLIN | POLLRDNORM))
3637 revents |= events & (POLLIN | POLLRDNORM);
3639 if (events & (POLLOUT | POLLWRNORM))
3641 revents |= events & (POLLOUT | POLLWRNORM);
3643 if (events & (POLLPRI | POLLRDBAND))
3645 revents |= events & (POLLPRI | POLLRDBAND);
3648 if (events & (POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND)) {
3657 if (events & (POLLOUT | POLLWRNORM)) {
H A Duipc_socket2.c1546 pru_sopoll_notsupp(__unused struct socket *so, __unused int events, argument
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Dbpf.c1436 bpfpoll(dev_t dev, int events, void * wql, struct proc *p) argument
1457 if (events & (POLLIN | POLLRDNORM)) {
1459 revents |= events & (POLLIN | POLLRDNORM);
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/
H A Dsysctl.c311 hw_cpu_sysctl, "I", "Number of monitoring events");
313 SYSCTL_PROC(_machdep_cpu_arch_perf, OID_AUTO, events,
317 hw_cpu_sysctl, "I", "Bit vector of events");
/macosx-10.5.8/xnu-1228.15.4/tools/tests/xnu_quick_test/
H A Dsocket_tests.c457 my_pollfd.events = (POLLIN | POLLPRI);

Completed in 86 milliseconds