Home
last modified time | relevance | path

Searched refs:setenv (Results 1 – 25 of 88) sorted by relevance

1234

/illumos-gate/usr/src/boot/efi/loader/
H A Dacpi.c53 setenv("acpi.rsdp", buf, 1); in acpi_detect()
58 setenv("acpi.revision", buf, 1); in acpi_detect()
61 setenv("acpi.oem", buf, 1); in acpi_detect()
68 setenv("acpi.rsdt", buf, 1); in acpi_detect()
72 setenv("acpi.xsdt", buf, 1); in acpi_detect()
74 setenv("acpi.xsdt_length", buf, 1); in acpi_detect()
H A Dmain.c327 setenv("zfs-bootonce", bootonce, 1); in probe_zfs_currdev()
496 (void) setenv(key, buf, 1); in setenv_int()
718 setenv("console", "text", 1); in main()
729 (void) setenv(name, var, 1); in main()
733 (void) setenv(name, var, 1); in main()
815 setenv("ttya-mode", var, 1); in main()
841 setenv(howto_names[i].ev, "YES", 1); in main()
857 (void) setenv("console", var, 1); in main()
/illumos-gate/usr/src/boot/i386/libi386/
H A Dbiosacpi.c165 setenv("console", name, 1); in biosacpi_setup_spcr()
169 setenv(name, value, 1); in biosacpi_setup_spcr()
173 setenv(name, value, 1); in biosacpi_setup_spcr()
192 setenv("acpi.rsdp", buf, 1); in biosacpi_detect()
197 setenv("acpi.revision", buf, 1); in biosacpi_detect()
200 setenv("acpi.oem", buf, 1); in biosacpi_detect()
202 setenv("acpi.rsdt", buf, 1); in biosacpi_detect()
207 setenv("acpi.xsdt", buf, 1); in biosacpi_detect()
209 setenv("acpi.xsdt_length", buf, 1); in biosacpi_detect()
H A Dcpuid.c136 rc = setenv("ISADIR", "amd64", 1); in bi_isadir()
138 rc = setenv("ISADIR", "", 1); in bi_isadir()
H A Dbiospci.c250 setenv("pcibios.major", buf, 1); in biospci_detect()
252 setenv("pcibios.minor", buf, 1); in biospci_detect()
254 setenv("pcibios.config1", buf, 1); in biospci_detect()
256 setenv("pcibios.config2", buf, 1); in biospci_detect()
258 setenv("pcibios.maxbus", buf, 1); in biospci_detect()
/illumos-gate/usr/src/boot/common/
H A Ddev_net.c177 setenv("boot.netif.hwaddr", ether_sprintf(d->myea), 1); in net_open()
178 setenv("boot.netif.ip", inet_ntoa(myip), 1); in net_open()
179 setenv("boot.netif.netmask", intoa(netmask), 1); in net_open()
180 setenv("boot.netif.gateway", inet_ntoa(gateip), 1); in net_open()
181 setenv("boot.netif.server", inet_ntoa(rootip), 1); in net_open()
183 setenv("boot.tftproot.server", inet_ntoa(rootip), 1); in net_open()
184 setenv("boot.tftproot.path", rootpath, 1); in net_open()
186 setenv("boot.nfsroot.server", inet_ntoa(rootip), 1); in net_open()
187 setenv("boot.nfsroot.path", rootpath, 1); in net_open()
192 setenv("boot.netif.mtu", mtu, 1); in net_open()
H A Dboot.c371 setenv("vfs.root.mountfrom", lbuf, 0); in getrootmount()
379 setenv("vfs.root.mountfrom.options", options, 0); in getrootmount()
397 setenv("vfs.root.mountfrom", cp, 0); in getrootmount()
H A Dinterp.c119 setenv("prompt", "${interpret}", 1); in interact()
121 setenv("interpret", "ok", 1); in interact()
/illumos-gate/usr/src/boot/efi/loader/arch/arm64/
H A Dexec.c88 setenv("hint.acpi.0.rsdp", buf, 1); in elf64_exec()
93 setenv("hint.acpi.0.revision", buf, 1); in elf64_exec()
96 setenv("hint.acpi.0.oem", buf, 1); in elf64_exec()
98 setenv("hint.acpi.0.rsdt", buf, 1); in elf64_exec()
103 setenv("hint.acpi.0.xsdt", buf, 1); in elf64_exec()
105 setenv("hint.acpi.0.xsdt_length", buf, 1); in elf64_exec()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dsetenv.c24 #define setenv ______setenv macro
28 #undef setenv
33 NoN(setenv)
45 setenv(const char* name, const char* value, int overwrite)
/illumos-gate/usr/src/boot/efi/loader/arch/amd64/
H A Delf64_freebsd.c110 setenv("hint.acpi.0.rsdp", buf, 1); in elf64_exec()
115 setenv("hint.acpi.0.revision", buf, 1); in elf64_exec()
118 setenv("hint.acpi.0.oem", buf, 1); in elf64_exec()
120 setenv("hint.acpi.0.rsdt", buf, 1); in elf64_exec()
125 setenv("hint.acpi.0.xsdt", buf, 1); in elf64_exec()
127 setenv("hint.acpi.0.xsdt_length", buf, 1); in elf64_exec()
/illumos-gate/usr/src/common/ficl/
H A Dmain.c107 (void) setenv("screen-#cols", buffer, 1); in main()
111 (void) setenv("screen-#rows", buffer, 1); in main()
115 (void) setenv("prompt", "${interpret}", 1); in main()
117 (void) setenv("interpret", "ok", 1); in main()
/illumos-gate/usr/src/cmd/smbsrv/fksmbd/
H A D.dbxrc19 setenv SMBD_DOOR_NAME /tmp/fksmbd_door
20 setenv SMB_SHARE_DNAME /tmp/fksmbshare_door
23 setenv LD_LIBRARY_PATH ${ROOT}/usr/lib/smbsrv:${ROOT}/usr/lib:${ROOT}/lib
/illumos-gate/usr/src/boot/i386/loader/
H A Dmain.c133 setenv("console", "ttya text", 1); in main()
135 setenv("console", "text ttya", 1); in main()
137 setenv("console", "ttya", 1); in main()
139 setenv("console", "null", 1); in main()
262 setenv("zfs-bootonce", bootonce, 1); in extract_currdev()
/illumos-gate/usr/src/boot/forth/
H A Dmenu.4th256 dup s" [A]CPI................ default" rot 48 menu_caption[x][y] setenv
257 dup s" ^[1mA^[mCPI.............. ^[32;7mdefault^[m" rot 48 ansi_caption[x][y] setenv
259 dup s" [A]CPI................ On" rot 49 menu_caption[x][y] setenv
260 dup s" ^[1mA^[mCPI.............. ^[34;1mOn^[m" rot 49 ansi_caption[x][y] setenv
262 dup s" [A]CPI................ Off" rot 50 menu_caption[x][y] setenv
263 dup s" ^[1mA^[mCPI.............. ^[34;1mOff^[m" rot 50 ansi_caption[x][y] setenv
265 dup s" [A]CPI................ MADT" rot 51 menu_caption[x][y] setenv
266 dup s" ^[1mA^[mCPI.............. ^[34;1mMADT^[m" rot 51 ansi_caption[x][y] setenv
268 dup s" [A]CPI................ Legacy" rot 52 menu_caption[x][y] setenv
269 s" ^[1mA^[mCPI.............. ^[34;1mLegacy^[m" rot 52 ansi_caption[x][y] setenv
[all …]
H A Dbeadm.4th204 s" currdev" setenv \ setenv currdev = device
230 2dup s" currdev" setenv
367 title s" zfs_be_active" setenv
383 n2s s" zfs_be_pages" setenv
431 s" bootenvmenu_caption[4]" 20 +c! setenv
434 s" bootenvansi_caption[4]" 20 +c! setenv
448 s" bootenvmenu_command[4]" 20 +c! setenv
474 s" bootenv_root[4]" 13 +c! setenv
H A Dmenu-commands.4th89 s" boot-args" setenv ( c-addr/u -- )
326 s" os_console" setenv
371 s" acpi-user-options" setenv
398 2dup s" nmi_initial" setenv
423 s" nmi_initial" getenv s" nmi" setenv
519 s" zfs_be_active" setenv
529 s" 1" s" zfs_be_currpage" setenv
568 s" zfs_be_currpage" setenv
/illumos-gate/usr/src/boot/libsa/
H A Dsmbios.c196 setenv(name, val, 1); in smbios_setenv()
263 setenv(name, uuid, 1); in smbios_setuuid()
459 setenv("smbios.version", buf, 1); in smbios_detect()
463 setenv("smbios.memory.enabled", buf, 1); in smbios_detect()
467 setenv("smbios.socket.enabled", buf, 1); in smbios_detect()
471 setenv("smbios.socket.populated", buf, 1); in smbios_detect()
H A Denvironment.c151 setenv(const char *name, const char *value, int overwrite) in setenv() function
168 result = setenv(copy, value, 1); in putenv()
/illumos-gate/usr/src/cmd/smbsrv/test-msgbuf/
H A D.dbxrc19 setenv ROOT ${CODEMGR_WS}/proto/root_i386
20 setenv LD_LIBRARY_PATH ${ROOT}/usr/lib/smbsrv:${ROOT}/usr/lib:${ROOT}/lib
/illumos-gate/usr/src/cmd/idmap/test-getdc/
H A D.dbxrc19 setenv ROOT ${CODEMGR_WS}/proto/root_i386
20 setenv LD_LIBRARY_PATH ${ROOT}/usr/lib:${ROOT}/lib
/illumos-gate/usr/src/common/ficl/emu/
H A Dloader_emu.c714 (void) setenv("ISADIR", "", 1); in bf_init()
716 (void) setenv("ISADIR", buf, 1); in bf_init()
721 (void) setenv("currdev", buf, 1); in bf_init()
723 (void) setenv("console", "text", 1); in bf_init()
834 (void) setenv("interpret", bf_vm->state ? "" : "ok", 1); in bf_run()
1262 if ((err = setenv(copy, value, 1)) != 0) { in command_set()
1282 if ((err = setenv(argv[1], argv[2], 1)) != 0) { in command_setprop()
1402 (void) setenv(name, buf, 1); in command_read()
1935 (void) setenv("kernelname", filename, 1); in command_load()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/env/
H A Derr.D_PRAGMA_OPTSET.setfromscript.d20 #pragma D option setenv=balloon=something_bad_happens
/illumos-gate/usr/src/lib/libresolv2/common/bsd/
H A Dputenv.c19 return (setenv(str, tmp, 1)); in putenv()
/illumos-gate/usr/src/boot/efi/libefi/
H A Defi_console.c547 (void) setenv("console", cp->c_name, 1); in efi_cons_probe()
579 setenv("screen-#rows", "24", 1); in efi_cons_init()
580 setenv("screen-#cols", "80", 1); in efi_cons_init()
584 setenv("screen-#rows", env, 1); in efi_cons_init()
586 setenv("screen-#cols", env, 1); in efi_cons_init()

1234