Searched refs:completion (Results 1 – 4 of 4) sorted by relevance
/DragonOS-0.1.2/kernel/src/common/ |
D | completion.h | 10 struct completion struct 17 struct completion name = {0}; \ argument 23 void completion_init(struct completion *x); 24 void complete(struct completion *x); 25 void complete_all(struct completion *x); 26 void wait_for_completion(struct completion *x); 27 long wait_for_completion_timeout(struct completion *x, long timeout); 28 void wait_for_completion_interruptible(struct completion *x); 29 long wait_for_completion_interruptible_timeout(struct completion *x, long timeout); 30 void wait_for_multicompletion(struct completion x[], int n); [all …]
|
/DragonOS-0.1.2/docs/kernel/sched/ |
D | waiting.md | 128 ## 三. completion完成量 141 DECLARE_COMPLETION_ON_STACK(comp); // 声明一个completion 154 void kthread_fun(struct completion *comp) { 165    kernel/sched/completion.c文件夹中,你可以看到 __test 开头的几个函数,他们是completion模块的测试代码,基本覆盖了completio… 168    函数`completion_init(struct completion *x)`提供了初始化completion的功能。当你使用`DECLARE_COMPLETION_O… 174 | wait_for_completion(struct completion *x) | 将当前进程挂起,并设置挂起状态为PROC_UNINTERRUPTIBLE。 … 175 | wait_for_completion_timeout(struct completion *x, long timeout) | 将当前进程挂起,并设置挂起状态为PROC_UNINTERRU… 176 | wait_for_completion_interruptible(struct completion *x) | 将当前进程挂起,并设置挂起状态为PROC_INTERRUPTIBLE。 … 177 | wait_for_completion_interruptible_timeout(struct completion *x, long timeout) | 将当前进程挂起,并设置挂起状态为P… 178 | wait_for_multicompletion(struct completion x[], int n)| 将当前进程挂起,并设置挂起状态为PROC_UNINTERRUPTIBLE。(等待数… [all …]
|
/DragonOS-0.1.2/kernel/src/sched/ |
D | completion.c | 9 void completion_init(struct completion *x) in completion_init() 20 void complete(struct completion *x) in complete() 37 void complete_all(struct completion *x) in complete_all() 57 static long __wait_for_common(struct completion *x, long (*action)(long), long timeout, int state) in __wait_for_common() 92 void wait_for_completion(struct completion *x) in wait_for_completion() 106 long wait_for_completion_timeout(struct completion *x, long timeout) in wait_for_completion_timeout() 120 void wait_for_completion_interruptible(struct completion *x) in wait_for_completion_interruptible() 134 long wait_for_completion_interruptible_timeout(struct completion *x, long timeout) in wait_for_completion_interruptible_timeout() 151 bool try_wait_for_completion(struct completion *x) in try_wait_for_completion() 175 bool completion_done(struct completion *x) in completion_done() [all …]
|
/DragonOS-0.1.2/docs/community/ChangeLog/V0.1.x/ |
D | V0.1.0.md | 117 - completion “完成”机制,让一个进程能等待某个任务的完成。
|