• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/

Lines Matching defs:sub_info

134 	struct subprocess_info *sub_info = data;
150 if (sub_info->init) {
151 retval = sub_info->init(sub_info);
156 retval = kernel_execve(sub_info->path,
157 (const char *const *)sub_info->argv,
158 (const char *const *)sub_info->envp);
162 sub_info->retval = retval;
177 struct subprocess_info *sub_info = data;
185 pid = kernel_thread(____call_usermodehelper, sub_info, SIGCHLD);
187 sub_info->retval = pid;
203 * real error code is already in sub_info->retval or
204 * sub_info->retval is 0 anyway, so don't mess with it then.
207 sub_info->retval = ret;
210 complete(sub_info->complete);
217 struct subprocess_info *sub_info =
219 enum umh_wait wait = sub_info->wait;
226 pid = kernel_thread(wait_for_helper, sub_info,
229 pid = kernel_thread(____call_usermodehelper, sub_info,
234 call_usermodehelper_freeinfo(sub_info);
243 sub_info->retval = pid;
244 complete(sub_info->complete);
336 struct subprocess_info *sub_info;
337 sub_info = kzalloc(sizeof(struct subprocess_info), gfp_mask);
338 if (!sub_info)
341 INIT_WORK(&sub_info->work, __call_usermodehelper);
342 sub_info->path = path;
343 sub_info->argv = argv;
344 sub_info->envp = envp;
346 return sub_info;
379 * @sub_info: information about the subprocessa
389 int call_usermodehelper_exec(struct subprocess_info *sub_info,
396 if (sub_info->path[0] == '\0')
404 sub_info->complete = &done;
405 sub_info->wait = wait;
407 queue_work(khelper_wq, &sub_info->work);
408 if (wait == UMH_NO_WAIT) /* task has freed sub_info */
411 retval = sub_info->retval;
414 call_usermodehelper_freeinfo(sub_info);