Searched refs:pwq (Results 1 – 7 of 7) sorted by relevance
| /linux/kernel/ |
| H A D | workqueue.c | 533 static void show_pwq(struct pool_workqueue *pwq); 604 #define for_each_pwq(pwq, wq) \ argument 605 list_for_each_entry_rcu((pwq), &(wq)->pwqs, pwqs_node, \ 798 static void set_work_pwq(struct work_struct *work, struct pool_workqueue *pwq, in set_work_pwq() argument 801 set_work_data(work, (unsigned long)pwq | WORK_STRUCT_PENDING | in set_work_pwq() 1474 struct pool_workqueue *pwq = worker->current_pwq; in wq_worker_tick() local 1477 if (!pwq) in wq_worker_tick() 1480 pwq->stats[PWQ_STAT_CPU_TIME] += TICK_USEC; in wq_worker_tick() 1506 pwq->stats[PWQ_STAT_CPU_INTENSIVE]++; in wq_worker_tick() 1509 pwq->stats[PWQ_STAT_CM_WAKEUP]++; in wq_worker_tick() [all …]
|
| /linux/include/trace/events/ |
| H A D | workqueue.h | 25 TP_PROTO(int req_cpu, struct pool_workqueue *pwq, 28 TP_ARGS(req_cpu, pwq, work), 33 __string( workqueue, pwq->wq->name) 43 __entry->cpu = pwq->pool->cpu;
|
| /linux/fs/ |
| H A D | select.c | 119 void poll_initwait(struct poll_wqueues *pwq) in poll_initwait() argument 121 init_poll_funcptr(&pwq->pt, __pollwait); in poll_initwait() 122 pwq->polling_task = current; in poll_initwait() 123 pwq->triggered = 0; in poll_initwait() 124 pwq->error = 0; in poll_initwait() 125 pwq->table = NULL; in poll_initwait() 126 pwq->inline_index = 0; in poll_initwait() 136 void poll_freewait(struct poll_wqueues *pwq) in poll_freewait() argument 138 struct poll_table_page * p = pwq->table; in poll_freewait() 140 for (i = 0; i < pwq->inline_index; i++) in poll_freewait() [all …]
|
| H A D | eventpoll.c | 663 static void ep_remove_wait_queue(struct eppoll_entry *pwq) in ep_remove_wait_queue() argument 674 whead = smp_load_acquire(&pwq->whead); in ep_remove_wait_queue() 676 remove_wait_queue(whead, &pwq->wait); in ep_remove_wait_queue() 687 struct eppoll_entry *pwq; in ep_unregister_pollwait() local 689 while ((pwq = *p) != NULL) { in ep_unregister_pollwait() 690 *p = pwq->next; in ep_unregister_pollwait() 691 ep_remove_wait_queue(pwq); in ep_unregister_pollwait() 692 kmem_cache_free(pwq_cache, pwq); in ep_unregister_pollwait() 1363 struct eppoll_entry *pwq; in ep_ptable_queue_proc() local 1368 pwq = kmem_cache_alloc(pwq_cache, GFP_KERNEL); in ep_ptable_queue_proc() [all …]
|
| /linux/include/linux/ |
| H A D | poll.h | 105 extern void poll_initwait(struct poll_wqueues *pwq); 106 extern void poll_freewait(struct poll_wqueues *pwq);
|
| /linux/tools/workqueue/ |
| H A D | wq_monitor.py | 75 for pwq in list_for_each_entry('struct pool_workqueue', wq.pwqs.address_of_(), 'pwqs_node'): 77 self.stats[i] += int(pwq.stats[i])
|
| /linux/Documentation/RCU/ |
| H A D | lockdep.rst | 117 #define for_each_pwq(pwq, wq) 118 list_for_each_entry_rcu((pwq), &(wq)->pwqs, pwqs_node,
|