Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/sched/
Dcompletion.c151 bool try_wait_for_completion(struct completion *x) in try_wait_for_completion() function
207 else if (!try_wait_for_completion(&x[i])) // 上面测试过done>0,那么这里尝试去获取一个done,如果失败了,就继续wait in wait_for_multicompletion()
226 if (!try_wait_for_completion(data->one_to_many)) in __test_completion_waiter()
232 if (!try_wait_for_completion(data->one_to_many)) in __test_completion_waiter()
255 if (!try_wait_for_completion(data->one_to_many)) in __test_completion_worker()
/DragonOS-0.1.8/kernel/src/common/
Dcompletion.h31 bool try_wait_for_completion(struct completion *x);
/DragonOS-0.1.8/docs/kernel/sched/
Dc_waiting.md153 if (!try_wait_for_completion(&comp)) // 进入等待
200 | try_wait_for_completion(struct completion *x) | 查询completion的done变量是不是大于0,如果大于0,返回true(同时令done-…