Home
last modified time | relevance | path

Searched refs:threadfn (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/include/linux/
Dkthread.h11 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),
51 #define kthread_run(threadfn, data, namefmt, ...) \ argument
54 = kthread_create(threadfn, data, namefmt, ## __VA_ARGS__); \
73 kthread_run_on_cpu(int (*threadfn)(void *data), void *data, in kthread_run_on_cpu()
78 p = kthread_create_on_cpu(threadfn, data, cpu, namefmt); in kthread_run_on_cpu()
/linux-6.6.21/kernel/
Dkthread.c42 int (*threadfn)(void *data); member
57 int (*threadfn)(void *); member
229 return kthread->threadfn; in kthread_func()
345 int (*threadfn)(void *data) = create->threadfn; in kthread() local
362 self->threadfn = threadfn; in kthread()
388 ret = threadfn(data); in kthread()
428 struct task_struct *__kthread_create_on_node(int (*threadfn)(void *data), in __kthread_create_on_node()
440 create->threadfn = threadfn; in __kthread_create_on_node()
503 struct task_struct *kthread_create_on_node(int (*threadfn)(void *data), in kthread_create_on_node()
512 task = __kthread_create_on_node(threadfn, data, node, namefmt, args); in kthread_create_on_node()
[all …]
/linux-6.6.21/fs/nfs/
Dcallback.c222 int (*threadfn)(void *data); in nfs_callback_create_svc() local
239 threadfn = nfs4_callback_svc; in nfs_callback_create_svc()
242 threadfn = nfs41_callback_svc; in nfs_callback_create_svc()
248 threadfn); in nfs_callback_create_svc()
/linux-6.6.21/drivers/usb/usbip/
Dusbip_common.h290 #define kthread_get_run(threadfn, data, namefmt, ...) \ argument
293 = kthread_create(threadfn, data, namefmt, ## __VA_ARGS__); \
/linux-6.6.21/include/linux/sunrpc/
Dsvc.h403 int (*threadfn)(void *data));
412 int (*threadfn)(void *data));
/linux-6.6.21/net/sunrpc/
Dsvc.c457 int (*threadfn)(void *data)) in __svc_create()
474 serv->sv_threadfn = threadfn; in __svc_create()
533 int (*threadfn)(void *data)) in svc_create()
535 return __svc_create(prog, bufsize, 1, threadfn); in svc_create()
549 int (*threadfn)(void *data)) in svc_create_pooled()
554 serv = __svc_create(prog, bufsize, npools, threadfn); in svc_create_pooled()
/linux-6.6.21/net/netfilter/ipvs/
Dip_vs_sync.c1750 int (*threadfn)(void *data); in start_sync_thread() local
1817 threadfn = sync_thread_master; in start_sync_thread()
1825 threadfn = sync_thread_backup; in start_sync_thread()
1872 task = kthread_run(threadfn, tinfo, name, ipvs->gen, id); in start_sync_thread()