Home
last modified time | relevance | path

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

/Linux-v5.15/kernel/
Dworkqueue.c377 static void show_pwq(struct pool_workqueue *pwq);
442 #define for_each_pwq(pwq, wq) \ argument
443 list_for_each_entry_rcu((pwq), &(wq)->pwqs, pwqs_node, \
637 static void set_work_pwq(struct work_struct *work, struct pool_workqueue *pwq, in set_work_pwq() argument
640 set_work_data(work, (unsigned long)pwq, in set_work_pwq()
1105 static void get_pwq(struct pool_workqueue *pwq) in get_pwq() argument
1107 lockdep_assert_held(&pwq->pool->lock); in get_pwq()
1108 WARN_ON_ONCE(pwq->refcnt <= 0); in get_pwq()
1109 pwq->refcnt++; in get_pwq()
1119 static void put_pwq(struct pool_workqueue *pwq) in put_pwq() argument
[all …]
/Linux-v5.15/include/trace/events/
Dworkqueue.h25 TP_PROTO(unsigned int req_cpu, struct pool_workqueue *pwq,
28 TP_ARGS(req_cpu, pwq, work),
33 __string( workqueue, pwq->wq->name)
41 __assign_str(workqueue, pwq->wq->name);
43 __entry->cpu = pwq->pool->cpu;
/Linux-v5.15/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.c532 static void ep_remove_wait_queue(struct eppoll_entry *pwq) in ep_remove_wait_queue() argument
543 whead = smp_load_acquire(&pwq->whead); in ep_remove_wait_queue()
545 remove_wait_queue(whead, &pwq->wait); in ep_remove_wait_queue()
557 struct eppoll_entry *pwq; in ep_unregister_pollwait() local
559 while ((pwq = *p) != NULL) { in ep_unregister_pollwait()
560 *p = pwq->next; in ep_unregister_pollwait()
561 ep_remove_wait_queue(pwq); in ep_unregister_pollwait()
562 kmem_cache_free(pwq_cache, pwq); in ep_unregister_pollwait()
1237 struct eppoll_entry *pwq; in ep_ptable_queue_proc() local
1242 pwq = kmem_cache_alloc(pwq_cache, GFP_KERNEL); in ep_ptable_queue_proc()
[all …]
/Linux-v5.15/include/linux/
Dpoll.h113 extern void poll_initwait(struct poll_wqueues *pwq);
114 extern void poll_freewait(struct poll_wqueues *pwq);
/Linux-v5.15/Documentation/RCU/
Dlockdep.rst114 #define for_each_pwq(pwq, wq)
115 list_for_each_entry_rcu((pwq), &(wq)->pwqs, pwqs_node,