Lines Matching full:environment

31  * bootstrap/kernel environment variables.  We convert them to a
65 static MALLOC_DEFINE(M_KENV, "kenv", "kernel environment");
67 #define KENV_SIZE 512 /* Maximum number of environment strings */
72 /* pointer to the config-generated static environment */
75 /* pointer to the md-static environment */
82 /* dynamic environment variables */
109 * For non-dynamic kernel environment, we pass in either md_envp or
272 * Populate the initial kernel environment.
275 * environment obtained from a boot loader, or to provide an empty buffer into
276 * which MD code can store an initial environment using kern_setenv() calls.
282 * subsequently use kern_setenv() to add up to len bytes of initial environment
283 * before the dynamic environment is available.
286 * environment strings. Additional strings cannot be added until the dynamic
287 * environment is available. The memory pointed to must remain stable at least
291 * environment is available from the boot loader, passing a NULL pointer allows
293 * to kern_setenv() prior to the setup of the dynamic environment will result in
305 * environment.
318 * The second call gives the same environment as the first except
329 * Give the static environment a chance to disable the loader(8)
330 * environment first. This is done with loader_env.disabled=1.
342 * As a warning, the static environment may not be disabled in any way
343 * if the static environment has disabled the loader environment.
362 /* Maximum suffix number appended for duplicate environment variable names. */
381 panic("Too many duplicate kernel environment values: %s", cp);
418 * Handle duplicates in the environment as we go; we
421 * static environment and in the "loader" environment
424 * the static environment will have the suffix; and (b)
425 * if the "loader" environment has the same variable
455 * Setup the dynamic kernel environment.
477 mtx_init(&kenv_lock, "kernel environment", NULL, MTX_DEF);
555 * Look up an environment variable by name.
585 * Test if an environment variable is defined.
601 * Set an environment variable in the MD-static environment. This cannot
626 * Set an environment variable by name.
676 * Unset an environment variable string.
733 * Return a string value from an environment variable.
890 * Return an integer value from an environment variable.
905 * Return an unsigned integer value from an environment variable.
920 * Return an int64_t value from an environment variable.
935 * Return an uint64_t value from an environment variable.
950 * Return a long value from an environment variable.
965 * Return an unsigned long value from an environment variable.
980 * Return a quad_t value from an environment variable.
1024 * Return a boolean value from an environment variable. This can be in
1048 printf("Environment variable %s has non-boolean value \"%s\"\n",