/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prvnops.c | 6015 short ev; local 6017 if ((ev = (events & (POLLIN|POLLRDNORM))) != 0) 6018 revents |= ev; 6026 if ((ev = (events & (POLLPRI|POLLOUT|POLLWRNORM))) != 0) { 6039 revents |= ev;
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | spa.c | 144 static void spa_event_post(sysevent_t *ev); 5460 sysevent_t *ev = NULL; local 5486 ev = spa_event_create(spa, vd, ESC_ZFS_VDEV_REMOVE_AUX); 5502 ev = spa_event_create(spa, vd, ESC_ZFS_VDEV_REMOVE_AUX); 5543 ev = spa_event_create(spa, vd, ESC_ZFS_VDEV_REMOVE_DEV); 5561 if (ev) 5562 spa_event_post(ev); 6948 sysevent_t *ev = NULL; local 6953 ev = sysevent_alloc(EC_ZFS, (char *)name, SUNW_KERN_PUB "zfs", 6955 ASSERT(ev ! 6996 spa_event_post(sysevent_t *ev) argument [all...] |
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | stand.h | 309 typedef char *(ev_format_t)(struct env_var *ev); 310 typedef int (ev_sethook_t)(struct env_var *ev, int flags, 312 typedef int (ev_unsethook_t)(struct env_var *ev);
|
H A D | environment.c | 40 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/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/svc/svccfg/ |
H A D | svccfg_libscf.c | 9407 xmlNodePtr ev; local 9426 ev = xmlNewChild(env, NULL, (xmlChar *)"envvar", NULL); 9427 if (ev == NULL) 9430 safe_setprop(ev, name_attr, exp_str); 9431 safe_setprop(ev, value_attr, cp);
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | epoll.c | 123 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/lib/libzonecfg/common/ |
H A D | libzonecfg.c | 6167 is_ping(sysevent_t *ev) argument 6169 if (strcmp(sysevent_get_subclass_name(ev), 6178 is_my_ping(sysevent_t *ev) argument 6184 sender = string_get_tok(sysevent_get_pub(ev), ':', 3); 6193 do_callback(struct znotify *zevtchan, sysevent_t *ev) argument 6203 if (strcmp(sysevent_get_subclass_name(ev), 6206 if (sysevent_get_attr_list(ev, &l) != 0) { 6240 zn_cb(sysevent_t *ev, void *p) argument 6247 if (is_ping(ev) && !is_my_ping(ev)) { [all...] |
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | boot.h | 38 const char *ev; member in struct:__anon405
|
/illumos-gate/usr/src/cmd/syseventd/modules/datalink_mod/ |
H A D | datalink_mod.c | 46 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/common/ficl/ |
H A D | main.c | 57 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 D | log_sysevent.c | 199 sysevent_t *ev; local 207 ev = (sysevent_t *)&arg->buf; 208 size = sizeof (log_event_upcall_arg_t) + SE_PAYLOAD_SZ(ev); 496 sysevent_t *ev; local 533 ev = (sysevent_t *)&q->arg.buf; 534 SE_VERSION(ev) = SYS_EVENT_VERSION; 535 bcopy(class, SE_CLASS_NAME(ev), class_sz); 537 SE_SUBCLASS_OFF(ev) = SE_ALIGN(offsetof(sysevent_impl_t, se_class_name)) 539 bcopy(subclass, SE_SUBCLASS_NAME(ev), subclass_sz); 541 SE_PUB_OFF(ev) 554 sysevent_free(sysevent_t *ev) argument 576 free_packed_event(sysevent_t *ev) argument 687 sysevent_attach_attributes(sysevent_t *ev, sysevent_attr_list_t *ev_attr_list) argument 708 sysevent_detach_attributes(sysevent_t *ev) argument 753 se_repack(sysevent_t *ev, int flag) argument 1458 sysevent_t *ev; local 1513 sysevent_t *ev; local 1651 queue_sysevent(sysevent_t *ev, sysevent_id_t *eid, int flag) argument 1736 log_sysevent(sysevent_t *ev, int flag, sysevent_id_t *eid) argument 1772 notify_lofi(sysevent_t *ev) argument 1818 log_usr_sysevent(sysevent_t *ev, int ev_size, sysevent_id_t *eid) argument [all...] |
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | commands.c | 251 struct env_var *ev; local 259 for (ev = environ; ev != NULL; ev = ev->ev_next) { 260 pager_output(ev->ev_name); 261 cp = getenv(ev->ev_name);
|
H A D | console.c | 38 static int cons_set(struct env_var *ev, int flags, const void *value); 42 static int twiddle_set(struct env_var *ev, int flags, const void *value); 176 cons_set(struct env_var *ev, int flags, const void *value) argument 192 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL); 301 twiddle_set(struct env_var *ev, int flags, const void *value) argument 312 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL);
|
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/boot/sys/boot/efi/libefi/ |
H A D | delay.c | 38 static EFI_EVENT ev = 0; local 41 if (!ev) { 42 if (BS->CreateEvent(EVT_TIMER, TPL_APPLICATION, 0, 0, &ev) 47 BS->SetTimer(ev, TimerRelative, usecs * 10); 48 BS->WaitForEvent(1, &ev, &junk);
|
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/amd64/ |
H A D | framebuffer.c | 272 char *ev, *p; local 311 ev = getenv("smbios.system.maker"); 312 if (ev != NULL && !strcmp(ev, "Apple Inc.")) { 313 ev = getenv("smbios.system.product"); 314 if (ev != NULL && !strcmp(ev, "iMac7,1")) { 322 } else if (ev != NULL && !strcmp(ev, "MacBook3,1")) { 362 ev [all...] |
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/i386/ |
H A D | bootinfo.c | 61 for (i = 0; howto_names[i].ev != NULL; i++) { 62 if (getenv(howto_names[i].ev) != NULL)
|
/illumos-gate/usr/src/boot/sys/boot/efi/loader/ |
H A D | bootinfo.c | 79 for (i = 0; howto_names[i].ev != NULL; i++) { 80 if (getenv(howto_names[i].ev) != NULL)
|
H A D | devicename.c | 186 efi_setcurrdev(struct env_var *ev, int flags, const void *value) argument 196 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL);
|
H A D | loader_efi.h | 40 int efi_setcurrdev(struct env_var *ev, int flags, const void *value);
|
H A D | main.c | 307 for (i = 0; howto_names[i].ev != NULL; i++) 309 setenv(howto_names[i].ev, "YES", 1);
|
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | bootinfo.c | 99 for (i = 0; howto_names[i].ev != NULL; i++) 100 if (getenv(howto_names[i].ev) != NULL) 144 for (i = 0; howto_names[i].ev != NULL; i++) 146 setenv(howto_names[i].ev, "YES", 1);
|
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...] |
H A D | devicename.c | 196 i386_setcurrdev(struct env_var *ev, int flags, const void *value) argument 204 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL);
|