Searched refs:pwq (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/kernel/ |
D | workqueue.c | 440 static void show_pwq(struct pool_workqueue *pwq); 506 #define for_each_pwq(pwq, wq) \ argument 507 list_for_each_entry_rcu((pwq), &(wq)->pwqs, pwqs_node, \ 672 static void set_work_pwq(struct work_struct *work, struct pool_workqueue *pwq, in set_work_pwq() argument 675 set_work_data(work, (unsigned long)pwq, in set_work_pwq() 1327 struct pool_workqueue *pwq = worker->current_pwq; in wq_worker_tick() local 1330 if (!pwq) in wq_worker_tick() 1333 pwq->stats[PWQ_STAT_CPU_TIME] += TICK_USEC; in wq_worker_tick() 1359 pwq->stats[PWQ_STAT_CPU_INTENSIVE]++; in wq_worker_tick() 1362 pwq->stats[PWQ_STAT_CM_WAKEUP]++; in wq_worker_tick() [all …]
|
/linux-6.6.21/include/trace/events/ |
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) 41 __assign_str(workqueue, pwq->wq->name); 43 __entry->cpu = pwq->pool->cpu;
|
/linux-6.6.21/fs/ |
D | select.c | 122 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 …]
|
D | eventpoll.c | 546 static void ep_remove_wait_queue(struct eppoll_entry *pwq) in ep_remove_wait_queue() argument 557 whead = smp_load_acquire(&pwq->whead); in ep_remove_wait_queue() 559 remove_wait_queue(whead, &pwq->wait); in ep_remove_wait_queue() 570 struct eppoll_entry *pwq; in ep_unregister_pollwait() local 572 while ((pwq = *p) != NULL) { in ep_unregister_pollwait() 573 *p = pwq->next; in ep_unregister_pollwait() 574 ep_remove_wait_queue(pwq); in ep_unregister_pollwait() 575 kmem_cache_free(pwq_cache, pwq); in ep_unregister_pollwait() 1277 struct eppoll_entry *pwq; in ep_ptable_queue_proc() local 1282 pwq = kmem_cache_alloc(pwq_cache, GFP_KERNEL); in ep_ptable_queue_proc() [all …]
|
/linux-6.6.21/include/linux/ |
D | poll.h | 111 extern void poll_initwait(struct poll_wqueues *pwq); 112 extern void poll_freewait(struct poll_wqueues *pwq);
|
/linux-6.6.21/tools/workqueue/ |
D | wq_monitor.py | 82 for pwq in list_for_each_entry('struct pool_workqueue', wq.pwqs.address_of_(), 'pwqs_node'): 84 self.stats[i] += int(pwq.stats[i])
|
/linux-6.6.21/Documentation/RCU/ |
D | lockdep.rst | 117 #define for_each_pwq(pwq, wq) 118 list_for_each_entry_rcu((pwq), &(wq)->pwqs, pwqs_node,
|