Home
last modified time | relevance | path

Searched refs:name_fmt (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.8/kernel/src/common/
Dkthread.h25 const char name_fmt[], ...);
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/docs/kernel/process_management/
Dkthread.md23   `kthread_create(thread_fn, data, name_fmt, arg...)`
41 **name_fmt**
47   name_fmt的参数
57   `kthread_run(thread_fn, data, name_fmt, ...)`
69   `kthread_run_rt(thread_fn, data, name_fmt, ...)`
/DragonOS-0.1.8/kernel/src/process/
Dkthread.c51 const char name_fmt[], va_list args) in __kthread_create_on_node() argument
58 BUG_ON(name_fmt == NULL); in __kthread_create_on_node()
91 int len = vsnprintf(pcb_name, name_fmt, PCB_NAME_LEN, get_args); in __kthread_create_on_node()
97 vsprintf(full_name, name_fmt, get_args); in __kthread_create_on_node()
139 const char name_fmt[], ...) in kthread_create_on_node() argument
143 va_start(args, name_fmt); in kthread_create_on_node()
144 pcb = __kthread_create_on_node(thread_fn, data, node, name_fmt, args); in kthread_create_on_node()