Searched refs:threadfn (Results 1 - 3 of 3) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dkthread.h7 struct task_struct *kthread_create(int (*threadfn)(void *data),
14 * @threadfn: the function to run until signal_pending(current).
15 * @data: data ptr for @threadfn.
21 #define kthread_run(threadfn, data, namefmt, ...) \
24 = kthread_create(threadfn, data, namefmt, ## __VA_ARGS__); \
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/
H A Dkthread.c28 int (*threadfn)(void *data); member in struct:kthread_create_info
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
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/netfilter/ipvs/
H A Dip_vs_sync.c841 int (*threadfn)(void *data);
857 threadfn = sync_thread_master;
868 threadfn = sync_thread_backup;
893 task = kthread_run(threadfn, tinfo, name);

Completed in 164 milliseconds