Home
last modified time | relevance | path

Searched refs:completion (Results 1 – 4 of 4) sorted by relevance

/DragonOS-0.1.8/kernel/src/common/ !
Dcompletion.h10 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.8/docs/kernel/sched/ !
Dc_waiting.md134 ## 三. completion完成量
147 DECLARE_COMPLETION_ON_STACK(comp); // 声明一个completion
160 void kthread_fun(struct completion *comp) {
171    kernel/sched/completion.c文件夹中,你可以看到 __test 开头的几个函数,他们是completion模块的测试代码,基本覆盖了completio…
174    函数`completion_init(struct completion *x)`提供了初始化completion的功能。当你使用`DECLARE_COMPLETION_O…
180 | wait_for_completion(struct completion *x) | 将当前进程挂起,并设置挂起状态为PROC_UNINTERRUPTIBLE。 …
181 | wait_for_completion_timeout(struct completion *x, long timeout) | 将当前进程挂起,并设置挂起状态为PROC_UNINTERRU…
182 | wait_for_completion_interruptible(struct completion *x) | 将当前进程挂起,并设置挂起状态为PROC_INTERRUPTIBLE。 …
183 | wait_for_completion_interruptible_timeout(struct completion *x, long timeout) | 将当前进程挂起,并设置挂起状态为P…
184 | wait_for_multicompletion(struct completion x[], int n)| 将当前进程挂起,并设置挂起状态为PROC_UNINTERRUPTIBLE。(等待数…
[all …]
/DragonOS-0.1.8/kernel/src/sched/ !
Dcompletion.c9 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.8/docs/community/ChangeLog/V0.1.x/ !
DV0.1.0.md117 - completion “完成”机制,让一个进程能等待某个任务的完成。