/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/ |
H A D | devicename.c | 136 ofw_setcurrdev(struct env_var *ev, int flags, const void *value) argument 145 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL);
|
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/ |
H A D | devicename.c | 191 uboot_setcurrdev(struct env_var *ev, int flags, const void *value) argument 199 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL);
|
/illumos-gate/usr/src/lib/libsysevent/ |
H A D | libevchannel.c | 269 sysevent_t *ev; local 283 ev = sysevent_alloc_event((char *)class, (char *)subclass, 285 if (ev == NULL) { 289 uargs.ev.name = (uintptr_t)ev; 290 uargs.ev.len = SE_SIZE(ev); 300 sysevent_free(ev); 447 int (*event_handler)(sysevent_t *ev, void *cookie), 572 int (*event_handler)(sysevent_t *ev, voi 446 sysevent_evc_subscribe_cmn(evchan_t *scp, const char *sid, const char *class, int (*event_handler)(sysevent_t *ev, void *cookie), void *cookie, uint32_t flags, struct sysevent_subattr_impl *xsa) argument 571 sysevent_evc_subscribe(evchan_t *scp, const char *sid, const char *class, int (*event_handler)(sysevent_t *ev, void *cookie), void *cookie, uint32_t flags) argument 600 sysevent_evc_xsubscribe(evchan_t *scp, const char *sid, const char *class, int (*event_handler)(sysevent_t *ev, void *cookie), void *cookie, uint32_t flags, sysevent_subattr_t *attr) argument [all...] |
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | fork.c | 531 ct_evthdl_t ev; local 539 if (err = ct_event_read_critical(fd, &ev)) { 547 evid = ct_event_get_evid(ev); 548 ctid = ct_event_get_ctid(ev); 549 type = ct_event_get_type(ev); 554 ct_event_free(ev); 562 ct_event_free(ev); 577 ct_event_free(ev); 584 (void) ct_pr_event_get_pid(ev, &pid); 585 (void) ct_pr_event_get_exitstatus(ev, [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | eventlib.c | 479 evEvent_p *ev = opaqueEv.opaque; local 490 ctx->cur = ev; 491 switch (ev->type) { 493 evAccept *this = ev->u.accept.this; 509 evFile *this = ev->u.file.this; 510 int eventmask = ev->u.file.eventmask; 522 evStream *this = ev->u.stream.this; 535 evTimer *this = ev->u.timer.this; 546 evWait *this = ev->u.wait.this; 581 getuid(), ev 592 evEvent_p *ev = opaqueEv.opaque; local [all...] |
H A D | ctl_srvr.c | 106 evContext ev; member in struct:ctl_sctx 198 ctx->ev = lev; 210 if (ctx->sock > evHighestFD(ctx->ev)) { 283 (void)evCancelConn(ctx->ev, ctx->acID); 350 if (evWrite(ctx->ev, sess->sock, iov, iovp - iov, 356 if (evSetIdleTimer(ctx->ev, ctl_wrtimeout, sess, ctx->timeout, 363 if (evTimeRW(ctx->ev, sess->wrID, sess->wrtiID) < 0) { 499 (void) evCancelRW(ctx->ev, sess->wrID); 503 (void) evClearIdleTimer(ctx->ev, sess->wrtiID); 533 if (evSetIdleTimer(ctx->ev, ctl_rdtimeou [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ |
H A D | ilbd_hc.c | 470 ev_obj->ev = ILBD_EVENT_TIMER; 1404 reassociate_port(int ev_port, int fd, ilbd_hc_probe_event_t *ev) argument 1407 POLLRDNORM, ev) != 0) { 1414 if (kill(ev->ihp_pid, SIGKILL) != 0) 1416 if (waitpid(ev->ihp_pid, NULL, 0) != ev->ihp_pid) 1418 free(ev); 1426 ilbd_hc_child_hup(int ev_port, int fd, ilbd_hc_probe_event_t *ev) argument 1432 srv = ev->ihp_srv; 1434 if (!ev 1464 ilbd_hc_child_data(int fd, ilbd_hc_probe_event_t *ev) argument 1565 ilbd_hc_probe_return(int ev_port, int fd, int port_events, ilbd_hc_probe_event_t *ev) argument [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | streams.c | 1472 offsetof(ftblk_t, ev) + 1515 struct ftevnt ev; local 1527 if (mdb_vread(&ev, sizeof (ev), addr) == -1) { 1534 if (ev.evnt & FTEV_QMASK) 1535 mdb_printf(" %-18s", getqname(ev.mid, name, sizeof (name))); 1537 mdb_printf(" %-18a", ev.mid); 1539 if ((ev.evnt & FTEV_MASK) == FTEV_PUTNEXT) 1540 mdb_printf(" %-9s", getqname(ev.midnext, name, sizeof (name))); 1544 if (ev 1568 ft_printevent(ushort_t ev) argument [all...] |
/illumos-gate/usr/src/cmd/fm/modules/sun4v/etm/ |
H A D | etm_xport_api.h | 141 etm_xport_get_ev_addrv(fmd_hdl_t *hdl, nvlist_t *ev);
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | control.c | 268 SM_EVENT *ev = NULL; local 289 ev = sm_setevent(TimeOuts.to_control, controltimeout, 430 if (ev != NULL) 431 sm_clrevent(ev);
|
/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | FCSyseventBridge.h | 74 void dispatch(sysevent_t *ev);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | clock_highres.c | 358 struct sigevent *ev = &be->clk_default; local 360 ev->sigev_signo = SIGALRM; 361 ev->sigev_notify = SIGEV_SIGNAL; 362 ev->sigev_value.sival_ptr = NULL;
|
H A D | clock_realtime.c | 310 struct sigevent *ev = &be->clk_default; local 312 ev->sigev_signo = SIGALRM; 313 ev->sigev_notify = SIGEV_SIGNAL; 314 ev->sigev_value.sival_ptr = NULL;
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | interp.c | 282 char *pr, *p, *cp, *ev; local 294 ev = getenv(p + 2); 296 if (ev != NULL) 297 n = sprintf(promptbuf+n, "%s", ev);
|
/illumos-gate/usr/src/cmd/intrstat/ |
H A D | intrstat.c | 362 struct sigevent ev; local 397 ev.sigev_notify = SIGEV_SIGNAL; 398 ev.sigev_signo = SIGUSR1; 400 if (timer_create(CLOCK_REALTIME, &ev, &tid) == -1) 569 ev.sigev_notify = SIGEV_SIGNAL; 570 ev.sigev_signo = SIGUSR2; 572 if (timer_create(CLOCK_REALTIME, &ev, &tid) == -1)
|
/illumos-gate/usr/src/lib/fm/libfmnotify/common/ |
H A D | libfmnotify.c | 259 nd_get_event_fmri(nd_hdl_t *nhdl, fmev_t ev) argument 264 if ((ev_nvl = fmev_attr_list(ev)) == NULL) { 278 nd_get_notify_prefs(nd_hdl_t *nhdl, const char *mech, fmev_t ev, argument 285 if ((ev_nvl = fmev_attr_list(ev)) == NULL) { 511 nd_get_event_info(nd_hdl_t *nhdl, const char *class, fmev_t ev, argument 527 fmev_hold(ev); 528 evi->ei_ev = ev; 529 ev_nvl = fmev_attr_list(ev); 560 evi->ei_class = fmev_class(ev); 571 if ((fmri = nd_get_event_fmri(nhdl, ev)) [all...] |
/illumos-gate/usr/src/cmd/oplhpd/ |
H A D | scf_notify.c | 104 void notify_scf_of_hotplug(sysevent_t *ev); 362 notify_scf_of_hotplug(sysevent_t *ev) argument 400 vendor = sysevent_get_vendor_name(ev); 401 publisher = sysevent_get_pub_name(ev); 420 if (sysevent_get_attr_list(ev, &ev_attr_list) != 0) {
|
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_comm.c | 205 sysevent_t *ev; local 208 ev = sysevent_alloc(EC_DEVFS, ESC_DEVFS_START, EP_DDI, SE_SLEEP); 209 ASSERT(ev); 210 if ((se_err = log_sysevent(ev, SE_SLEEP, &eid)) != 0) { 223 sysevent_free(ev);
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_opt_data.c | 854 struct sctp_event_subscribe *ev; local 856 ev = (struct sctp_event_subscribe *)ptr; 857 ev->sctp_data_io_event = 859 ev->sctp_association_event = 861 ev->sctp_address_event = 863 ev->sctp_send_failure_event = 865 ev->sctp_peer_error_event = 867 ev->sctp_shutdown_event = 869 ev->sctp_partial_delivery_event = 871 ev 1194 struct sctp_event_subscribe *ev; local [all...] |
/illumos-gate/usr/src/cmd/smbios/ |
H A D | smbios.c | 682 smbios_evlog_t ev; local 685 (void) smbios_info_eventlog(shp, &ev); 687 oprintf(fp, " Log Area Size: %lu bytes\n", (ulong_t)ev.smbev_size); 688 oprintf(fp, " Header Offset: %lu\n", (ulong_t)ev.smbev_hdr); 689 oprintf(fp, " Data Offset: %lu\n", (ulong_t)ev.smbev_data); 691 desc_printf(smbios_evlog_method_desc(ev.smbev_method), 692 fp, " Data Access Method: %u", ev.smbev_method); 695 ev.smbev_flags, sizeof (ev.smbev_flags) * NBBY, 698 desc_printf(smbios_evlog_format_desc(ev [all...] |
/illumos-gate/usr/src/cmd/fm/notify/smtp-notify/common/ |
H A D | smtp-notify.c | 389 get_email_prefs(nd_hdl_t *nhdl, fmev_t ev, email_pref_t **eprefs) argument 397 r = nd_get_notify_prefs(nhdl, "smtp", ev, &p_nvl, &npref); 565 irpt_cbfunc(fmev_t ev, const char *class, nvlist_t *nvl, void *arg) argument 575 if (get_email_prefs(nhdl, ev, &eprefs) < 0) 578 if (nd_get_event_info(nhdl, class, ev, &ev_info) != 0) 600 if (fmev_localtime(ev, &ts) == NULL) { 696 listev_cb(fmev_t ev, const char *class, nvlist_t *nvl, void *arg) argument 705 if (get_email_prefs(nhdl, ev, &eprefs) < 0) 708 if (nd_get_event_info(nhdl, class, ev, &ev_info) != 0)
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | sysevent.c | 156 sysevent_impl_t *ev; local 169 if (uargs.ev.len > MAX_EV_SIZE_LEN) 186 ev = evch_usrallocev(uargs.ev.len, uargs.flags); 188 if (copyin((void *)(uintptr_t)uargs.ev.name, ev, uargs.ev.len) != 0) { 189 evch_usrfreeev(ev); 193 return (evch_usrpostevent(ctl->chp, ev, uargs.flags));
|
/illumos-gate/usr/src/cmd/syseventd/modules/sysevent_conf_mod/ |
H A D | sysevent_conf_mod.c | 1056 find_macro_definition(sysevent_t *ev, nvlist_t *nvlist, syseventtab_t *sep, argument 1126 "0x%llx", sysevent_get_seq(ev)); 1129 sysevent_get_time(ev, &ts); 1414 expand_macros(sysevent_t *ev, nvlist_t *nvlist, syseventtab_t *sep, argument 1462 replacement = find_macro_definition(ev, nvlist, 1658 queue_event(sysevent_t *ev, syseventtab_t *sep, sysevent_hdr_info_t *hdr) argument 1690 if (sysevent_get_attr_list(ev, &nvlist) != 0) { 1697 if (expand_macros(ev, nvlist, sep, line, hdr)) { 2011 sysevent_conf_event(sysevent_t *ev, int flag) argument 2032 * sysevent_get_seq(ev) < ev_se 2277 sysevent_conf_dummy_event(sysevent_t *ev, int flag) argument [all...] |
/illumos-gate/usr/src/uts/common/io/1394/adapters/ |
H A D | hci1394_isr.c | 661 uint32_t ev; local 677 while ((ev = hci1394_ohci_ir_intr_asserted(soft_state->ohci)) != 0) { 680 hci1394_ohci_ir_intr_clear(soft_state->ohci, ev); 688 if (ev & mask) { 712 uint32_t ev; local 729 while ((ev = hci1394_ohci_it_intr_asserted(soft_state->ohci)) != 0) { 732 hci1394_ohci_it_intr_clear(soft_state->ohci, ev); 740 if (ev & mask) {
|
/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/ |
H A D | pcmu_counters.c | 53 pcmu_create_name_kstat(char *name, pcmu_ksinfo_t *pp, pcmu_kev_mask_t *ev) argument 59 i, pp->pic_shift[i], pp->pic_no_evs, ev);
|