Home
last modified time | relevance | path

Searched refs:done (Results 1 – 5 of 5) sorted by relevance

/DragonOS/kernel/src/sched/
H A Dcompletion.rs33 if inner.done == 0 { in do_wait_for_common()
50 if inner.done != 0 || timeout <= 0 { in do_wait_for_common()
55 if inner.done == 0 { in do_wait_for_common()
60 if inner.done != COMPLETE_ALL { in do_wait_for_common()
61 inner.done -= 1; in do_wait_for_common()
94 if inner.done != COMPLETE_ALL { in complete()
95 inner.done = inner.done.saturating_add(1); in complete()
104 inner.done = COMPLETE_ALL; in complete_all()
115 if inner.done == 0 { in try_wait_for_completion()
119 if inner.done != 0 { in try_wait_for_completion()
[all …]
/DragonOS/docs/kernel/sched/
H A Dc_waiting.md199 | completion_done(struct completion *x) | 查询completion的done变量是不是大于0,如果大于0,返回true;否则返回fal…
200 … | 查询completion的done变量是不是大于0,如果大于0,返回true(同时令done-=1);否则返回false。在等待前加上这个函数有可能加速?(该函数和`completion…
/DragonOS/kernel/src/driver/video/fbdev/base/
H A Drender_helper.rs18 done: bool, field
51 done: false, in new()
143 if self.done { in next()
152 self.done = true; in next()
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.9.md1938 * 对 complete 系列方法上锁,保护 done 数据并发安全
/DragonOS/kernel/crates/rbpf/
H A DREADME.md648 * The interaction with maps is done through the use of specific helpers, so