/titanic_41/usr/src/lib/libshell/common/bltins/ |
H A D | poll_solaris.c | 196 int events = 0; in poll_strtoevents() local 198 if (strstr(str, "POLLIN")) events |= POLLIN; in poll_strtoevents() 199 if (strstr(str, "POLLRDNORM")) events |= POLLRDNORM; in poll_strtoevents() 200 if (strstr(str, "POLLRDBAND")) events |= POLLRDBAND; in poll_strtoevents() 201 if (strstr(str, "POLLPRI")) events |= POLLPRI; in poll_strtoevents() 202 if (strstr(str, "POLLOUT")) events |= POLLOUT; in poll_strtoevents() 203 if (strstr(str, "POLLWRNORM")) events |= POLLWRNORM; in poll_strtoevents() 204 if (strstr(str, "POLLWRBAND")) events |= POLLWRBAND; in poll_strtoevents() 205 if (strstr(str, "POLLERR")) events |= POLLERR; in poll_strtoevents() 206 if (strstr(str, "POLLHUP")) events |= POLLHUP; in poll_strtoevents() [all …]
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | event_port.c | 59 port_associate(int port, int source, uintptr_t object, int events, void *user) in port_associate() argument 62 r.r_vals = _portfs(PORT_ASSOCIATE, port, source, object, events, in port_associate() 112 port_send(int port, int events, void *user) in port_send() argument 115 r.r_vals = _portfs(PORT_SEND, port, events, (uintptr_t)user, NULL, in port_send() 126 _port_dispatch(int port, int flags, int source, int events, uintptr_t object, in _port_dispatch() argument 131 r.r_vals = _portfs(PORT_DISPATCH, port, source, events, object, in _port_dispatch() 135 source, events, object, (uintptr_t)user); in _port_dispatch() 140 port_sendn(int ports[], int errors[], uint_t nent, int events, void *user) in port_sendn() argument 148 (uintptr_t)ports, (uintptr_t)errors, nent, events, in port_sendn() 163 lnent, events, (uintptr_t)user); in port_sendn() [all …]
|
H A D | select.c | 119 p->events = 0; in pselect() 121 p->events |= POLLRDNORM; in pselect() 123 p->events |= POLLWRNORM; in pselect() 125 p->events |= POLLRDBAND; in pselect() 254 (p->events & POLLRDNORM)) { in pselect() 264 (p->events & POLLWRNORM)) { in pselect() 274 (p->events & POLLRDBAND)) { in pselect()
|
H A D | select_large_fdset.c | 152 p->events = 0; in pselect_large_fdset() 154 p->events |= POLLRDNORM; in pselect_large_fdset() 156 p->events |= POLLWRNORM; in pselect_large_fdset() 158 p->events |= POLLRDBAND; in pselect_large_fdset() 303 (p->events & POLLRDNORM)) { in pselect_large_fdset() 313 (p->events & POLLWRNORM)) { in pselect_large_fdset() 323 (p->events & POLLRDBAND)) { in pselect_large_fdset()
|
/titanic_41/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | eval.c | 51 struct node *events[]); 118 eval_getname(struct node *funcnp, struct lut *ex, struct node *events[], in eval_getname() argument 133 if (eval_expr(np, ex, events, globals, croot, arrowp, try, in eval_getname() 152 if (eval_expr(nodep, ex, events, globals, croot, in eval_getname() 157 nodep = eval_dup(nodep, ex, events); in eval_getname() 165 eval_cat(struct node *np, struct lut *ex, struct node *events[], in eval_cat() argument 175 if (!eval_cat(np->u.expr.left, ex, events, globals, croot, in eval_cat() 178 if (!eval_cat(np->u.expr.right, ex, events, globals, croot, in eval_cat() 194 if (!eval_expr(np, ex, events, globals, croot, in eval_cat() 210 eval_func(struct node *funcnp, struct lut *ex, struct node *events[], in eval_func() argument [all …]
|
H A D | eval.h | 52 int eval_potential(struct node *np, struct lut *ex, struct node *events[], 54 int eval_expr(struct node *np, struct lut *ex, struct node *events[],
|
/titanic_41/usr/src/lib/libdiskmgt/common/ |
H A D | events.c | 49 static struct event_list *events = NULL; variable 117 } else if (events != NULL) { in dm_get_event() 120 event = events->event; in dm_get_event() 121 tmpp = events->next; in dm_get_event() 122 free(events); in dm_get_event() 123 events = tmpp; in dm_get_event() 275 if (events == NULL) { in add_event_to_queue() 277 events = (struct event_list *)malloc(sizeof (struct event_list)); in add_event_to_queue() 278 if (events == NULL) { in add_event_to_queue() 282 events->next = NULL; in add_event_to_queue() [all …]
|
/titanic_41/usr/src/uts/common/ktli/ |
H A D | t_kspoll.c | 83 t_kspoll(TIUSER *tiptr, int timo, int waitflg, int *events) in t_kspoll() argument 97 if (events == NULL || ((waitflg & READWAIT) == 0)) in t_kspoll() 127 *events = 0; in t_kspoll() 132 *events = 1; in t_kspoll()
|
/titanic_41/usr/src/uts/common/io/ |
H A D | pshot.c | 3542 ndi_event_set_t events; in pshot_event_test() local 3547 events.ndi_events_version = NDI_EVENTS_REV1; in pshot_event_test() 3548 events.ndi_n_events = PSHOT_N_TEST_EVENTS; in pshot_event_test() 3549 events.ndi_event_defs = pshot_test_events; in pshot_event_test() 3553 rval = ndi_event_bind_set(hdl, &events, NDI_SLEEP); in pshot_event_test() 3558 rval = ndi_event_bind_set(hdl, &events, NDI_SLEEP); in pshot_event_test() 3563 rval = ndi_event_unbind_set(hdl, &events, NDI_SLEEP); in pshot_event_test() 3569 events.ndi_n_events = 1; in pshot_event_test() 3570 events.ndi_event_defs = pshot_test_events_high; in pshot_event_test() 3571 rval = ndi_event_bind_set(hdl, &events, NDI_SLEEP); in pshot_event_test() [all …]
|
H A D | tty_pty.c | 978 short events, in ptcpoll() argument 997 if (events & (POLLIN|POLLRDNORM)) in ptcpoll() 998 *reventsp |= (events & (POLLIN|POLLRDNORM)); in ptcpoll() 999 if (events & (POLLOUT|POLLWRNORM)) in ptcpoll() 1000 *reventsp |= (events & (POLLOUT|POLLWRNORM)); in ptcpoll() 1009 if (events & (POLLIN|POLLRDNORM)) { in ptcpoll() 1015 *reventsp |= (events & (POLLIN|POLLRDNORM)); in ptcpoll() 1022 *reventsp |= (events & (POLLIN|POLLRDNORM)); in ptcpoll() 1030 *reventsp |= (events & (POLLIN|POLLRDNORM)); in ptcpoll() 1034 *reventsp |= (events & (POLLIN|POLLRDNORM)); in ptcpoll() [all …]
|
/titanic_41/usr/src/lib/libshell/common/tests/ |
H A D | sun_solaris_builtin_poll.sh | 49 [y]=( fd=5 events="POLLIN" revents="" ) 50 [x]=( fd=5 events="POLLIN" revents="" ) 63 d1.u[z]=( fd=5 events="POLLOUT" revents="" )
|
/titanic_41/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | os-ip.c | 119 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 ); 1234 short events ) argument 1242 if (( pip->ossi_pollfds[ i ].events & events ) 1243 != events ) { 1244 pip->ossi_pollfds[ i ].events |= events; 1281 pip->ossi_pollfds[ i ].events = 1286 pip->ossi_pollfds[ openslot ].events = events; [all …]
|
/titanic_41/usr/src/uts/common/syscall/ |
H A D | poll.c | 742 int events = (ushort_t)events_arg; in pollwakeup() local 777 if ((pdp->pd_events & events) || in pollwakeup() 778 (events & (POLLHUP | POLLERR))) { in pollwakeup() 794 pkevp->portkev_events |= events & in pollwakeup() 917 events = plhead->pevents; in pollwakeup() 1020 if (current[ix].events & ~VALID_POLL_EVENTS) { in pcacheset_cmp() 1021 current[ix].events &= VALID_POLL_EVENTS; in pcacheset_cmp() 1023 newlist[ix].events = current[ix].events; in pcacheset_cmp() 1025 if (current[ix].events == cached[ix].events) { in pcacheset_cmp() 1282 error = VOP_POLL(fp->f_vnode, pollfdp->events, 0, &pollfdp->revents, in pcache_insert() [all …]
|
/titanic_41/usr/src/uts/common/fs/portfs/ |
H A D | port_fop.c | 335 port_fop_callback(void *arg, int *events, pid_t pid, int flag, void *evp) in port_fop_callback() argument 341 ASSERT((events != NULL)); in port_fop_callback() 347 *events = pkevp->portkev_events; in port_fop_callback() 822 int events = 0; in port_check_timestamp() local 899 events |= FILE_ACCESS; in port_check_timestamp() 905 events |= FILE_MODIFIED; in port_check_timestamp() 911 events |= FILE_ATTRIB; in port_check_timestamp() 921 events |= FILE_ACCESS; in port_check_timestamp() 928 events |= FILE_MODIFIED; in port_check_timestamp() 935 events |= FILE_ATTRIB; in port_check_timestamp() [all …]
|
H A D | port_vnops.c | 110 int events; /* ignore events */ in port_close_events() local 118 &events, pkevp->portkev_pid, PORT_CALLBACK_CLOSE, in port_close_events() 280 port_poll(vnode_t *vp, short events, int anyyet, short *reventsp, in port_poll() argument 295 levents &= events; in port_poll() 301 events & POLLIN ? PORTQ_POLLIN : 0; in port_poll() 303 events & POLLOUT ? PORTQ_POLLOUT : 0; in port_poll()
|
/titanic_41/usr/src/lib/libnsl/rpc/ |
H A D | rpc_sel2poll.c | 65 p->events = MASKVAL; in __rpc_select_to_poll() 93 p->events = srcp[n].events; in __rpc_compress_pollfd()
|
/titanic_41/usr/src/uts/sun4u/pcbe/ |
H A D | us234_pcbe.c | 566 static const struct nametable **events; variable 607 events = US12_names; in us_pcbe_init() 615 events = US3_names; in us_pcbe_init() 623 events = US3_PLUS_names; in us_pcbe_init() 630 events = US4_PLUS_names; in us_pcbe_init() 638 events = US3_I_names; in us_pcbe_init() 655 for (n = events[i]; n->bits != NT_END; n++) in us_pcbe_init() 661 for (n = events[i]; n->bits != NT_END; n++) { in us_pcbe_init() 728 n = events[regno]; in find_event()
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/lw2plus/fcal_leds/ |
H A D | fcal_leds_thread.c | 587 int events; in wait_a_while() local 611 events = g_event_flag & (FCAL_EV_POLL | FCAL_EV_CONFIG); in wait_a_while() 612 g_event_flag ^= events; in wait_a_while() 616 return (events); in wait_a_while() 626 int events = 0; in fcal_leds_thread() local 654 } else if ((events & FCAL_EV_POLL) != 0) { in fcal_leds_thread() 689 events |= FCAL_EV_CONFIG; in fcal_leds_thread() 697 events |= FCAL_EV_CONFIG; in fcal_leds_thread() 771 events = FCAL_EV_CONFIG; in fcal_leds_thread() 807 if ((events & FCAL_EV_CONFIG) != 0) { in fcal_leds_thread() [all …]
|
/titanic_41/usr/src/lib/libcontract/common/ |
H A D | libcontract.c | 100 ct_tmpl_set_critical(int fd, uint_t events) in ct_tmpl_set_critical() argument 102 return (ct_tmpl_set_internal(fd, CTP_EV_CRITICAL, events)); in ct_tmpl_set_critical() 106 ct_tmpl_set_informative(int fd, uint_t events) in ct_tmpl_set_informative() argument 108 return (ct_tmpl_set_internal(fd, CTP_EV_INFO, events)); in ct_tmpl_set_informative() 154 ct_tmpl_get_critical(int fd, uint_t *events) in ct_tmpl_get_critical() argument 156 return (ct_tmpl_get_internal(fd, CTP_EV_CRITICAL, events)); in ct_tmpl_get_critical() 160 ct_tmpl_get_informative(int fd, uint_t *events) in ct_tmpl_get_informative() argument 162 return (ct_tmpl_get_internal(fd, CTP_EV_INFO, events)); in ct_tmpl_get_informative()
|
/titanic_41/usr/src/cmd/fm/dicts/ |
H A D | FMNOTIFY.po | 37 # for SMF service state transition events 46 # for FMA events 54 # Generic message template for raw software events 60 # default email message template for SMF service state transition events
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | util.c | 185 set_pollfd(int fd, uint16_t events) in set_pollfd() argument 207 p->events = events; in set_pollfd() 220 p->events = 0; in clear_pollfd()
|
/titanic_41/usr/src/uts/common/fs/ctfs/ |
H A D | ctfs_event.c | 148 ctfs_endpoint_poll(ctfs_endpoint_t *endpt, short events, int anyyet, in ctfs_endpoint_poll() argument 151 if ((events & POLLIN) && endpt->ctfs_endpt_listener.ctl_position) { in ctfs_endpoint_poll() 316 short events, in ctfs_ev_poll() argument 324 return (ctfs_endpoint_poll(&evnode->ctfs_ev_listener, events, anyyet, in ctfs_ev_poll() 476 short events, in ctfs_bu_poll() argument 484 return (ctfs_endpoint_poll(&bunode->ctfs_bu_listener, events, anyyet, in ctfs_bu_poll()
|
/titanic_41/usr/src/cmd/lp/lib/msgs/ |
H A D | mlisten.c | 80 PollFdList[0].events = POLLIN; in mlisteninit() 87 mlistenadd(MESG * md, short events) in mlistenadd() argument 126 fdp->events = events; in mlistenadd() 254 PollFdList[x].events = POLLIN; in mlisten() 256 PollFdList[x].events |= POLLOUT; in mlisten()
|
/titanic_41/usr/src/lib/libbsm/ |
H A D | audit_event.txt | 30 # Used to map audit events to audit classes for preselection and post-selection. 31 # Used by TCB programs that write audit records to preselect audit events 34 # NOTE: several events are obsolete but must continue to be defined here for 35 # compatibility reasons. Obsolete events are defined in the "no" (invalid) 36 # class to indicate they will not be generated. Other events in the "no" 40 # System Adminstrators: Do NOT modify or add events with an event number less 44 # 1 - 2047 Reserved for the Solaris Kernel events. 49 # Allocation of reserved kernel events: 51 # in audit_kevents.h when changes are made to kernel events.) 55 # Allocation of user level audit events: [all …]
|
/titanic_41/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_evd_resize.c | 162 if (evd_ptr->events) { in dapl_evd_resize() 163 dapl_os_free(evd_ptr->events, in dapl_evd_resize() 166 evd_ptr->events = event_ptr; in dapl_evd_resize()
|