Searched refs:thread_fn (Results 1 – 3 of 3) sorted by relevance
/DragonOS-0.1.8/kernel/src/common/ |
D | kthread.h | 17 int (*thread_fn)(void *); member 24 struct process_control_block *kthread_create_on_node(int (*thread_fn)(void *data), void *data, int … 36 #define kthread_create(thread_fn, data, name_fmt, arg...) … argument 37 kthread_create_on_node(thread_fn, data, NUMA_NO_NODE, name_fmt, ##arg) 47 #define kthread_run(thread_fn, data, name_fmt, ...) … argument 49 … struct process_control_block *__kt = kthread_create(thread_fn, data, name_fmt, ##__VA_ARGS__); \ 63 #define kthread_run_rt(thread_fn, data, name_fmt, ...) … argument 65 …struct process_control_block *__kt = kthread_create(thread_fn, data, name_fmt, ##__VA_ARGS__); …
|
/DragonOS-0.1.8/kernel/src/process/ |
D | kthread.c | 27 int (*thread_fn)(void *data); member 50 static struct process_control_block *__kthread_create_on_node(int (*thread_fn)(void *data), void *d… in __kthread_create_on_node() 60 create->thread_fn = thread_fn; in __kthread_create_on_node() 138 struct process_control_block *kthread_create_on_node(int (*thread_fn)(void *data), void *data, int … in kthread_create_on_node() 144 pcb = __kthread_create_on_node(thread_fn, data, node, name_fmt, args); in kthread_create_on_node() 158 int (*thread_fn)(void *data) = create->thread_fn; in kthread() local 165 self->thread_fn = thread_fn; in kthread() 187 retval = thread_fn(data); in kthread()
|
/DragonOS-0.1.8/docs/kernel/process_management/ |
D | kthread.md | 23   `kthread_create(thread_fn, data, name_fmt, arg...)` 33 **thread_fn** 39   传递给 *thread_fn* 的参数数据 57   `kthread_run(thread_fn, data, name_fmt, ...)` 69   `kthread_run_rt(thread_fn, data, name_fmt, ...)`
|