Home
last modified time | relevance | path

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

/linux/kernel/
A Dworkqueue.c1146 if (pwq) { in put_pwq_unlocked()
1196 if (pwq->nr_active < pwq->max_active) in pwq_dec_nr_in_flight()
1298 if (pwq && pwq->pool == pool) { in try_to_grab_pending()
1505 pwq->nr_in_flight[pwq->work_color]++; in __queue_work()
1508 if (likely(pwq->nr_active < pwq->max_active)) { in __queue_work()
3031 if (pwq) { in start_flush_work()
3777 pwq->nr_active < pwq->max_active) { in pwq_adjust_max_active()
3803 memset(pwq, 0, sizeof(*pwq)); in init_pwq()
3850 if (!pwq) { in alloc_unbound_pwq()
4394 if ((pwq != pwq->wq->dfl_pwq) && (pwq->refcnt > 1)) in pwq_busy()
[all …]
/linux/include/trace/events/
A 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/fs/
A Dselect.c123 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()
142 for (i = 0; i < pwq->inline_index; i++) in poll_freewait()
197 pwq->triggered = 1; in __pollwake()
232 entry->wait.private = pwq; in __pollwait()
242 if (!pwq->triggered) in poll_schedule_timeout()
[all …]
A Deventpoll.c557 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
1243 if (unlikely(!pwq)) { in ep_ptable_queue_proc()
1249 pwq->whead = whead; in ep_ptable_queue_proc()
1250 pwq->base = epi; in ep_ptable_queue_proc()
1255 pwq->next = epi->pwqlist; in ep_ptable_queue_proc()
[all …]
/linux/include/linux/
A Dpoll.h113 extern void poll_initwait(struct poll_wqueues *pwq);
114 extern void poll_freewait(struct poll_wqueues *pwq);
/linux/Documentation/RCU/
A Dlockdep.rst114 #define for_each_pwq(pwq, wq)
115 list_for_each_entry_rcu((pwq), &(wq)->pwqs, pwqs_node,

Completed in 35 milliseconds