Searched refs:threadfn (Results 1 – 4 of 4) sorted by relevance
/linux/include/linux/ |
A D | kthread.h | 11 struct task_struct *kthread_create_on_node(int (*threadfn)(void *data), 27 #define kthread_create(threadfn, data, namefmt, arg...) \ argument 28 kthread_create_on_node(threadfn, data, NUMA_NO_NODE, namefmt, ##arg) 31 struct task_struct *kthread_create_on_cpu(int (*threadfn)(void *data), 50 #define kthread_run(threadfn, data, namefmt, ...) \ argument 53 = kthread_create(threadfn, data, namefmt, ## __VA_ARGS__); \
|
/linux/kernel/ |
A D | kthread.c | 41 int (*threadfn)(void *data); member 55 int (*threadfn)(void *); member 198 return kthread->threadfn; in kthread_func() 276 int (*threadfn)(void *data) = create->threadfn; in kthread() local 298 self->threadfn = threadfn; in kthread() 327 ret = threadfn(data); in kthread() 377 create->threadfn = threadfn; in __kthread_create_on_node() 444 struct task_struct *kthread_create_on_node(int (*threadfn)(void *data), in kthread_create_on_node() 453 task = __kthread_create_on_node(threadfn, data, node, namefmt, args); in kthread_create_on_node() 511 struct task_struct *kthread_create_on_cpu(int (*threadfn)(void *data), in kthread_create_on_cpu() [all …]
|
/linux/drivers/usb/usbip/ |
A D | usbip_common.h | 290 #define kthread_get_run(threadfn, data, namefmt, ...) \ argument 293 = kthread_create(threadfn, data, namefmt, ## __VA_ARGS__); \
|
/linux/net/netfilter/ipvs/ |
A D | ip_vs_sync.c | 1757 int (*threadfn)(void *data); in start_sync_thread() local 1824 threadfn = sync_thread_master; in start_sync_thread() 1832 threadfn = sync_thread_backup; in start_sync_thread() 1879 task = kthread_run(threadfn, tinfo, name, ipvs->gen, id); in start_sync_thread()
|
Completed in 13 milliseconds