/illumos-gate/usr/src/boot/common/ |
H A D | commands.c | 259 struct env_var *ev; in command_show() local 267 for (ev = environ; ev != NULL; ev = ev->ev_next) { in command_show() 268 pager_output(ev->ev_name); in command_show() 269 cp = getenv(ev->ev_name); in command_show()
|
H A D | console.c | 37 static int cons_set(struct env_var *ev, int flags, const void *value); 41 static int twiddle_set(struct env_var *ev, int flags, const void *value); 276 cons_set(struct env_var *ev, int flags, const void *value) in cons_set() argument 299 (void) env_setenv(ev->ev_name, flags | EV_NOHOOK, list, in cons_set() 302 (void) env_setenv(ev->ev_name, flags | EV_NOHOOK, value, in cons_set() 455 twiddle_set(struct env_var *ev, int flags, const void *value) in twiddle_set() argument 466 (void) env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL); in twiddle_set()
|
H A D | gfx_fb.c | 249 gfx_set_colors(struct env_var *ev, int flags, const void *value) in gfx_set_colors() argument 283 if (strcmp(ev->ev_name, "tem.fg_color") == 0) { in gfx_set_colors() 289 if (strcmp(ev->ev_name, "tem.bg_color") == 0) { in gfx_set_colors() 295 env_setenv(ev->ev_name, flags | EV_NOHOOK, evalue, NULL, NULL); in gfx_set_colors() 302 gfx_set_inverses(struct env_var *ev, int flags, const void *value) in gfx_set_inverses() argument 316 if (strcmp(ev->ev_name, "tem.inverse") == 0) { in gfx_set_inverses() 322 if (strcmp(ev->ev_name, "tem.inverse-screen") == 0) { in gfx_set_inverses() 328 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL); in gfx_set_inverses() 2288 font_set(struct env_var *ev __unused, int flags __unused, const void *value) in font_set()
|
H A D | interp.c | 294 char *pr, *p, *cp, *ev; in prompt() local 306 ev = getenv(p + 2); in prompt() 308 if (ev != NULL) in prompt() 309 n = sprintf(promptbuf+n, "%s", ev); in prompt()
|
H A D | tem.c | 443 env_screen_nounset(struct env_var *ev __unused) in env_screen_nounset()
|
/illumos-gate/usr/src/boot/efi/libefi/ |
H A D | devicename.c | 203 efi_setcurrdev(struct env_var *ev, int flags, const void *value) in efi_setcurrdev() argument 213 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL); in efi_setcurrdev()
|
/illumos-gate/usr/src/boot/efi/loader/arch/i386/ |
H A D | bootinfo.c | 61 for (i = 0; howto_names[i].ev != NULL; i++) { in bi_getboothowto() 62 if (getenv(howto_names[i].ev) != NULL) in bi_getboothowto()
|
/illumos-gate/usr/src/boot/efi/loader/ |
H A D | bootinfo.c | 78 for (i = 0; howto_names[i].ev != NULL; i++) { in bi_getboothowto() 79 if (getenv(howto_names[i].ev) != NULL) in bi_getboothowto()
|
H A D | efiserialio.c | 557 comc_mode_set(struct env_var *ev, int flags, const void *value) in comc_mode_set() argument 564 if ((cp = get_console(ev->ev_name)) == NULL) in comc_mode_set() 572 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL); in comc_mode_set() 578 comc_cd_set(struct env_var *ev, int flags, const void *value) in comc_cd_set() argument 586 if ((cp = get_console(ev->ev_name)) == NULL) in comc_cd_set() 599 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL); in comc_cd_set() 605 comc_rtsdtr_set(struct env_var *ev, int flags, const void *value) in comc_rtsdtr_set() argument 613 if ((cp = get_console(ev->ev_name)) == NULL) in comc_rtsdtr_set() 626 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL); in comc_rtsdtr_set()
|
H A D | framebuffer.c | 292 char *ev, *p; in efifb_from_uga() local 331 ev = getenv("smbios.system.maker"); in efifb_from_uga() 332 if (ev != NULL && strcmp(ev, "Apple Inc.") == 0) { in efifb_from_uga() 333 ev = getenv("smbios.system.product"); in efifb_from_uga() 334 if (ev != NULL && strcmp(ev, "iMac7,1") == 0) { in efifb_from_uga() 342 } else if (ev != NULL && strcmp(ev, "MacBook3,1") == 0) { in efifb_from_uga() 382 ev = getenv("hw.efifb.address"); in efifb_from_uga() 383 if (ev == NULL) { in efifb_from_uga() 418 efifb->fb_addr = strtoul(ev, &p, 0); in efifb_from_uga() 423 ev = getenv("hw.efifb.stride"); in efifb_from_uga() [all …]
|
H A D | main.c | 839 for (i = 0; howto_names[i].ev != NULL; i++) in main() 841 setenv(howto_names[i].ev, "YES", 1); in main()
|
/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | bootinfo.c | 99 for (i = 0; howto_names[i].ev != NULL; i++) in bi_getboothowto() 100 if (getenv(howto_names[i].ev) != NULL) in bi_getboothowto() 144 for (i = 0; howto_names[i].ev != NULL; i++) in bi_setboothowto() 146 setenv(howto_names[i].ev, "YES", 1); in bi_setboothowto()
|
H A D | comconsole.c | 459 comc_mode_set(struct env_var *ev, int flags, const void *value) in comc_mode_set() argument 467 if ((cp = get_console(ev->ev_name)) == NULL) in comc_mode_set() 474 printf("%s: invalid mode: %s\n", ev->ev_name, in comc_mode_set() 493 comc_cd_set(struct env_var *ev, int flags, const void *value) in comc_cd_set() argument 501 if ((cp = get_console(ev->ev_name)) == NULL) in comc_cd_set() 510 printf("%s: invalid value: %s\n", ev->ev_name, in comc_cd_set() 517 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL); in comc_cd_set() 538 if ((cp = get_console(ev->ev_name)) == NULL) in comc_rtsdtr_set() 547 printf("%s: invalid value: %s\n", ev->ev_name, in comc_rtsdtr_set() 554 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL); in comc_rtsdtr_set() [all …]
|
H A D | devicename.c | 204 i386_setcurrdev(struct env_var *ev, int flags, const void *value) in i386_setcurrdev() argument 213 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL); in i386_setcurrdev()
|
H A D | libi386.h | 82 int i386_setcurrdev(struct env_var *ev, int flags, const void *value);
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | environment.c | 49 for (ev = environ; ev != NULL; ev = ev->ev_next) in env_getenv() 52 return (ev); in env_getenv() 75 return (ev->ev_sethook(ev, flags, value)); in env_setenv() 78 if (ev->ev_value != NULL && (ev->ev_flags & EV_DYNAMIC) != 0) in env_setenv() 116 environ = ev; in env_setenv() 184 err = ev->ev_unsethook(ev); in unsetenv() 195 if (ev->ev_prev) in env_discard() 196 ev->ev_prev->ev_next = ev->ev_next; in env_discard() 198 ev->ev_next->ev_prev = ev->ev_prev; in env_discard() 202 if (ev->ev_value != NULL && (ev->ev_flags & EV_DYNAMIC) != 0) in env_discard() [all …]
|
H A D | stand.h | 330 typedef char *(ev_format_t)(struct env_var *ev); 331 typedef int (ev_sethook_t)(struct env_var *ev, int flags, 333 typedef int (ev_unsethook_t)(struct env_var *ev);
|
/illumos-gate/usr/src/boot/libsa/zfs/ |
H A D | zfs.c | 787 zfs_nvstore_sethook(struct env_var *ev, int flags __unused, const void *value) in zfs_nvstore_sethook() argument 796 rv = zfs_nvstore_setter_str(dev, NULL, ev->ev_name, value); in zfs_nvstore_sethook() 806 zfs_nvstore_unsethook(struct env_var *ev) in zfs_nvstore_unsethook() argument 815 rv = zfs_nvstore_unset_impl(dev, ev->ev_name, false); in zfs_nvstore_unsethook() 1207 struct env_var *ev = env_getenv(name); in zfs_nvstore_unset_impl() local 1209 if (ev != NULL) in zfs_nvstore_unset_impl() 1210 env_discard(ev); in zfs_nvstore_unset_impl()
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | boot.h | 38 const char *ev; member
|
/illumos-gate/usr/src/cmd/acpihpd/ |
H A D | acpihpd.c | 70 extern void notify_hotplug(sysevent_t *ev); 287 acpihpd_event(sysevent_t *ev) in acpihpd_event() argument 292 notify_hotplug(ev); in acpihpd_event()
|
H A D | notify.c | 265 notify_hotplug(sysevent_t *ev) in notify_hotplug() argument 272 vendor = sysevent_get_vendor_name(ev); in notify_hotplug() 280 class = sysevent_get_class_name(ev); in notify_hotplug() 287 subclass = sysevent_get_subclass_name(ev); in notify_hotplug() 296 if (sysevent_get_attr_list(ev, &attr_list) != 0) { in notify_hotplug()
|
/illumos-gate/usr/src/cmd/auditreduce/ |
H A D | proc.c | 689 au_event_ent_t *ev = NULL; local 692 if (cacheauevent(&ev, event_type) <= 0) { 698 global_class = ev->ae_class;
|
/illumos-gate/usr/src/cmd/bhyve/test/tests/mevent/ |
H A D | lists_delete.c | 73 not_called_cb(int fd, enum ev_type ev, void *arg) in not_called_cb() argument 79 flush_cb(int fd, enum ev_type ev, void *arg) in flush_cb() argument
|
H A D | read_disable.c | 62 munch(int fd, enum ev_type ev, void *arg) in munch() argument 88 tick(int ms, enum ev_type ev, void *arg) in tick() argument
|
H A D | read_pause.c | 53 munch(int fd, enum ev_type ev, void *arg) in munch() argument 60 ASSERT_INT_EQ(("bad event"), ev, EVF_READ); in munch() 95 tick(int ms, enum ev_type ev, void *arg) in tick() argument
|