Home
last modified time | relevance | path

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

/fs/
Dselect.c109 void poll_initwait(struct poll_wqueues *pwq) in poll_initwait() argument
111 init_poll_funcptr(&pwq->pt, __pollwait); in poll_initwait()
112 pwq->polling_task = current; in poll_initwait()
113 pwq->error = 0; in poll_initwait()
114 pwq->table = NULL; in poll_initwait()
115 pwq->inline_index = 0; in poll_initwait()
125 void poll_freewait(struct poll_wqueues *pwq) in poll_freewait() argument
127 struct poll_table_page * p = pwq->table; in poll_freewait()
129 for (i = 0; i < pwq->inline_index; i++) in poll_freewait()
130 free_poll_entry(pwq->inline_entries + i); in poll_freewait()
[all …]
Deventpoll.c384 struct eppoll_entry *pwq; in ep_unregister_pollwait() local
391 pwq = list_first_entry(lsthead, struct eppoll_entry, llink); in ep_unregister_pollwait()
393 list_del_init(&pwq->llink); in ep_unregister_pollwait()
394 remove_wait_queue(pwq->whead, &pwq->wait); in ep_unregister_pollwait()
395 kmem_cache_free(pwq_cache, pwq); in ep_unregister_pollwait()
704 struct eppoll_entry *pwq; in ep_ptable_queue_proc() local
706 if (epi->nwait >= 0 && (pwq = kmem_cache_alloc(pwq_cache, GFP_KERNEL))) { in ep_ptable_queue_proc()
707 init_waitqueue_func_entry(&pwq->wait, ep_poll_callback); in ep_ptable_queue_proc()
708 pwq->whead = whead; in ep_ptable_queue_proc()
709 pwq->base = epi; in ep_ptable_queue_proc()
[all …]