/illumos-gate/usr/src/uts/sun4v/cpu/ |
H A D | niagara_perfctr.c | 562 ni_create_name_kstat(char *name, ni_ksinfo_t *pp, ni_kev_mask_t *ev) argument 572 i, pp->pic_sel_shift[i], pp->pic_no_evs, ev);
|
/illumos-gate/usr/src/uts/sun4/io/fpc/ |
H A D | fpc-kstats.c | 67 static int fpc_create_name_kstat(char *name, fi_ksinfo_t *pp, fi_kev_mask_t *ev, 376 fpc_create_name_kstat(char *name, fi_ksinfo_t *pp, fi_kev_mask_t *ev, argument 387 pp->pic_sel_shift[i], pp->pic_num_events, ev);
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_ev.c | 1045 efx_qword_t ev[EFX_EV_BATCH]; local 1061 EFSYS_MEM_READQ(eep->ee_esmp, offset, &(ev[total])); 1063 if (!EFX_EV_PRESENT(ev[total])) 1067 uint32_t, EFX_QWORD_FIELD(ev[total], EFX_DWORD_1), 1068 uint32_t, EFX_QWORD_FIELD(ev[total], EFX_DWORD_0)); 1101 code = EFX_QWORD_FIELD(ev[index], FSF_AZ_EV_CODE); 1105 &(ev[index]), eecp, arg); 1109 &(ev[index]), eecp, arg); 1113 &(ev[index]), eecp, arg); 1117 &(ev[inde 1177 efx_qword_t ev; local [all...] |
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | comconsole.c | 77 static int comc_pcidev_set(struct env_var *ev, int flags, 380 comc_mode_set(struct env_var *ev, int flags, const void *value) argument 387 if ((cp = get_console(ev->ev_name)) == NULL) 395 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL); 401 comc_cd_set(struct env_var *ev, int flags, const void *value) argument 409 if ((cp = get_console(ev->ev_name)) == NULL) 422 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL); 428 comc_rtsdtr_set(struct env_var *ev, int flags, const void *value) argument 436 if ((cp = get_console(ev->ev_name)) == NULL) 449 env_setenv(ev 532 comc_pcidev_set(struct env_var *ev, int flags, const void *value) argument [all...] |
/illumos-gate/usr/src/lib/fm/libfmevent/common/ |
H A D | fmev_subscribe.c | 218 fmev_t ev; local 225 if ((ev = fmev_sysev2fmev(IHDL2HDL(ihdl), sep, &class, &nvl)) == NULL) { 233 sip->si_cb(ev, class, nvl, sip->si_cbarg); 238 fmev_rele(ev); /* release hold obtained in fmev_sysev2fmev */
|
/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/lib/libcpc/common/ |
H A D | libcpc.c | 59 static int cpc_valid_event(cpc_t *cpc, uint_t pic, const char *ev); 1148 ev_walker(void *arg, uint_t picno, const char *ev) argument 1150 if (strcmp(((struct priv *)arg)->name, ev) == 0) 1162 cpc_valid_event(cpc_t *cpc, uint_t pic, const char *ev) argument 1168 pr.name = ev; 1185 (void) strtol(ev, &end_ev, 0);
|
/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/lib/libresolv2/common/isc/ |
H A D | ctl_clnt.c | 85 evContext ev; member in struct:ctl_cctx 165 ctx->ev = lev; 178 if (ctx->sock > evHighestFD(ctx->ev)) { 323 if (evWrite(ctx->ev, ctx->sock, iov, iovp - iov, 330 if (evTimeRW(ctx->ev, ctx->wrID, ctx->tiID) < 0) { 355 (void)evCancelConn(ctx->ev, ctx->coID); 362 (void)evCancelRW(ctx->ev, ctx->wrID); 404 conn_done(evContext ev, void *uap, int fd, argument 412 UNUSED(ev); 467 if (evSelectFD(ctx->ev, ct 486 readable(evContext ev, void *uap, int fd, int evmask) argument 606 timer(evContext ev, void *uap, struct timespec due, struct timespec itv) argument [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/fm/modules/common/disk-monitor/ |
H A D | hotplug_mgr.c | 659 new_sysevent_event(sysevent_t *ev) argument 666 sevevp->evp = ev; 678 event_handler(sysevent_t *ev) argument 681 sysevent_t *dupev = sysevent_dup(ev);
|
/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/cmd/fm/notify/snmp-notify/common/ |
H A D | snmp-notify.c | 382 ireport_cb(fmev_t ev, const char *class, nvlist_t *nvl, void *arg) argument 392 ret = nd_get_notify_prefs(nhdl, "snmp", ev, &pref_nvl, &npref); 408 if (nd_get_event_info(nhdl, class, ev, &ev_info) != 0) 414 swtrap.tstamp = (time_t)fmev_time_sec(ev); 437 list_cb(fmev_t ev, const char *class, nvlist_t *nvl, void *arg) argument 449 ret = nd_get_notify_prefs(nhdl, "snmp", ev, &pref_nvl, &npref); 465 if (nd_get_event_info(nhdl, class, ev, &ev_info) != 0)
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | esi.c | 177 ev_t *ev; local 179 ev = (ev_t *)malloc(sizeof (ev_t)); 180 if (ev != NULL) { 181 if (pthread_mutex_init(&ev->mtx, NULL) != 0 || 182 (ev->eid = (uchar_t *)malloc(len)) == NULL) { 183 free(ev); 186 ev->uid = uid; 187 (void) strcpy((char *)ev->eid, (char *)eid); 188 ev->eid_len = len; 190 ev 379 ev_add( ev_t *ev, int init ) argument 468 ev_t *ev = ev_new(uid, eid, len); local 497 ev_t *ev; local 533 ev_t *ev = ev_new(uid, eid, len); local 716 ev_t *ev = (ev_t *)p; local 803 ev_t *ev = (ev_t *)p; local 916 ev_t *ev = (ev_t *)p; local 947 ev_t *ev = (ev_t *)p; local 970 ev_t *ev; local 994 ev_t *ev = *evp; local 1026 ev_t *ev = ev_list; local 1174 ev_t *ev; local 1296 ev_t *ev = (ev_t *)arg; local 1443 ev_t *ev = (ev_t *)p; local [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...] |
H A D | restarter.c | 2229 ct_evthdl_t ev; local 2237 if (err = ct_event_read_critical(fd, &ev)) { 2244 evid = ct_event_get_evid(ev); 2245 ctid = ct_event_get_ctid(ev); 2246 type = ct_event_get_type(ev); 2251 ct_event_free(ev); 2260 ct_event_free(ev); 2279 ct_event_free(ev); 2304 ct_event_free(ev); 2333 efd = contract_open(ct_event_get_ctid(ev), "proces [all...] |
/illumos-gate/usr/src/cmd/troff/ |
H A D | nii.c | 134 int ev; variable
|
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | ssm.c | 948 sysevent_t *ev; local 962 ev = sysevent_alloc(EC_DR, ESC_DR_AP_STATE_CHANGE, EP_DDI, 971 sysevent_free(ev); 986 sysevent_free(ev); 990 if (sysevent_attach_attributes(ev, evnt_attr_list) != 0) { 994 sysevent_free(ev); 998 rv = log_sysevent(ev, KM_NOSLEEP, &eid); 1003 sysevent_free(ev);
|
/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...] |
H A D | ilbd.h | 98 ilbd_event_t ev; member in struct:__anon155 102 ilbd_event_t ev; member in struct:__anon156
|
/illumos-gate/usr/src/cmd/syseventd/modules/zfs_mod/ |
H A D | zfs_mod.c | 723 zfs_deliver_event(sysevent_t *ev, int unused) argument 725 const char *class = sysevent_get_class_name(ev); 726 const char *subclass = sysevent_get_subclass_name(ev); 772 if (sysevent_get_attr_list(ev, &nvl) != 0)
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | path.c | 155 char *const *ev; local 162 for(ev=envp; cp= *ev; ev++)
|
/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/fmd/common/ |
H A D | fmd_mdb.c | 599 fmd_event_impl_t ev; local 604 if (mdb_vread(&ev, sizeof (ev), addr) != sizeof (ev)) { 614 switch (ev.ev_type) { 637 (void) mdb_snprintf(type, sizeof (type), "%u", ev.ev_type); 640 switch (ev.ev_state) { 654 (void) mdb_snprintf(name, sizeof (name), "%u", ev.ev_state); 658 addr, type, name, ev.ev_refs, ev [all...] |
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | daemon.c | 2117 SM_EVENT *volatile ev = NULL; local 2655 ev = sm_setevent(TimeOuts.to_iconnect, 2658 ev = sm_setevent(TimeOuts.to_connect, 2661 ev = NULL; 2683 if (ev != NULL) 2684 sm_clrevent(ev); 3401 SM_EVENT *ev; local 3592 ev = sm_setevent(TimeOuts.to_ident, authtimeout, 0); 3598 sm_clrevent(ev); 3635 sm_clrevent(ev); [all...] |