Searched refs:threadfn (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/include/linux/ |
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), 48 #define kthread_run(threadfn, data, namefmt, ...) \ argument 51 = kthread_create(threadfn, data, namefmt, ## __VA_ARGS__); \
|
/kernel/linux/linux-5.10/kernel/ |
D | kthread.c | 41 int (*threadfn)(void *data); member 55 int (*threadfn)(void *); member 192 return kthread->threadfn; in kthread_func() 269 int (*threadfn)(void *data) = create->threadfn; in kthread() local 291 self->threadfn = threadfn; in kthread() 313 ret = threadfn(data); in kthread() 351 struct task_struct *__kthread_create_on_node(int (*threadfn)(void *data), in __kthread_create_on_node() 363 create->threadfn = threadfn; in __kthread_create_on_node() 438 struct task_struct *kthread_create_on_node(int (*threadfn)(void *data), in kthread_create_on_node() 447 task = __kthread_create_on_node(threadfn, data, node, namefmt, args); in kthread_create_on_node() [all …]
|
/kernel/linux/linux-5.10/drivers/usb/usbip/ |
D | usbip_common.h | 285 #define kthread_get_run(threadfn, data, namefmt, ...) \ argument 288 = kthread_create(threadfn, data, namefmt, ## __VA_ARGS__); \
|
/kernel/linux/linux-5.10/drivers/staging/unisys/visorhba/ |
D | visorhba_main.c | 110 static struct task_struct *visor_thread_start(int (*threadfn)(void *), in visor_thread_start() 115 task = kthread_run(threadfn, thrcontext, "%s", name); in visor_thread_start()
|
/kernel/linux/linux-5.10/net/netfilter/ipvs/ |
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()
|