Searched refs:threadfn (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/include/linux/ |
H 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), 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()
|
/openbmc/linux/kernel/ |
H A D | kthread.c | 42 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() 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() 570 struct task_struct *kthread_create_on_cpu(int (*threadfn)(void *data), in kthread_create_on_cpu() [all …]
|
/openbmc/linux/fs/nfs/ |
H A D | callback.c | 222 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()
|
/openbmc/linux/drivers/usb/usbip/ |
H A D | usbip_common.h | 290 #define kthread_get_run(threadfn, data, namefmt, ...) \ argument 293 = kthread_create(threadfn, data, namefmt, ## __VA_ARGS__); \
|
/openbmc/linux/include/linux/sunrpc/ |
H A D | svc.h | 402 int (*threadfn)(void *data)); 413 int (*threadfn)(void *data));
|
/openbmc/linux/net/sunrpc/ |
H A D | svc.c | 457 unsigned int bufsize, int npools, 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, NULL, bufsize, 1, threadfn); in svc_create() 551 int (*threadfn)(void *data)) in svc_create_pooled() 556 serv = __svc_create(prog, stats, bufsize, npools, threadfn); in svc_create_pooled()
|
/openbmc/linux/net/netfilter/ipvs/ |
H A D | ip_vs_sync.c | 1750 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()
|