Lines Matching refs:threadfn
28 int (*threadfn)(void *data);
77 int (*threadfn)(void *data) = create->threadfn;
95 ret = threadfn(data);
115 * @threadfn: the function to run until signal_pending(current).
116 * @data: data ptr for @threadfn.
123 * When woken, the thread will run @threadfn() with @data as its
124 * argument. @threadfn() can either call do_exit() directly if it is a
132 struct task_struct *kthread_create(int (*threadfn)(void *data),
139 create.threadfn = threadfn;
199 * calling threadfn().
201 * If threadfn() may call do_exit() itself, the caller must ensure
204 * Returns the result of threadfn(), or %-EINTR if wake_up_process()
272 * This function can be used as @threadfn to kthread_create() or