/linux/tools/perf/ |
A D | builtin-sched.c | 129 struct list_head work_list; member 1026 INIT_LIST_HEAD(&atoms->work_list); in thread_atoms_insert() 1080 if (list_empty(&atoms->work_list)) in add_sched_in_event() 1329 if (!work_list->nb_atoms) in output_lat_thread() 1340 if (work_list->num_merged > 1) in output_lat_thread() 1341 ret = printf(" %s:(%d) ", thread__comm_str(work_list->thread), work_list->num_merged); in output_lat_thread() 1343 ret = printf(" %s:%d ", thread__comm_str(work_list->thread), work_list->thread->tid); in output_lat_thread() 1348 avg = work_list->total_lat / work_list->nb_atoms; in output_lat_thread() 3138 list_splice(&data->work_list, &this->work_list); in __merge_work_atoms() 3188 struct work_atoms *work_list; in perf_sched__lat() local [all …]
|
/linux/include/linux/ |
A D | kthread.h | 97 struct list_head work_list; member 118 .work_list = LIST_HEAD_INIT((worker).work_list), \
|
A D | backing-dev-defs.h | 147 struct list_head work_list; member
|
/linux/drivers/block/drbd/ |
A D | drbd_worker.c | 2077 list_splice_tail_init(&queue->q, work_list); in dequeue_work_batch() 2079 return !list_empty(work_list); in dequeue_work_batch() 2088 dequeue_work_batch(&connection->sender_work, work_list); in wait_for_work() 2089 if (!list_empty(work_list)) in wait_for_work() 2117 if (!list_empty(work_list) || signal_pending(current)) { in wait_for_work() 2172 LIST_HEAD(work_list); in drbd_worker() 2178 if (list_empty(&work_list)) { in drbd_worker() 2180 wait_for_work(connection, &work_list); in drbd_worker() 2200 if (!list_empty(&work_list)) { in drbd_worker() 2201 w = list_first_entry(&work_list, struct drbd_work, list); in drbd_worker() [all …]
|
/linux/kernel/ |
A D | kthread.c | 702 INIT_LIST_HEAD(&worker->work_list); in __kthread_init_worker() 750 if (!list_empty(&worker->work_list)) { in kthread_worker_fn() 751 work = list_first_entry(&worker->work_list, in kthread_worker_fn() 942 kthread_insert_work(worker, work, &worker->work_list); in kthread_queue_work() 980 kthread_insert_work(worker, work, &worker->work_list); in kthread_delayed_work_timer_fn() 1003 kthread_insert_work(worker, work, &worker->work_list); in __kthread_queue_delayed_work() 1090 worker->work_list.next); in kthread_flush_work() 1336 WARN_ON(!list_empty(&worker->work_list)); in kthread_destroy_worker()
|
/linux/drivers/dma/idxd/ |
A D | irq.c | 206 &irq_entry->work_list); in irq_process_pending_llist() 222 if (list_empty(&irq_entry->work_list)) { in irq_process_work_list() 227 list_for_each_entry_safe(desc, n, &irq_entry->work_list, list) { in irq_process_work_list()
|
A D | submit.c | 88 list_for_each_entry_safe(d, n, &ie->work_list, list) { in list_abort_desc() 128 list_add_tail(&d->list, &ie->work_list); in llist_abort_desc()
|
A D | init.c | 129 INIT_LIST_HEAD(&idxd->irq_entries[i].work_list); in idxd_setup_interrupts() 730 list_for_each_entry_safe(desc, iter, &ie->work_list, list) { in idxd_flush_work_list()
|
/linux/drivers/infiniband/core/ |
A 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()
|
A D | iwcm.h | 53 struct list_head work_list; member
|
/linux/fs/ |
A D | io-wq.c | 78 struct io_wq_work_list work_list; member 240 if (!wq_list_empty(&acct->work_list) && in io_acct_run_queue() 466 wq_list_for_each(node, prev, &acct->work_list) { in io_get_next_work() 473 wq_list_del(&acct->work_list, node, prev); in io_get_next_work() 484 wq_list_cut(&acct->work_list, &tail->list, prev); in io_get_next_work() 889 wq_list_add_tail(&work->list, &acct->work_list); in io_wqe_insert_work() 899 wq_list_add_after(&work->list, &tail->list, &acct->work_list); in io_wqe_insert_work() 1011 wq_list_del(&acct->work_list, &work->list, prev); in io_wqe_remove_pending() 1022 wq_list_for_each(node, prev, &acct->work_list) { in io_acct_cancel_pending_work() 1173 INIT_WQ_LIST(&acct->work_list); in io_wq_create()
|
A D | fs-writeback.c | 169 list_add_tail(&work->list, &wb->work_list); in wb_queue_work() 2028 !list_empty(&wb->work_list)) in wb_writeback() 2101 if (!list_empty(&wb->work_list)) { in get_next_work_item() 2102 work = list_entry(wb->work_list.next, in get_next_work_item() 2240 } while (!list_empty(&wb->work_list)); in wb_workfn() 2252 if (!list_empty(&wb->work_list)) in wb_workfn()
|
/linux/drivers/dma/ |
A D | pl330.c | 423 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/drivers/scsi/bnx2i/ |
A 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()
|
A 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()
|
/linux/sound/soc/fsl/ |
A D | imx-pcm-rpmsg.h | 496 struct work_of_rpmsg work_list[WORK_MAX_NUM]; member
|
A D | imx-pcm-rpmsg.c | 122 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() 701 INIT_WORK(&info->work_list[i].work, imx_rpmsg_pcm_work); in imx_rpmsg_pcm_probe() 702 info->work_list[i].info = info; in imx_rpmsg_pcm_probe()
|
/linux/fs/btrfs/ |
A D | ordered-data.c | 212 INIT_LIST_HEAD(&entry->work_list); in __btrfs_add_ordered_extent() 657 list_add_tail(&ordered->work_list, &works); in btrfs_wait_ordered_extents() 670 list_for_each_entry_safe(ordered, next, &works, work_list) { in btrfs_wait_ordered_extents() 671 list_del_init(&ordered->work_list); in btrfs_wait_ordered_extents()
|
A D | ordered-data.h | 141 struct list_head work_list; member
|
/linux/drivers/scsi/qedi/ |
A D | qedi_main.c | 1235 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() 1932 LIST_HEAD(work_list); in qedi_percpu_io_thread() 1938 while (!list_empty(&p->work_list)) { in qedi_percpu_io_thread() 1939 list_splice_init(&p->work_list, &work_list); in qedi_percpu_io_thread() 1942 list_for_each_entry_safe(work, tmp, &work_list, list) { in qedi_percpu_io_thread() 1987 list_for_each_entry_safe(work, tmp, &p->work_list, list) { in qedi_cpu_offline() 2897 INIT_LIST_HEAD(&p->work_list); in qedi_init()
|
A D | qedi.h | 380 struct list_head work_list; member
|
/linux/drivers/scsi/bnx2fc/ |
A D | bnx2fc_fcoe.c | 652 LIST_HEAD(work_list); in bnx2fc_percpu_io_thread() 659 while (!list_empty(&p->work_list)) { in bnx2fc_percpu_io_thread() 660 list_splice_init(&p->work_list, &work_list); in bnx2fc_percpu_io_thread() 663 list_for_each_entry_safe(work, tmp, &work_list, list) { in bnx2fc_percpu_io_thread() 2659 list_for_each_entry_safe(work, tmp, &p->work_list, list) { in bnx2fc_cpu_offline() 2740 INIT_LIST_HEAD(&p->work_list); in bnx2fc_mod_init()
|
/linux/drivers/vhost/ |
A D | vhost.h | 151 struct llist_head work_list; member
|
A D | vhost.c | 266 llist_add(&work->node, &dev->work_list); in vhost_work_queue() 275 return !llist_empty(&dev->work_list); in vhost_has_work() 361 node = llist_del_all(&dev->work_list); in vhost_worker() 490 init_llist_head(&dev->work_list); in vhost_dev_init() 715 WARN_ON(!llist_empty(&dev->work_list)); in vhost_dev_cleanup()
|
/linux/mm/ |
A D | backing-dev.c | 311 INIT_LIST_HEAD(&wb->work_list); in wb_init() 358 WARN_ON(!list_empty(&wb->work_list)); in wb_shutdown()
|