Searched refs:comp (Results 1 – 2 of 2) sorted by relevance
6 let comp = path_split.next().unwrap_or(""); in split_path() localVariable9 return (comp, rest_opt); in split_path()17 let comp = path_split.next().unwrap_or(""); in rsplit_path() localVariable20 return (comp, rest_opt); in rsplit_path()
147 DECLARE_COMPLETION_ON_STACK(comp); // 声明一个completion 151 // 你需要把comp变量传给这个线程, 然后当前线程就会等待他的完成153 if (!try_wait_for_completion(&comp)) // 进入等待154 wait_for_completion(&comp);160 void kthread_fun(struct completion *comp) {164 complete(&comp);166 complete_all(&comp);