Searched defs:ev (Results 1 - 25 of 140) sorted by relevance

123456

/illumos-gate/usr/src/lib/libast/common/cdt/
H A Ddtclose.c36 int ev = 0; local
44 (ev = (*disc->eventf)(dt,DT_CLOSE,NIL(Void_t*),disc)) < 0)
50 if(ev == 0) /* release all allocated data */
62 else if(ev == 0 && dt->type == DT_MEMORYF)
/illumos-gate/usr/src/boot/sys/sys/
H A Dboot.h38 const char *ev; member in struct:__anon405
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dt-event.c56 SM_EVENT *ev; local
64 ev = sm_seteventm(1000, ev1, 1);
70 ev = sm_seteventm(9000, ev1, 2);
74 sm_clrevent(ev);
80 ev = sm_seteventm(1000, evcheck, 3);
84 sm_clrevent(ev);
H A Dclock.c95 register SM_EVENT *ev; local
122 (ev = *evp) != NULL;
123 evp = &ev->ev_link)
126 if (timercmp(&(ev->ev_time), &nowi, >=))
128 if (ev->ev_time >= nowi)
151 ev = SmFreeEventList;
152 SmFreeEventList = ev->ev_link;
157 ev->ev_time = nowi;
158 ev->ev_func = func;
159 ev
262 register SM_EVENT *ev; local
324 register SM_EVENT *ev; local
[all...]
/illumos-gate/usr/src/lib/libcontract/common/
H A Ddevice_dump.c48 event_device(FILE *file, ct_evthdl_t ev, int verbose) argument
57 type = ct_event_get_type(ev);
58 ctid = ct_event_get_ctid(ev);
88 contract_negend_dump(file, ev);
H A Dprocess_dump.c47 event_process(FILE *file, ct_evthdl_t ev, int verbose) argument
53 type = ct_event_get_type(ev);
54 if (ct_pr_event_get_pid(ev, &pid) != 0) {
96 if (ct_pr_event_get_ppid(ev, &pid) == 0)
101 if (ct_pr_event_get_exitstatus(ev, &i) != 0)
129 if (ct_pr_event_get_pcorefile(ev, &c) == 0)
132 if (ct_pr_event_get_gcorefile(ev, &c) == 0)
135 if (ct_pr_event_get_zcorefile(ev, &c) == 0)
140 if (ct_pr_event_get_signal(ev, &i) == 0) {
148 if (ct_pr_event_get_sender(ev,
[all...]
H A Dlibcontract_priv.c154 contract_negend_dump(FILE *file, ct_evthdl_t ev) argument
157 ctid_t my_ctid = ct_event_get_ctid(ev);
161 (void) ct_event_get_nevid(ev, &nevid);
162 (void) ct_event_get_newct(ev, &new_ctid);
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/proc/
H A Dtst.sigwait.c39 struct sigevent ev; local
45 ev.sigev_notify = SIGEV_SIGNAL;
46 ev.sigev_signo = SIGUSR1;
48 if (timer_create(CLOCK_REALTIME, &ev, &tid) == -1) {
/illumos-gate/usr/src/lib/libast/common/vmalloc/
H A Dvmclose.c44 int ev = 0; local
53 (ev = (*vm->disc->exceptf)(vm,VM_CLOSE,NIL(Void_t*),vm->disc)) < 0 )
71 if(ev == 0)
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Ddlpi_events.c62 nwamd_event_t ev; local
66 ev = nwamd_event_init_link_state(name, B_TRUE);
68 ev = nwamd_event_init_link_state(name, B_FALSE);
69 if (ev != NULL)
70 nwamd_event_enqueue(ev);
H A Dsysevent_events.c62 sysevent_handler(sysevent_t *ev) argument
69 char *event_class = sysevent_get_class_name(ev);
70 char *event_subclass = sysevent_get_subclass_name(ev);
91 if (sysevent_get_attr_list(ev, &attr_list) != 0) {
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfexcept.c38 reg int ev, local, lock; local
58 ev = (*(disc->exceptf))(f,type,&io,disc);
65 SFMTXRETURN(f, ev);
66 if(ev < 0)
68 if(ev > 0)
122 if((ev = sfclose(pf)) < 0) /* can't close, restack */
128 ev = ev < 0 ? SF_EDONE : SF_ESTACK;
130 else ev = SF_EDONE;
132 SFMTXRETURN(f, ev);
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dstrtonum.c36 } ev[4] = { local
43 ev[0].err = errno;
57 *errstrp = ev[error].errstr;
58 errno = ev[error].err;
/illumos-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_log.c47 inj_defn_t *ev = inj_zalloc(sizeof (inj_defn_t)); local
88 ev->defn_name = inj_strdup(rp->rec_class);
89 ev->defn_lineno = ilf->ilf_index++;
91 if ((errno = nvlist_dup(rp->rec_nvl, &ev->defn_nvl, 0)) != 0)
95 cmd->cmd_event = ev;
/illumos-gate/usr/src/common/ficl/
H A Dmain.c57 char *pr, *p, *cp, *ev; local
69 ev = getenv(p + 2);
71 if (ev != NULL)
72 n = sprintf(prompt+n, "%s", ev);
/illumos-gate/usr/src/uts/common/os/
H A Dclock_realtime.c310 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/cmd/syseventd/modules/datalink_mod/
H A Ddatalink_mod.c46 nvlist_t *ev; member in struct:event_list
92 0, tmp_events->ev, NULL) != RCM_SUCCESS)
99 nvlist_free(ep->ev);
113 datalink_deliver_event(sysevent_t *ev, int unused) argument
115 const char *class = sysevent_get_class_name(ev);
116 const char *subclass = sysevent_get_subclass_name(ev);
125 if (sysevent_get_attr_list(ev, &nvl) != 0)
135 newp->ev = nvl;
/illumos-gate/usr/src/boot/lib/libstand/
H A Denvironment.c40 static void env_discard(struct env_var *ev);
50 struct env_var *ev; local
52 for (ev = environ; ev != NULL; ev = ev->ev_next)
53 if (!strcmp(ev->ev_name, name))
55 return(ev);
70 struct env_var *ev, *curr, *last; local
72 if ((ev
144 struct env_var *ev; local
181 struct env_var *ev; local
198 env_discard(struct env_var *ev) argument
[all...]
/illumos-gate/usr/src/lib/libc/port/sys/
H A Depoll.c123 uint32_t events, ev = 0; local
130 ev = POLLREMOVE;
149 ev = events & ~(EPOLLIGNORED | EPOLLSWIZZLED);
152 ev |= POLLRDHUP;
155 ev |= POLLET;
158 ev |= POLLONESHOT;
161 ev |= POLLWRNORM;
164 ev |= POLLWRBAND;
174 epoll[i].dpep_pollfd.events = ev;
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Ddevicename.c203 efi_setcurrdev(struct env_var *ev, int flags, const void *value) argument
213 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL);
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Ddevicename.c204 i386_setcurrdev(struct env_var *ev, int flags, const void *value) argument
213 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL);
/illumos-gate/usr/src/cmd/syseventd/modules/sysevent_reg_mod/
H A Dsysevent_reg_mod.c121 deliver_event(sysevent_t *ev, int flag) argument
151 ev_size = sysevent_get_size(ev);
157 bcopy(ev, new_evq->evq_ev, ev_size);
169 sysevent_get_seq(ev));
/illumos-gate/usr/src/lib/mpapi/libmpscsi_vhci/common/
H A Dmp_utils.c195 notifyClient(sysevent_t *ev) argument
223 (void) strncpy(subClassName, sysevent_get_subclass_name(ev), 256);
398 (void) sysevent_get_attr_list(ev, &attr_list);
550 sysevent_handler(sysevent_t *ev) argument
555 if ((strncmp(EC_SUN_MP, sysevent_get_class_name(ev), 9) != 0) &&
556 (strncmp(EC_DDI, sysevent_get_class_name(ev), 6) != 0)) {
562 notifyClient(ev);
/illumos-gate/usr/src/cmd/oplhpd/
H A Doplhpd.c72 static void oplhpd_event(sysevent_t *ev);
74 extern void notify_scf_of_hotplug(sysevent_t *ev);
206 oplhpd_event(sysevent_t *ev) argument
212 notify_scf_of_hotplug(ev);
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dcontrol.c268 SM_EVENT *ev = NULL; local
289 ev = sm_setevent(TimeOuts.to_control, controltimeout,
430 if (ev != NULL)
431 sm_clrevent(ev);

Completed in 220 milliseconds

123456