Searched refs:events (Results 26 - 50 of 256) sorted by relevance

1234567891011

/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dos-ip.c119 struct nsldapi_os_statusinfo *pip, short events );
121 struct nsldapi_os_statusinfo *pip, short events );
128 struct nsldapi_cb_statusinfo *pip, short events );
130 struct nsldapi_cb_statusinfo *pip, short events );
965 * any bits in the socket's returned events field other than
1011 * any bits in the socket's returned events field other than
1229 * returns 1 if some of the bits in "events" were added to pollfds.
1234 short events )
1242 if (( pip->ossi_pollfds[ i ].events & events )
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw2plus/fcal_leds/
H A Dfcal_leds_thread.c587 int events; local
608 * whilst under the mutex, take a local copy of the events
611 events = g_event_flag & (FCAL_EV_POLL | FCAL_EV_CONFIG);
612 g_event_flag ^= events;
616 return (events);
626 int events = 0; local
654 } else if ((events & FCAL_EV_POLL) != 0) {
689 events |= FCAL_EV_CONFIG;
697 events |= FCAL_EV_CONFIG;
771 events
[all...]
/illumos-gate/usr/src/uts/common/fs/portfs/
H A Dport_fop.c40 * operations on the files & directories and generate appropriate events.
60 * fo_mtime, fo_ctime. At the time a file events watch is registered, the
62 * file. If it has changed, relevant events are sent immediately. If the time
66 * The events are delivered to an event port. A port is created using
69 * To register a file events watch on a file or directory.
71 * port_associate(int port, PORT_SOURCE_FILE, (uintptr_t)&fobj, events, user)
75 * To de-register a file events watch,
79 * The events are collected using the port_get()/port_getn() interface. The
82 * After an event is delivered, the file events watch gets de-activated. To
85 * and supports proper multi threaded programming when using file events
335 port_fop_callback(void *arg, int *events, pid_t pid, int flag, void *evp) argument
822 int events = 0; local
1104 port_pfp_setup(portfop_t **pfpp, port_t *pp, vnode_t *vp, portfop_cache_t *pfcp, uintptr_t object, int events, void *user, char *cname, int clen, vnode_t *dvp) argument
1256 port_associate_fop(port_t *pp, int source, uintptr_t object, int events, void *user) argument
1784 port_fop_sendevent(vnode_t *vp, int events, vnode_t *dvp, char *cname) argument
2160 int events = 0; local
[all...]
H A Dport_fd.c38 #define PORTHASH_START 256 /* start cache space for events */
52 * events. In the port_fd_callback() case the "arg" is a pointer to portfd_t
72 * retrieve of events from that fd.
79 port_fd_callback(void *arg, int *events, pid_t pid, int flag, void *evp) argument
87 ASSERT((pdp != NULL) && (events != NULL));
93 * events from this fd.
97 error = EACCES; /* deny delivery of events */
102 error = EACCES; /* deny delivery of events */
106 *events = pdp->pd_portev->portkev_events; /* update events */
177 port_associate_fd(port_t *pp, int source, uintptr_t object, int events, void *user) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/ctfs/
H A Dctfs_event.c50 * CTFS routines for the /system/contract/<type>/<ctid>/events vnode.
101 * process bundle queue listeners by definition may view all events
148 ctfs_endpoint_poll(ctfs_endpoint_t *endpt, short events, int anyyet, argument
151 if ((events & POLLIN) && endpt->ctfs_endpt_listener.ctl_position) {
316 short events,
324 return (ctfs_endpoint_poll(&evnode->ctfs_ev_listener, events, anyyet,
476 short events,
484 return (ctfs_endpoint_poll(&bunode->ctfs_bu_listener, events, anyyet,
314 ctfs_ev_poll( vnode_t *vp, short events, int anyyet, short *reventsp, pollhead_t **php, caller_context_t *ct) argument
474 ctfs_bu_poll( vnode_t *vp, short events, int anyyet, short *reventsp, pollhead_t **php, caller_context_t *ct) argument
/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A Dmlisten.c80 PollFdList[0].events = POLLIN;
87 mlistenadd(MESG * md, short events) argument
126 fdp->events = events;
199 ** If there are no unserviced events pending, call poll(2)
254 PollFdList[x].events = POLLIN;
256 PollFdList[x].events |= POLLOUT;
H A Dstreamio.c62 fds.events = POLLOUT;
/illumos-gate/usr/src/lib/libdiskmgt/
H A DMakefile.com30 media.o slice.o partition.o findevs.o events.o \
/illumos-gate/usr/src/cmd/ptools/pwait/
H A Dpwait.c125 pfd->events = POLLPRI;
150 pfd->events = 0;
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A DMakefile32 events.o known_wlans.o llp.o loc.o logging.o\
36 HEADERS= conditions.h events.h known_wlans.h llp.h ncp.h ncu.h\
/illumos-gate/usr/src/lib/libcontract/common/
H A Dlibcontract.c98 ct_tmpl_set_critical(int fd, uint_t events) argument
100 return (ct_tmpl_set_internal(fd, CTP_EV_CRITICAL, events));
104 ct_tmpl_set_informative(int fd, uint_t events) argument
106 return (ct_tmpl_set_internal(fd, CTP_EV_INFO, events));
152 ct_tmpl_get_critical(int fd, uint_t *events) argument
154 return (ct_tmpl_get_internal(fd, CTP_EV_CRITICAL, events));
158 ct_tmpl_get_informative(int fd, uint_t *events) argument
160 return (ct_tmpl_get_internal(fd, CTP_EV_INFO, events));
H A Dprocess.c48 ct_pr_tmpl_set_fatal(int fd, uint_t events) argument
50 return (ct_tmpl_set_internal(fd, CTPP_EV_FATAL, events));
78 ct_pr_tmpl_get_fatal(int fd, uint_t *events) argument
80 return (ct_tmpl_get_internal(fd, CTPP_EV_FATAL, events));
/illumos-gate/usr/src/lib/libshell/common/scripts/
H A Dmultifollow.sh106 typeset events="POLLIN"
/illumos-gate/usr/src/uts/common/syscall/
H A Dpoll.c617 * Copy out the events and return the fdcnt to the user.
758 * Multiple events may be specified. When POLLHUP or POLLERR are specified,
768 int events = (ushort_t)events_arg; local
780 if ((pdp->pd_events & events) ||
781 (events & (POLLHUP | POLLERR))) {
797 pkevp->portkev_events |= events &
914 events = plhead->pevents;
937 * by pollwakeup to wake sleeping pollers when polled events has happened.
996 * Since the events field of cached list has illegal poll events filtere
[all...]
/illumos-gate/usr/src/uts/sun4u/pcbe/
H A Dus234_pcbe.c566 static const struct nametable **events; variable in typeref:struct:nametable
578 "for descriptions of these events." CPU_REF_URL;
581 "for descriptions of these events." CPU_REF_URL;
584 "for descriptions of these events." CPU_REF_URL;
587 "for descriptions of these events." CPU_REF_URL;
607 events = US12_names;
615 events = US3_names;
623 events = US3_PLUS_names;
630 events = US4_PLUS_names;
638 events
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dtty_pty.c979 short events,
1001 if (events & (POLLIN|POLLRDNORM))
1002 *reventsp |= (events & (POLLIN|POLLRDNORM));
1003 if (events & (POLLOUT|POLLWRNORM))
1004 *reventsp |= (events & (POLLOUT|POLLWRNORM));
1008 * user polls for 0 events.
1013 if (events & (POLLIN|POLLRDNORM)) {
1019 *reventsp |= (events & (POLLIN|POLLRDNORM));
1026 *reventsp |= (events & (POLLIN|POLLRDNORM));
1034 *reventsp |= (events
978 ptcpoll(dev_t dev, short events, int anyyet, short *reventsp, struct pollhead **phpp) argument
[all...]
H A Dcons.c488 cnpoll(dev_t dev, short events, int anyyet, short *reventsp, argument
492 return (nochpoll(dev, events, anyyet, reventsp, phpp));
495 return (strpoll(rconsvp->v_stream, events, anyyet, reventsp,
498 return (cdev_poll(rconsdev, events, anyyet, reventsp, phpp));
H A Drandom.c314 * . Only POLLIN, POLLOUT, and POLLRDNORM events are supported.
321 rnd_chpoll(dev_t dev, short events, int anyyet, short *reventsp, argument
326 *reventsp = events & (POLLOUT | POLLIN | POLLRDNORM);
330 * user polls for 0 events.
337 kcf_rnd_chpoll(events, anyyet, reventsp, phpp);
/illumos-gate/usr/src/cmd/cvcd/sparc/sun4u/starcat/
H A Dcvcd.c318 pfds[LISTEN_PFD].events = POLLIN;
610 pfds[LISTEN_PFD].events = POLLIN;
611 pfds[NETWORK_PFD].events = POLLIN;
613 pfds[NETWORK_PFD].events |= POLLOUT;
615 pfds[REDIR_PFD].events = POLLIN;
617 pfds[REDIR_PFD].events |= POLLOUT;
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Dmain.c181 fdarray[0].events = POLLIN;
184 fdarray[1].events = POLLIN;
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_nicmon.c279 pollfds[0].events = POLLIN;
281 pollfds[1].events = POLLIN;
/illumos-gate/usr/src/uts/sun4u/daktari/io/
H A Dhpc3130_dak.c175 static int hpc3130_poll(dev_t dev, short events, int anyyet, short
623 if (unitp->events[port] & HPC3130_IEVENT_OCCUPANCY) {
624 unitp->events[port] &= ~HPC3130_IEVENT_OCCUPANCY;
628 } else if (unitp->events[port] & HPC3130_IEVENT_POWER) {
629 unitp->events[port] &= ~HPC3130_IEVENT_POWER;
633 } else if (unitp->events[port] & HPC3130_IEVENT_BUTTON) {
634 unitp->events[port] &= ~HPC3130_IEVENT_BUTTON;
636 } else if (unitp->events[port] & HPC3130_IEVENT_FAULT) {
637 unitp->events[port] &= ~HPC3130_IEVENT_FAULT;
641 } else if (unitp->events[por
688 hpc3130_poll(dev_t dev, short events, int anyyet, short *reventsp, struct pollhead **phpp) argument
[all...]
/illumos-gate/usr/src/lib/libinetutil/common/
H A Deh.c89 * notes: it is assumed all events related to this eh have been unregistered
108 * iu_stop_handling_events(): informs the event handler to stop handling events
190 * int: the descriptor on which to listen for events. must be
192 * short: the events to listen for on that descriptor
199 iu_register_event(iu_eh_t *eh, int fd, short events, iu_eh_callback_t *callback, argument
212 * times for different callbacks depending on its events. if
215 * on `events'.
222 eh->iueh_pollfds[fd].events = events;
263 * iu_handle_events(): begins handling events o
[all...]
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfpoll.c116 fds[m].events = fds[m].revents = 0;
119 fds[m].events |= POLLOUT;
129 fds[m].events |= POLLIN;
/illumos-gate/usr/src/uts/common/sys/
H A Dlom_io.h119 * Defines for the lom_ctl_t events/fault led flag.
255 int events[NUM_EVENTS]; member in struct:__anon8078
267 * Other events need to be stored but do not constitue faults.
282 * Fault LED events
284 #define LOM_EVENT_FAULT 0x20 /* Fault events - codes 0x20-0x2f */
285 #define LOM_EVENT_FAULT_MASK 0xf0 /* Fault events - codes 0x20-0x2f */
288 * Fault LED events are encoded thus
305 * Alarm events
307 #define LOM_EVENT_ALARM 0x30 /* Alarm events - codes 0x30-0x3f */
308 #define LOM_EVENT_ALARM_MASK 0xf0 /* Alarm events
437 int events; member in struct:__anon8081
445 int events; member in struct:__anon8082
[all...]

Completed in 119 milliseconds

1234567891011