Home
last modified time | relevance | path

Searched refs:pwq (Results 1 – 2 of 2) sorted by relevance

/fs/
Dselect.c118 void poll_initwait(struct poll_wqueues *pwq) in poll_initwait() argument
120 init_poll_funcptr(&pwq->pt, __pollwait); in poll_initwait()
121 pwq->polling_task = current; in poll_initwait()
122 pwq->triggered = 0; in poll_initwait()
123 pwq->error = 0; in poll_initwait()
124 pwq->table = NULL; in poll_initwait()
125 pwq->inline_index = 0; in poll_initwait()
135 void poll_freewait(struct poll_wqueues *pwq) in poll_freewait() argument
137 struct poll_table_page * p = pwq->table; in poll_freewait()
139 for (i = 0; i < pwq->inline_index; i++) in poll_freewait()
[all …]
Deventpoll.c512 static void ep_remove_wait_queue(struct eppoll_entry *pwq) in ep_remove_wait_queue() argument
518 whead = rcu_dereference(pwq->whead); in ep_remove_wait_queue()
520 remove_wait_queue(whead, &pwq->wait); in ep_remove_wait_queue()
532 struct eppoll_entry *pwq; in ep_unregister_pollwait() local
535 pwq = list_first_entry(lsthead, struct eppoll_entry, llink); in ep_unregister_pollwait()
537 list_del(&pwq->llink); in ep_unregister_pollwait()
538 ep_remove_wait_queue(pwq); in ep_unregister_pollwait()
539 kmem_cache_free(pwq_cache, pwq); in ep_unregister_pollwait()
1063 struct eppoll_entry *pwq; in ep_ptable_queue_proc() local
1065 if (epi->nwait >= 0 && (pwq = kmem_cache_alloc(pwq_cache, GFP_KERNEL))) { in ep_ptable_queue_proc()
[all …]