Home
last modified time | relevance | path

Searched refs:work_list (Results 1 – 25 of 49) sorted by relevance

12

/linux-6.3-rc2/tools/perf/
A Dbuiltin-sched.c130 struct list_head work_list; member
1048 INIT_LIST_HEAD(&atoms->work_list); in thread_atoms_insert()
1102 if (list_empty(&atoms->work_list)) in add_sched_in_event()
1351 if (!work_list->nb_atoms) in output_lat_thread()
1362 if (work_list->num_merged > 1) in output_lat_thread()
1363 ret = printf(" %s:(%d) ", thread__comm_str(work_list->thread), work_list->num_merged); in output_lat_thread()
1365 ret = printf(" %s:%d ", thread__comm_str(work_list->thread), work_list->thread->tid); in output_lat_thread()
1370 avg = work_list->total_lat / work_list->nb_atoms; in output_lat_thread()
3167 list_splice(&data->work_list, &this->work_list); in __merge_work_atoms()
3217 struct work_atoms *work_list; in perf_sched__lat() local
[all …]
/linux-6.3-rc2/drivers/dma/idxd/
A Dirq.c113 list_add_tail(&d->list, &ie->work_list); in idxd_abort_invalid_int_handle_descs()
116 list_for_each_entry_safe(d, t, &ie->work_list, list) { in idxd_abort_invalid_int_handle_descs()
428 &irq_entry->work_list); in irq_process_pending_llist()
444 if (list_empty(&irq_entry->work_list)) { in irq_process_work_list()
449 list_for_each_entry_safe(desc, n, &irq_entry->work_list, list) { in irq_process_work_list()
A Dsubmit.c79 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.3-rc2/kernel/
A Dkthread.c763 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.3-rc2/drivers/block/drbd/
A Ddrbd_worker.c2072 list_splice_tail_init(&queue->q, work_list); in dequeue_work_batch()
2074 return !list_empty(work_list); in dequeue_work_batch()
2083 dequeue_work_batch(&connection->sender_work, work_list); in wait_for_work()
2084 if (!list_empty(work_list)) in wait_for_work()
2112 if (!list_empty(work_list) || signal_pending(current)) { in wait_for_work()
2167 LIST_HEAD(work_list); in drbd_worker()
2173 if (list_empty(&work_list)) { in drbd_worker()
2175 wait_for_work(connection, &work_list); in drbd_worker()
2195 if (!list_empty(&work_list)) { in drbd_worker()
2196 w = list_first_entry(&work_list, struct drbd_work, list); in drbd_worker()
[all …]
/linux-6.3-rc2/drivers/infiniband/core/
A Diwcm.c215 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()
A Diwcm.h53 struct list_head work_list; member
/linux-6.3-rc2/io_uring/
A Dio-wq.c82 struct io_wq_work_list work_list; member
247 if (!wq_list_empty(&acct->work_list) && in io_acct_run_queue()
475 wq_list_for_each(node, prev, &acct->work_list) { in io_get_next_work()
482 wq_list_del(&acct->work_list, node, prev); in io_get_next_work()
493 wq_list_cut(&acct->work_list, &tail->list, prev); in io_get_next_work()
891 wq_list_add_tail(&work->list, &acct->work_list); in io_wqe_insert_work()
901 wq_list_add_after(&work->list, &tail->list, &acct->work_list); in io_wqe_insert_work()
1027 wq_list_del(&acct->work_list, &work->list, prev); in io_wqe_remove_pending()
1038 wq_list_for_each(node, prev, &acct->work_list) { in io_acct_cancel_pending_work()
1188 INIT_WQ_LIST(&acct->work_list); in io_wq_create()
/linux-6.3-rc2/sound/soc/fsl/
A Dimx-pcm-rpmsg.h496 struct work_of_rpmsg work_list[WORK_MAX_NUM]; member
A Dimx-pcm-rpmsg.c122 memcpy(&info->work_list[index].msg, msg, in imx_rpmsg_insert_workqueue()
125 queue_work(info->rpmsg_wq, &info->work_list[index].work); in imx_rpmsg_insert_workqueue()
699 INIT_WORK(&info->work_list[i].work, imx_rpmsg_pcm_work); in imx_rpmsg_pcm_probe()
700 info->work_list[i].info = info; in imx_rpmsg_pcm_probe()
/linux-6.3-rc2/drivers/dma/
A Dpl330.c423 struct list_head work_list; member
2041 list_for_each_entry(desc, &pch->work_list, node) { in fill_queue()
2073 list_for_each_entry_safe(desc, _dt, &pch->work_list, node) in pl330_tasklet()
2083 if (list_empty(&pch->work_list)) { in pl330_tasklet()
2106 list_move_tail(&desc->node, &pch->work_list); in pl330_tasklet()
2301 list_for_each_entry(desc, &pch->work_list , node) { in pl330_terminate_all()
2307 list_splice_tail_init(&pch->work_list, &pl330->desc_pool); in pl330_terminate_all()
2422 list_for_each_entry(desc, &pch->work_list, node) { in pl330_tx_status()
2472 if (list_empty(&pch->work_list)) { in pl330_issue_pending()
2482 list_splice_tail_init(&pch->submitted_list, &pch->work_list); in pl330_issue_pending()
[all …]
/linux-6.3-rc2/drivers/scsi/bnx2i/
A Dbnx2i_init.c444 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()
A Dbnx2i_hwi.c1856 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()
A Dbnx2i.h779 struct list_head work_list; member
/linux-6.3-rc2/include/linux/
A Dbacking-dev-defs.h140 struct list_head work_list; member
A Dkthread.h125 struct list_head work_list; member
/linux-6.3-rc2/fs/btrfs/
A Dordered-data.h153 struct list_head work_list; member
A Dordered-data.c224 INIT_LIST_HEAD(&entry->work_list); in btrfs_add_ordered_extent()
659 list_add_tail(&ordered->work_list, &works); in btrfs_wait_ordered_extents()
672 list_for_each_entry_safe(ordered, next, &works, work_list) { in btrfs_wait_ordered_extents()
673 list_del_init(&ordered->work_list); in btrfs_wait_ordered_extents()
/linux-6.3-rc2/drivers/scsi/qedi/
A Dqedi_main.c1235 list_add_tail(&qedi_cmd->cqe_work.list, &p->work_list); in qedi_queue_cqe()
1250 list_add_tail(&qedi_work->list, &p->work_list); in qedi_queue_cqe()
1929 LIST_HEAD(work_list); in qedi_percpu_io_thread()
1935 while (!list_empty(&p->work_list)) { in qedi_percpu_io_thread()
1936 list_splice_init(&p->work_list, &work_list); in qedi_percpu_io_thread()
1939 list_for_each_entry_safe(work, tmp, &work_list, list) { in qedi_percpu_io_thread()
1984 list_for_each_entry_safe(work, tmp, &p->work_list, list) { in qedi_cpu_offline()
2894 INIT_LIST_HEAD(&p->work_list); in qedi_init()
A Dqedi.h380 struct list_head work_list; member
/linux-6.3-rc2/fs/
A Dfs-writeback.c171 list_add_tail(&work->list, &wb->work_list); in wb_queue_work()
2039 !list_empty(&wb->work_list)) in wb_writeback()
2112 if (!list_empty(&wb->work_list)) { in get_next_work_item()
2113 work = list_entry(wb->work_list.next, in get_next_work_item()
2250 } while (!list_empty(&wb->work_list)); in wb_workfn()
2262 if (!list_empty(&wb->work_list)) in wb_workfn()
/linux-6.3-rc2/drivers/scsi/bnx2fc/
A Dbnx2fc_fcoe.c649 LIST_HEAD(work_list); in bnx2fc_percpu_io_thread()
656 while (!list_empty(&p->work_list)) { in bnx2fc_percpu_io_thread()
657 list_splice_init(&p->work_list, &work_list); in bnx2fc_percpu_io_thread()
660 list_for_each_entry_safe(work, tmp, &work_list, list) { in bnx2fc_percpu_io_thread()
2644 list_for_each_entry_safe(work, tmp, &p->work_list, list) { in bnx2fc_cpu_offline()
2724 INIT_LIST_HEAD(&p->work_list); in bnx2fc_mod_init()
/linux-6.3-rc2/drivers/vhost/
A Dvhost.h150 struct llist_head work_list; member
A Dvhost.c258 llist_add(&work->node, &dev->work_list); in vhost_work_queue()
267 return !llist_empty(&dev->work_list); in vhost_has_work()
353 node = llist_del_all(&dev->work_list); in vhost_worker()
482 init_llist_head(&dev->work_list); in vhost_dev_init()
708 WARN_ON(!llist_empty(&dev->work_list)); in vhost_dev_cleanup()
/linux-6.3-rc2/mm/
A Dbacking-dev.c432 INIT_LIST_HEAD(&wb->work_list); in wb_init()
479 WARN_ON(!list_empty(&wb->work_list)); in wb_shutdown()

Completed in 84 milliseconds

12