Lines Matching refs:wait
121 if (!(sub_info->wait & UMH_WAIT_PROC)) in call_usermodehelper_exec_async()
186 if (sub_info->wait & UMH_WAIT_PROC) { in call_usermodehelper_exec_work()
235 DEFINE_WAIT(wait); in usermodehelper_read_trylock()
240 prepare_to_wait(&usermodehelper_disabled_waitq, &wait, in usermodehelper_read_trylock()
258 finish_wait(&usermodehelper_disabled_waitq, &wait); in usermodehelper_read_trylock()
265 DEFINE_WAIT(wait); in usermodehelper_read_lock_wait()
272 prepare_to_wait(&usermodehelper_disabled_waitq, &wait, in usermodehelper_read_lock_wait()
285 finish_wait(&usermodehelper_disabled_waitq, &wait); in usermodehelper_read_lock_wait()
548 int call_usermodehelper_exec(struct subprocess_info *sub_info, int wait) in call_usermodehelper_exec() argument
576 sub_info->complete = (wait == UMH_NO_WAIT) ? NULL : &done; in call_usermodehelper_exec()
577 sub_info->wait = wait; in call_usermodehelper_exec()
580 if (wait == UMH_NO_WAIT) /* task has freed sub_info */ in call_usermodehelper_exec()
583 if (wait & UMH_KILLABLE) { in call_usermodehelper_exec()
618 int call_usermodehelper(const char *path, char **argv, char **envp, int wait) in call_usermodehelper() argument
621 gfp_t gfp_mask = (wait == UMH_NO_WAIT) ? GFP_ATOMIC : GFP_KERNEL; in call_usermodehelper()
628 return call_usermodehelper_exec(info, wait); in call_usermodehelper()