Home
last modified time | relevance | path

Searched refs:env (Results 1 – 22 of 22) sorted by relevance

/xen/tools/libxl/
A Dlibxl_linux.c50 char **env; in get_hotplug_env() local
55 env[nr++] = "script"; in get_hotplug_env()
56 env[nr++] = script; in get_hotplug_env()
57 env[nr++] = "XENBUS_TYPE"; in get_hotplug_env()
58 env[nr++] = (char *) type; in get_hotplug_env()
62 env[nr++] = "backend"; in get_hotplug_env()
69 env[nr++] = "netdev"; in get_hotplug_env()
99 env[nr++] = NULL; in get_hotplug_env()
102 return env; in get_hotplug_env()
137 if (!*env) { in libxl__hotplug_nic()
[all …]
A Dlibxl_freebsd.c100 GCNEW_ARRAY(*env, arraysize); in libxl__hotplug_env_nic()
101 (*env)[nr++] = "iface_dev"; in libxl__hotplug_env_nic()
102 (*env)[nr++] = (char *) libxl__device_nic_devname(gc, dev->domid, in libxl__hotplug_env_nic()
104 (*env)[nr++] = "emulated"; in libxl__hotplug_env_nic()
105 (*env)[nr++] = type == LIBXL_NIC_TYPE_VIF_IOEMU ? "1" : "0"; in libxl__hotplug_env_nic()
106 (*env)[nr++] = NULL; in libxl__hotplug_env_nic()
113 char ***args, char ***env, in libxl__hotplug_nic() argument
139 rc = libxl__hotplug_env_nic(gc, dev, env, num_exec); in libxl__hotplug_nic()
166 char ***args, char ***env, in libxl__hotplug_disk() argument
196 char ***args, char ***env, in libxl__get_hotplug_script_info() argument
[all …]
A Dlibxl_colo_nic.c90 char **env = NULL, **args = NULL; in setup_async_exec() local
102 GCNEW_ARRAY(env, arraysize); in setup_async_exec()
103 env[nr++] = "vifname"; in setup_async_exec()
105 env[nr++] = "forwarddev"; in setup_async_exec()
107 env[nr++] = "mode"; in setup_async_exec()
109 env[nr++] = "primary"; in setup_async_exec()
111 env[nr++] = "secondary"; in setup_async_exec()
112 env[nr++] = "index"; in setup_async_exec()
114 env[nr++] = "bridge"; in setup_async_exec()
116 env[nr++] = NULL; in setup_async_exec()
[all …]
A Dlibxl_netbuffer.c248 char **env = NULL, **args = NULL; in setup_async_exec() local
264 GCNEW_ARRAY(env, arraysize); in setup_async_exec()
265 env[nr++] = "vifname"; in setup_async_exec()
266 env[nr++] = libxl__strdup(gc, vif); in setup_async_exec()
267 env[nr++] = "XENBUS_PATH"; in setup_async_exec()
268 env[nr++] = GCSPRINTF("%s/remus/netbuf/%d", in setup_async_exec()
271 env[nr++] = "REMUS_IFB"; in setup_async_exec()
272 env[nr++] = libxl__strdup(gc, ifb); in setup_async_exec()
274 env[nr++] = NULL; in setup_async_exec()
286 aes->env = env; in setup_async_exec()
A Dlibxl_exec.c70 const char *arg0, char *const args[], char *const env[]) in libxl__exec() argument
93 if (env != NULL) { in libxl__exec()
94 for (int i = 0; env[i] != NULL && env[i+1] != NULL; i += 2) { in libxl__exec()
95 if (setenv(env[i], env[i+1], 1) < 0) { in libxl__exec()
97 env[i], env[i+1]); in libxl__exec()
A Dlibxl_remus_disk_drbd.c73 GCNEW_ARRAY(aes->env, arraysize); in match_async_exec()
74 aes->env[nr++] = NULL; in match_async_exec()
A Dlibxl_netbsd.c64 char ***args, char ***env, in libxl__get_hotplug_script_info() argument
A Dlibxl_device.c1129 char **args = NULL, **env = NULL; in device_hotplug() local
1170 hotplug = libxl__get_hotplug_script_info(gc, aodev->dev, &args, &env, in device_hotplug()
1201 if (env != NULL) { in device_hotplug()
1205 for (x = 0; (k = env[x]); x += 2) { in device_hotplug()
1206 v = env[x+1]; in device_hotplug()
1220 aes->env = env; in device_hotplug()
A Dlibxl_bootloader.c471 char *const env[] = { "TERM", "vt100", NULL }; in bootloader_gotptys() local
571 libxl__exec(gc, -1, -1, -1, bl->args[0], (char **) bl->args, env); in bootloader_gotptys()
A Dlibxl_aoutils.c605 aes->stdfds[2], args[0], args, aes->env); in libxl__async_exec_start()
A Dlibxl_internal.h1976 char *const env[]) __attribute__((noreturn));
2692 char **env; /* execution environment */ member
3043 char ***args, char ***env,
/xen/
A D.travis.yml14 env: XEN_TARGET_ARCH=x86_64 debug=n
16 env: XEN_TARGET_ARCH=x86_64 XEN_CONFIG_EXPERT=y RANDCONFIG=y debug=n
18 env: XEN_TARGET_ARCH=x86_64 debug=n
20 env: XEN_TARGET_ARCH=x86_64 debug=y
22 env: XEN_TARGET_ARCH=x86_64 debug=y
24 env: XEN_TARGET_ARCH=x86_64 clang=y debug=n
26 env: XEN_TARGET_ARCH=x86_64 clang=y debug=y
28 env: XEN_TARGET_ARCH=arm32 CROSS_COMPILE=arm-linux-gnueabihf- debug=n
32 env: XEN_TARGET_ARCH=arm32 CROSS_COMPILE=arm-linux-gnueabihf- debug=y
34 env: XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- debug=n
[all …]
A DINSTALL191 variables in the environment, like 'env variable=value make', will not
/xen/xen/tools/kconfig/
A Dpreprocess.c38 struct env { struct
46 struct env *e; in env_add() argument
55 static void env_del(struct env *e) in env_del()
66 struct env *e; in env_expand()
92 struct env *e, *tmp; in env_write_dep()
A Dstreamline_config.pl169 my $env = $1;
171 $source =~ s/\$\($env\)/$ENV{$env}/;
A Dconfdata.c850 char *env; in conf_write() local
870 env = getenv("KCONFIG_OVERWRITECONFIG"); in conf_write()
871 if (env && *env) { in conf_write()
1251 char *env = getenv("KCONFIG_PROBABILITY"); in conf_set_all_new_symbols() local
1253 while( env && *env ) { in conf_set_all_new_symbols()
1255 int tmp = strtol( env, &endp, 10 ); in conf_set_all_new_symbols()
1263 env = (*endp == ':') ? endp+1 : endp; in conf_set_all_new_symbols()
A Dgconf.c1446 char *env; in main() local
1458 env = getenv(SRCTREE); in main()
1459 if (env) in main()
1460 glade_file = g_strconcat(env, "/scripts/kconfig/gconf.glade", NULL); in main()
/xen/xen/arch/x86/x86_emulate/
A Dx86_emulate.c11760 memcpy(&fpstate.env, ptr, sizeof(fpstate.env)); in x86_emul_blk()
11788 fpstate.env.fcw = env->fcw; in x86_emul_blk()
11789 fpstate.env.fsw = env->fsw; in x86_emul_blk()
11790 fpstate.env.ftw = env->ftw; in x86_emul_blk()
11795 fpstate.env.mode.prot.fip = env->mode.prot.fip; in x86_emul_blk()
11796 fpstate.env.mode.prot.fcs = env->mode.prot.fcs; in x86_emul_blk()
11869 memcpy(ptr, &fpstate.env, sizeof(fpstate.env)); in x86_emul_blk()
11883 env->fcw = fpstate.env.fcw; in x86_emul_blk()
11884 env->fsw = fpstate.env.fsw; in x86_emul_blk()
11885 env->ftw = fpstate.env.ftw; in x86_emul_blk()
[all …]
/xen/xen/tools/kconfig/tests/
A Dconftest.py70 env=dict(os.environ, **extra_env))
/xen/xen/tools/
A Dget-fields.sh9 PYTHON=`/usr/bin/env python`
/xen/tools/tests/x86_emulator/
A Dtest_x86_emulator.c756 static void zap_fpsel(unsigned int *env, bool is_32bit) in zap_fpsel() argument
760 env[4] &= ~0xffff; in zap_fpsel()
761 env[6] &= ~0xffff; in zap_fpsel()
765 env[2] &= ~0xffff; in zap_fpsel()
766 env[3] &= ~0xffff; in zap_fpsel()
770 static void zap_xfpsel(unsigned int *env) in zap_xfpsel() argument
772 env[3] &= ~0xffff; in zap_xfpsel()
773 env[5] &= ~0xffff; in zap_xfpsel()
/xen/tools/
A Dconfigure.ac172 qemu_xen_systemd="/usr/bin/env $qemu_xen_path" ;;

Completed in 76 milliseconds