Searched refs:done (Results 1 – 7 of 7) 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 …]
128 goto done; in shell_cmd_cd()132 goto done; in shell_cmd_cd()140 goto done; in shell_cmd_cd()152 goto done; in shell_cmd_cd()220 goto done; in shell_cmd_cd()231 done:; in shell_cmd_cd()558 goto done; in shell_cmd_free()566 goto done; in shell_cmd_free()582 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.");
614 goto done; in kmalloc()618 done:; in kmalloc()
1051 done:; in xhci_set_address()1290 goto done; in xhci_control_in()1295 done:; in xhci_control_in()1354 goto done; in xhci_control_out()1358 done:; in xhci_control_out()1783 done:; in xhci_configure_endpoint()