Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/
Dworkqueue.c360 static void show_pwq(struct pool_workqueue *pwq);
425 #define for_each_pwq(pwq, wq) \ argument
426 list_for_each_entry_rcu((pwq), &(wq)->pwqs, pwqs_node, \
620 static void set_work_pwq(struct work_struct *work, struct pool_workqueue *pwq, in set_work_pwq() argument
623 set_work_data(work, (unsigned long)pwq, in set_work_pwq()
1097 static void get_pwq(struct pool_workqueue *pwq) in get_pwq() argument
1099 lockdep_assert_held(&pwq->pool->lock); in get_pwq()
1100 WARN_ON_ONCE(pwq->refcnt <= 0); in get_pwq()
1101 pwq->refcnt++; in get_pwq()
1111 static void put_pwq(struct pool_workqueue *pwq) in put_pwq() argument
[all …]
/kernel/linux/linux-5.10/include/trace/events/
Dworkqueue.h25 TP_PROTO(unsigned int req_cpu, struct pool_workqueue *pwq,
28 TP_ARGS(req_cpu, pwq, work),
41 __entry->workqueue = pwq->wq;
43 __entry->cpu = pwq->pool->cpu;
/kernel/linux/linux-5.10/fs/
Dselect.c121 void poll_initwait(struct poll_wqueues *pwq) in poll_initwait() argument
123 init_poll_funcptr(&pwq->pt, __pollwait); in poll_initwait()
124 pwq->polling_task = current; in poll_initwait()
125 pwq->triggered = 0; in poll_initwait()
126 pwq->error = 0; in poll_initwait()
127 pwq->table = NULL; in poll_initwait()
128 pwq->inline_index = 0; in poll_initwait()
138 void poll_freewait(struct poll_wqueues *pwq) in poll_freewait() argument
140 struct poll_table_page * p = pwq->table; in poll_freewait()
142 for (i = 0; i < pwq->inline_index; i++) in poll_freewait()
[all …]
Deventpoll.c598 static void ep_remove_wait_queue(struct eppoll_entry *pwq) in ep_remove_wait_queue() argument
609 whead = smp_load_acquire(&pwq->whead); in ep_remove_wait_queue()
611 remove_wait_queue(whead, &pwq->wait); in ep_remove_wait_queue()
623 struct eppoll_entry *pwq; in ep_unregister_pollwait() local
626 pwq = list_first_entry(lsthead, struct eppoll_entry, llink); in ep_unregister_pollwait()
628 list_del(&pwq->llink); in ep_unregister_pollwait()
629 ep_remove_wait_queue(pwq); in ep_unregister_pollwait()
630 kmem_cache_free(pwq_cache, pwq); in ep_unregister_pollwait()
1321 struct eppoll_entry *pwq; in ep_ptable_queue_proc() local
1323 if (epi->nwait >= 0 && (pwq = kmem_cache_alloc(pwq_cache, GFP_KERNEL))) { in ep_ptable_queue_proc()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dpoll.h113 extern void poll_initwait(struct poll_wqueues *pwq);
114 extern void poll_freewait(struct poll_wqueues *pwq);
/kernel/linux/linux-5.10/Documentation/RCU/
Dlockdep.rst114 #define for_each_pwq(pwq, wq)
115 list_for_each_entry_rcu((pwq), &(wq)->pwqs, pwqs_node,