/linux-6.6.21/tools/perf/ |
D | builtin-sched.c | 130 struct list_head work_list; member 1048 INIT_LIST_HEAD(&atoms->work_list); in thread_atoms_insert() 1078 list_add_tail(&atom->list, &atoms->work_list); in add_sched_out_event() 1088 BUG_ON(list_empty(&atoms->work_list)); in add_runtime_event() 1090 atom = list_entry(atoms->work_list.prev, struct work_atom, list); in add_runtime_event() 1102 if (list_empty(&atoms->work_list)) in add_sched_in_event() 1105 atom = list_entry(atoms->work_list.prev, struct work_atom, list); in add_sched_in_event() 1261 BUG_ON(list_empty(&atoms->work_list)); in latency_wakeup_event() 1263 atom = list_entry(atoms->work_list.prev, struct work_atom, list); in latency_wakeup_event() 1329 BUG_ON(list_empty(&atoms->work_list)); in latency_migrate_task_event() [all …]
|
/linux-6.6.21/kernel/ |
D | kthread.c | 763 INIT_LIST_HEAD(&worker->work_list); in __kthread_init_worker() 811 if (!list_empty(&worker->work_list)) { in kthread_worker_fn() 812 work = list_first_entry(&worker->work_list, in kthread_worker_fn() 1003 kthread_insert_work(worker, work, &worker->work_list); in kthread_queue_work() 1041 kthread_insert_work(worker, work, &worker->work_list); in kthread_delayed_work_timer_fn() 1063 kthread_insert_work(worker, work, &worker->work_list); in __kthread_queue_delayed_work() 1150 worker->work_list.next); in kthread_flush_work() 1401 WARN_ON(!list_empty(&worker->work_list)); in kthread_destroy_worker()
|
/linux-6.6.21/drivers/infiniband/core/ |
D | iwcm.c | 215 BUG_ON(!list_empty(&cm_id_priv->work_list)); in iwcm_deref_id() 262 INIT_LIST_HEAD(&cm_id_priv->work_list); in iw_create_cm_id() 1025 empty = list_empty(&cm_id_priv->work_list); in cm_work_handler() 1027 work = list_entry(cm_id_priv->work_list.next, in cm_work_handler() 1030 empty = list_empty(&cm_id_priv->work_list); in cm_work_handler() 1097 if (list_empty(&cm_id_priv->work_list)) { in cm_event_handler() 1098 list_add_tail(&work->list, &cm_id_priv->work_list); in cm_event_handler() 1101 list_add_tail(&work->list, &cm_id_priv->work_list); in cm_event_handler()
|
D | iwcm.h | 53 struct list_head work_list; member
|
/linux-6.6.21/drivers/block/drbd/ |
D | drbd_worker.c | 2077 static bool dequeue_work_batch(struct drbd_work_queue *queue, struct list_head *work_list) in dequeue_work_batch() argument 2080 list_splice_tail_init(&queue->q, work_list); in dequeue_work_batch() 2082 return !list_empty(work_list); in dequeue_work_batch() 2085 static void wait_for_work(struct drbd_connection *connection, struct list_head *work_list) in wait_for_work() argument 2091 dequeue_work_batch(&connection->sender_work, work_list); in wait_for_work() 2092 if (!list_empty(work_list)) in wait_for_work() 2118 list_splice_tail_init(&connection->sender_work.q, work_list); in wait_for_work() 2120 if (!list_empty(work_list) || signal_pending(current)) { in wait_for_work() 2175 LIST_HEAD(work_list); in drbd_worker() 2181 if (list_empty(&work_list)) { in drbd_worker() [all …]
|
/linux-6.6.21/io_uring/ |
D | io-wq.c | 83 struct io_wq_work_list work_list; member 248 !wq_list_empty(&acct->work_list); in __io_acct_run_queue() 484 wq_list_for_each(node, prev, &acct->work_list) { in io_get_next_work() 491 wq_list_del(&acct->work_list, node, prev); in io_get_next_work() 502 wq_list_cut(&acct->work_list, &tail->list, prev); in io_get_next_work() 906 wq_list_add_tail(&work->list, &acct->work_list); in io_wq_insert_work() 916 wq_list_add_after(&work->list, &tail->list, &acct->work_list); in io_wq_insert_work() 1032 wq_list_del(&acct->work_list, &work->list, prev); in io_wq_remove_pending() 1043 wq_list_for_each(node, prev, &acct->work_list) { in io_acct_cancel_pending_work() 1175 INIT_WQ_LIST(&acct->work_list); in io_wq_create()
|
/linux-6.6.21/drivers/dma/idxd/ |
D | irq.c | 115 list_add_tail(&d->list, &ie->work_list); in idxd_abort_invalid_int_handle_descs() 118 list_for_each_entry_safe(d, t, &ie->work_list, list) { in idxd_abort_invalid_int_handle_descs() 585 &irq_entry->work_list); in irq_process_pending_llist() 601 if (list_empty(&irq_entry->work_list)) { in irq_process_work_list() 606 list_for_each_entry_safe(desc, n, &irq_entry->work_list, list) { in irq_process_work_list()
|
D | submit.c | 79 list_for_each_entry_safe(d, n, &ie->work_list, list) { in list_abort_desc() 119 list_add_tail(&d->list, &ie->work_list); in llist_abort_desc()
|
/linux-6.6.21/drivers/dma/ |
D | pl330.c | 429 struct list_head work_list; member 2047 list_for_each_entry(desc, &pch->work_list, node) { in fill_queue() 2079 list_for_each_entry_safe(desc, _dt, &pch->work_list, node) in pl330_tasklet() 2089 if (list_empty(&pch->work_list)) { in pl330_tasklet() 2112 list_move_tail(&desc->node, &pch->work_list); in pl330_tasklet() 2307 list_for_each_entry(desc, &pch->work_list , node) { in pl330_terminate_all() 2313 list_splice_tail_init(&pch->work_list, &pl330->desc_pool); in pl330_terminate_all() 2345 list_for_each_entry(desc, &pch->work_list, node) { in pl330_pause() 2371 list_splice_tail_init(&pch->work_list, &pch->dmac->desc_pool); in pl330_free_chan_resources() 2433 list_for_each_entry(desc, &pch->work_list, node) { in pl330_tx_status() [all …]
|
/linux-6.6.21/sound/soc/fsl/ |
D | imx-pcm-rpmsg.h | 496 struct work_of_rpmsg work_list[WORK_MAX_NUM]; member
|
D | imx-pcm-rpmsg.c | 123 memcpy(&info->work_list[index].msg, msg, in imx_rpmsg_insert_workqueue() 126 queue_work(info->rpmsg_wq, &info->work_list[index].work); in imx_rpmsg_insert_workqueue() 704 INIT_WORK(&info->work_list[i].work, imx_rpmsg_pcm_work); in imx_rpmsg_pcm_probe() 705 info->work_list[i].info = info; in imx_rpmsg_pcm_probe()
|
/linux-6.6.21/drivers/scsi/bnx2i/ |
D | bnx2i_init.c | 444 list_for_each_entry_safe(work, tmp, &p->work_list, list) { in bnx2i_cpu_offline() 494 INIT_LIST_HEAD(&p->work_list); in bnx2i_mod_init()
|
D | bnx2i_hwi.c | 1856 LIST_HEAD(work_list); in bnx2i_percpu_io_thread() 1862 while (!list_empty(&p->work_list)) { in bnx2i_percpu_io_thread() 1863 list_splice_init(&p->work_list, &work_list); in bnx2i_percpu_io_thread() 1866 list_for_each_entry_safe(work, tmp, &work_list, list) { in bnx2i_percpu_io_thread() 1934 list_add_tail(&bnx2i_work->list, &p->work_list); in bnx2i_queue_scsi_cmd_resp()
|
D | bnx2i.h | 779 struct list_head work_list; member
|
/linux-6.6.21/include/linux/ |
D | backing-dev-defs.h | 140 struct list_head work_list; member
|
D | kthread.h | 125 struct list_head work_list; member
|
/linux-6.6.21/fs/btrfs/ |
D | ordered-data.h | 153 struct list_head work_list; member
|
D | ordered-data.c | 194 INIT_LIST_HEAD(&entry->work_list); in alloc_ordered_extent() 718 list_add_tail(&ordered->work_list, &works); in btrfs_wait_ordered_extents() 731 list_for_each_entry_safe(ordered, next, &works, work_list) { in btrfs_wait_ordered_extents() 732 list_del_init(&ordered->work_list); in btrfs_wait_ordered_extents()
|
/linux-6.6.21/drivers/scsi/qedi/ |
D | qedi_main.c | 1236 list_add_tail(&qedi_cmd->cqe_work.list, &p->work_list); in qedi_queue_cqe() 1251 list_add_tail(&qedi_work->list, &p->work_list); in qedi_queue_cqe() 1930 LIST_HEAD(work_list); in qedi_percpu_io_thread() 1936 while (!list_empty(&p->work_list)) { in qedi_percpu_io_thread() 1937 list_splice_init(&p->work_list, &work_list); in qedi_percpu_io_thread() 1940 list_for_each_entry_safe(work, tmp, &work_list, list) { in qedi_percpu_io_thread() 1986 list_for_each_entry_safe(work, tmp, &p->work_list, list) { in qedi_cpu_offline() 2916 INIT_LIST_HEAD(&p->work_list); in qedi_init()
|
D | qedi.h | 380 struct list_head work_list; member
|
/linux-6.6.21/fs/ |
D | fs-writeback.c | 171 list_add_tail(&work->list, &wb->work_list); in wb_queue_work() 2063 !list_empty(&wb->work_list)) in wb_writeback() 2143 if (!list_empty(&wb->work_list)) { in get_next_work_item() 2144 work = list_entry(wb->work_list.next, in get_next_work_item() 2281 } while (!list_empty(&wb->work_list)); in wb_workfn() 2293 if (!list_empty(&wb->work_list)) in wb_workfn()
|
/linux-6.6.21/drivers/scsi/bnx2fc/ |
D | bnx2fc_fcoe.c | 646 LIST_HEAD(work_list); in bnx2fc_percpu_io_thread() 653 while (!list_empty(&p->work_list)) { in bnx2fc_percpu_io_thread() 654 list_splice_init(&p->work_list, &work_list); in bnx2fc_percpu_io_thread() 657 list_for_each_entry_safe(work, tmp, &work_list, list) { in bnx2fc_percpu_io_thread() 2641 list_for_each_entry_safe(work, tmp, &p->work_list, list) { in bnx2fc_cpu_offline() 2721 INIT_LIST_HEAD(&p->work_list); in bnx2fc_mod_init()
|
/linux-6.6.21/drivers/vhost/ |
D | vhost.h | 33 struct llist_head work_list; member
|
D | vhost.c | 244 llist_add(&work->node, &worker->work_list); in vhost_worker_queue() 321 if (worker && !llist_empty(&worker->work_list)) in vhost_vq_has_work() 401 node = llist_del_all(&worker->work_list); in vhost_worker() 597 WARN_ON(!llist_empty(&worker->work_list)); in vhost_worker_destroy() 641 init_llist_head(&worker->work_list); in vhost_worker_create() 700 !llist_empty(&old_worker->work_list)); in __vhost_vq_attach_worker()
|
/linux-6.6.21/mm/ |
D | backing-dev.c | 436 INIT_LIST_HEAD(&wb->work_list); in wb_init() 482 WARN_ON(!list_empty(&wb->work_list)); in wb_shutdown()
|