Lines Matching refs:envp
89 char *argv[3], **envp, *buf, *scratch; in pnp_dock_event() local
92 if (!(envp = kcalloc(20, sizeof(char *), GFP_KERNEL))) in pnp_dock_event()
95 kfree(envp); in pnp_dock_event()
108 envp[i++] = "HOME=/"; in pnp_dock_event()
109 envp[i++] = "PATH=/sbin:/bin:/usr/sbin:/usr/bin"; in pnp_dock_event()
113 envp[i++] = "DEBUG=kernel"; in pnp_dock_event()
121 envp[i++] = scratch; in pnp_dock_event()
125 envp[i++] = scratch; in pnp_dock_event()
128 envp[i] = NULL; in pnp_dock_event()
130 value = call_usermodehelper(sbin_pnpbios, argv, envp, UMH_WAIT_EXEC); in pnp_dock_event()
132 kfree(envp); in pnp_dock_event()