Lines Matching full:environment

13  * Support for persistent environment data
15 * The "environment" is stored on external storage as a list of '\0'
17 * a double '\0'. The environment is preceded by a 32 bit CRC over
18 * the data part and, in case of redundant environment, a byte of
23 * environment. After that, we use a hash table.
30 #include <environment.h>
66 * be used via get_env_id() as an indication, if the environment
67 * has changed or not. So it is possible to reread an environment
68 * variable only if the environment was changed ... done so for
80 * Command interface: print one or all environment variables
111 printf("## Error: cannot export environment\n"); in env_print()
214 * Set a new environment variable,
310 * Set an environment variable to an integer value
312 * @param varname Environment variable to set
325 * Set an environment variable to an value in hex
327 * @param varname Environment variable to set
394 * Prompt for environment variable
622 * Interactively edit an environment variable
663 * Look up variable from environment,
689 * Look up variable from environment for restricted C runtime env.
732 * Decode the integer value of an environment variable and return it.
734 * @param name Name of environment variable
744 * environment variable value is an integer and thus short. in env_get_ulong()
761 "save environment variables to persistent storage",
772 * i2 is the environment index for a 'name2=value2' pair.
815 /* Reset the whole environment */ in do_env_default()
816 set_default_env("## Resetting to default environment\n", in do_env_default()
874 * -c: export as checksum protected environment format as
878 * addr: memory address where environment gets stored
880 * export. Without arguments, the whole environment gets
887 * environment, a "current" redundancy flag. If size is given, this
974 pr_err("## Error: Cannot export environment: errno = %d\n", in do_env_export()
995 pr_err("## Error: Cannot export environment: errno = %d\n", in do_env_export()
1021 * -d: delete existing environment before importing if no var is
1023 * environment but not in the environment at addr, delete var from
1024 * current environment;
1033 * -c: assume checksum protected environment format
1040 * the environment at address 'addr'. Without arguments, the whole
1041 * environment gets imported.
1145 pr_err("## Error: Environment import failed: errno = %d\n", in do_env_import()
1246 "ask name [message] [size] - ask for environment variable\nenv "
1251 "default [-f] -a - [forcibly] reset default environment\n"
1255 "env edit name - edit environment variable\n"
1261 "env export [-t | -b | -c] [-s size] addr [var ...] - export environment\n"
1268 "env grep [-e] [-n | -v | -b] string [...] - search environment\n"
1270 "env grep [-n | -v | -b] string [...] - search environment\n"
1274 "env import [-d] [-t [-r] | -b | -c] addr [size] [var ...] - import environment\n"
1276 "env print [-a | name ...] - print environment\n"
1278 "env print -e [name ...] - print UEFI environment\n"
1281 "env run var [...] - run commands in an environment variable\n"
1284 "env save - save environment\n"
1294 "environment handling commands", env_help_text
1304 "edit environment variable",
1306 " - edit environment variable 'name'",
1313 "print environment variables",
1314 "[-a]\n - print [all] values of all environment variables\n"
1320 " - print value of environment variable 'name'",
1327 "search environment variables",
1333 " - list environment name=value pairs matching 'string'\n"
1345 "set environment variables",
1352 " - [forcibly] set environment variable 'name' to 'value ...'\n"
1354 " - [forcibly] delete environment variable 'name'",
1362 "get environment variables from stdin",
1364 " - get environment variable 'name' from stdin (max 'size' chars)"
1371 "run commands in an environment variable",
1373 " - run the commands in the environment variable(s) 'var'",