Lines Matching refs:struct
33 事件被简化为 ``struct completion`` 中的一个简单标志,被恰如其名地称为‘done’。
43 - 'struct completion' 同步对象的初始化
52 ``struct completion`` 类型的变量,它只有两个字段::
54 struct completion {
134 void wait_for_completion(struct completion *done)
140 struct completion setup_done;
180 int wait_for_completion_interruptible(struct completion *done)
185 unsigned long wait_for_completion_timeout(struct completion *done, unsigned long timeout)
196 long wait_for_completion_interruptible_timeout(struct completion *done, unsigned long timeout)
205 long wait_for_completion_killable(struct completion *done)
206 long wait_for_completion_killable_timeout(struct completion *done, unsigned long timeout)
211 void wait_for_completion_io(struct completion *done)
212 unsigned long wait_for_completion_io_timeout(struct completion *done, unsigned long timeout)
221 void complete(struct completion *done)
225 void complete_all(struct completion *done)
228 “consuming”(递减)“struct completion” 的完成字段来实现的。等待的线程唤醒的顺序
235 在任何时候,只能有一个线程在一个特定的 “struct completion”上调用 complete() 或
249 bool try_wait_for_completion(struct completion *done)
254 bool completion_done(struct completion *done)