Searched refs:wq (Results 1 – 6 of 6) sorted by relevance
84 spin_lock_init(&wq->lock); in init_waitqueue_head()85 INIT_LIST_HEAD(&wq->list); in init_waitqueue_head()90 wake_up_all(wq); in destroy_waitqueue_head()97 spin_lock(&wq->lock); in wake_up_nr()107 spin_unlock(&wq->lock); in wake_up_nr()112 wake_up_nr(wq, 1); in wake_up_one()117 wake_up_nr(wq, UINT_MAX); in wake_up_all()236 spin_lock(&wq->lock); in prepare_to_wait()240 spin_unlock(&wq->lock); in prepare_to_wait()253 spin_lock(&wq->lock); in finish_wait()[all …]
68 init_waitqueue_head(&ved->wq); in vm_event_enable()161 wake_up_nr(&ved->wq, avail_req); in vm_event_wake_queued()173 if ( !list_empty(&ved->wq.list) ) in vm_event_wake()189 if ( !list_empty(&ved->wq.list) ) in vm_event_disable()487 wait_event(ved->wq, vm_event_wait_try_grab(ved, &rc) != -EBUSY); in vm_event_wait_slot()556 destroy_waitqueue_head(&d->vm_event_paging->wq); in vm_event_cleanup()562 destroy_waitqueue_head(&d->vm_event_monitor->wq); in vm_event_cleanup()568 destroy_waitqueue_head(&d->vm_event_share->wq); in vm_event_cleanup()
29 void init_waitqueue_head(struct waitqueue_head *wq);30 void destroy_waitqueue_head(struct waitqueue_head *wq);33 void wake_up_nr(struct waitqueue_head *wq, unsigned int nr);34 void wake_up_one(struct waitqueue_head *wq);35 void wake_up_all(struct waitqueue_head *wq);38 #define wait_event(wq, condition) \ argument43 prepare_to_wait(&wq); \48 finish_wait(&wq); \54 void prepare_to_wait(struct waitqueue_head *wq);56 void finish_wait(struct waitqueue_head *wq);
45 struct waitqueue_head wq; member
24 return (ved && !list_head_is_null(&ved->wq.list) && in has_active_waitqueue()25 !list_empty(&ved->wq.list)); in has_active_waitqueue()
117 echo $string1 | grep $fo -wq
Completed in 9 milliseconds