Lines Matching refs:env

50     char **env;  in get_hotplug_env()  local
54 GCNEW_ARRAY(env, arraysize); in get_hotplug_env()
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()
59 env[nr++] = "XENBUS_PATH"; in get_hotplug_env()
60 env[nr++] = GCSPRINTF("backend/%s/%u/%d", type, dev->domid, dev->devid); in get_hotplug_env()
61 env[nr++] = "XENBUS_BASE_PATH"; in get_hotplug_env()
62 env[nr++] = "backend"; in get_hotplug_env()
69 env[nr++] = "netdev"; in get_hotplug_env()
70 env[nr++] = gatewaydev ? : ""; in get_hotplug_env()
78 env[nr++] = "INTERFACE"; in get_hotplug_env()
79 env[nr++] = (char *) libxl__device_nic_devname(gc, dev->domid, in get_hotplug_env()
89 env[nr++] = "vif"; in get_hotplug_env()
90 env[nr++] = (char *) libxl__device_nic_devname(gc, dev->domid, in get_hotplug_env()
99 env[nr++] = NULL; in get_hotplug_env()
102 return env; in get_hotplug_env()
108 char ***args, char ***env, in libxl__hotplug_nic() argument
136 *env = get_hotplug_env(gc, script, dev); in libxl__hotplug_nic()
137 if (!*env) { in libxl__hotplug_nic()
164 char ***args, char ***env, in libxl__hotplug_disk() argument
180 *env = get_hotplug_env(gc, script, dev); in libxl__hotplug_disk()
181 if (!*env) { in libxl__hotplug_disk()
202 char ***args, char ***env, in libxl__get_hotplug_script_info() argument
217 rc = libxl__hotplug_disk(gc, dev, args, env, action); in libxl__get_hotplug_script_info()
231 rc = libxl__hotplug_nic(gc, dev, args, env, action, num_exec); in libxl__get_hotplug_script_info()