Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/
Dworkqueue.c378 static void show_pwq(struct pool_workqueue *pwq);
444 #define for_each_pwq(pwq, wq) \ argument
445 list_for_each_entry_rcu((pwq), &(wq)->pwqs, pwqs_node, \
639 static void set_work_pwq(struct work_struct *work, struct pool_workqueue *pwq, in set_work_pwq() argument
642 set_work_data(work, (unsigned long)pwq, in set_work_pwq()
1110 static void get_pwq(struct pool_workqueue *pwq) in get_pwq() argument
1112 lockdep_assert_held(&pwq->pool->lock); in get_pwq()
1113 WARN_ON_ONCE(pwq->refcnt <= 0); in get_pwq()
1114 pwq->refcnt++; in get_pwq()
1124 static void put_pwq(struct pool_workqueue *pwq) in put_pwq() argument
[all …]
/linux-6.1.9/include/trace/events/
Dworkqueue.h25 TP_PROTO(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-6.1.9/fs/
Dselect.c122 void poll_initwait(struct poll_wqueues *pwq) in poll_initwait() argument
124 init_poll_funcptr(&pwq->pt, __pollwait); in poll_initwait()
125 pwq->polling_task = current; in poll_initwait()
126 pwq->triggered = 0; in poll_initwait()
127 pwq->error = 0; in poll_initwait()
128 pwq->table = NULL; in poll_initwait()
129 pwq->inline_index = 0; in poll_initwait()
139 void poll_freewait(struct poll_wqueues *pwq) in poll_freewait() argument
141 struct poll_table_page * p = pwq->table; in poll_freewait()
143 for (i = 0; i < pwq->inline_index; i++) in poll_freewait()
[all …]
Deventpoll.c541 static void ep_remove_wait_queue(struct eppoll_entry *pwq) in ep_remove_wait_queue() argument
552 whead = smp_load_acquire(&pwq->whead); in ep_remove_wait_queue()
554 remove_wait_queue(whead, &pwq->wait); in ep_remove_wait_queue()
566 struct eppoll_entry *pwq; in ep_unregister_pollwait() local
568 while ((pwq = *p) != NULL) { in ep_unregister_pollwait()
569 *p = pwq->next; in ep_unregister_pollwait()
570 ep_remove_wait_queue(pwq); in ep_unregister_pollwait()
571 kmem_cache_free(pwq_cache, pwq); in ep_unregister_pollwait()
1246 struct eppoll_entry *pwq; in ep_ptable_queue_proc() local
1251 pwq = kmem_cache_alloc(pwq_cache, GFP_KERNEL); in ep_ptable_queue_proc()
[all …]
/linux-6.1.9/include/linux/
Dpoll.h111 extern void poll_initwait(struct poll_wqueues *pwq);
112 extern void poll_freewait(struct poll_wqueues *pwq);
/linux-6.1.9/Documentation/RCU/
Dlockdep.rst114 #define for_each_pwq(pwq, wq)
115 list_for_each_entry_rcu((pwq), &(wq)->pwqs, pwqs_node,