Searched refs:done (Results 1 – 5 of 5) sorted by relevance
11 x->done = 0; in completion_init()25 if (x->done != COMPLETE_ALL) in complete()26 ++(x->done); in complete()41 x->done = COMPLETE_ALL; // 永久赋值 in complete_all()59 if (!x->done) in __wait_for_common()63 while (!x->done && timeout > 0) in __wait_for_common()75 if (!x->done) in __wait_for_common()82 if (x->done != COMPLETE_ALL) in __wait_for_common()83 --(x->done); in __wait_for_common()153 if (!READ_ONCE(x->done)) in try_wait_for_completion()[all …]
139 goto done; in shell_cmd_cd()143 goto done; in shell_cmd_cd()151 goto done; in shell_cmd_cd()163 goto done; in shell_cmd_cd()231 goto done; in shell_cmd_cd()242 done:; in shell_cmd_cd()578 goto done; in shell_cmd_free()586 goto done; in shell_cmd_free()602 done:; in shell_cmd_free()
199 | completion_done(struct completion *x) | 查询completion的done变量是不是大于0,如果大于0,返回true;否则返回fal…200 … | 查询completion的done变量是不是大于0,如果大于0,返回true(同时令done-=1);否则返回false。在等待前加上这个函数有可能加速?(该函数和`completion…
12 unsigned int done; member
33 kTEST("kfifo Test done.");