work_list 422 drivers/block/drbd/drbd_receiver.c LIST_HEAD(work_list); work_list 428 drivers/block/drbd/drbd_receiver.c list_splice_init(list, &work_list); work_list 431 drivers/block/drbd/drbd_receiver.c list_for_each_entry_safe(peer_req, t, &work_list, w.list) { work_list 443 drivers/block/drbd/drbd_receiver.c LIST_HEAD(work_list); work_list 450 drivers/block/drbd/drbd_receiver.c list_splice_init(&device->done_ee, &work_list); work_list 460 drivers/block/drbd/drbd_receiver.c list_for_each_entry_safe(peer_req, t, &work_list, w.list) { work_list 2069 drivers/block/drbd/drbd_worker.c static bool dequeue_work_batch(struct drbd_work_queue *queue, struct list_head *work_list) work_list 2072 drivers/block/drbd/drbd_worker.c list_splice_tail_init(&queue->q, work_list); work_list 2074 drivers/block/drbd/drbd_worker.c return !list_empty(work_list); work_list 2077 drivers/block/drbd/drbd_worker.c static void wait_for_work(struct drbd_connection *connection, struct list_head *work_list) work_list 2083 drivers/block/drbd/drbd_worker.c dequeue_work_batch(&connection->sender_work, work_list); work_list 2084 drivers/block/drbd/drbd_worker.c if (!list_empty(work_list)) work_list 2110 drivers/block/drbd/drbd_worker.c list_splice_tail_init(&connection->sender_work.q, work_list); work_list 2112 drivers/block/drbd/drbd_worker.c if (!list_empty(work_list) || signal_pending(current)) { work_list 2167 drivers/block/drbd/drbd_worker.c LIST_HEAD(work_list); work_list 2173 drivers/block/drbd/drbd_worker.c if (list_empty(&work_list)) { work_list 2175 drivers/block/drbd/drbd_worker.c wait_for_work(connection, &work_list); work_list 2195 drivers/block/drbd/drbd_worker.c if (!list_empty(&work_list)) { work_list 2196 drivers/block/drbd/drbd_worker.c w = list_first_entry(&work_list, struct drbd_work, list); work_list 2211 drivers/block/drbd/drbd_worker.c if (!list_empty(&work_list)) { work_list 2212 drivers/block/drbd/drbd_worker.c w = list_first_entry(&work_list, struct drbd_work, list); work_list 2217 drivers/block/drbd/drbd_worker.c dequeue_work_batch(&connection->sender_work, &work_list); work_list 2218 drivers/block/drbd/drbd_worker.c } while (!list_empty(&work_list) || test_bit(DEVICE_WORK_PENDING, &connection->flags)); work_list 422 drivers/dma/pl330.c struct list_head work_list; work_list 2035 drivers/dma/pl330.c list_for_each_entry(desc, &pch->work_list, node) { work_list 2067 drivers/dma/pl330.c list_for_each_entry_safe(desc, _dt, &pch->work_list, node) work_list 2077 drivers/dma/pl330.c if (list_empty(&pch->work_list)) { work_list 2100 drivers/dma/pl330.c list_move_tail(&desc->node, &pch->work_list); work_list 2297 drivers/dma/pl330.c list_for_each_entry(desc, &pch->work_list , node) { work_list 2303 drivers/dma/pl330.c list_splice_tail_init(&pch->work_list, &pl330->desc_pool); work_list 2356 drivers/dma/pl330.c list_splice_tail_init(&pch->work_list, &pch->dmac->desc_pool); work_list 2418 drivers/dma/pl330.c list_for_each_entry(desc, &pch->work_list, node) { work_list 2468 drivers/dma/pl330.c if (list_empty(&pch->work_list)) { work_list 2478 drivers/dma/pl330.c list_splice_tail_init(&pch->submitted_list, &pch->work_list); work_list 3104 drivers/dma/pl330.c INIT_LIST_HEAD(&pch->work_list); work_list 303 drivers/infiniband/core/cm.c struct list_head work_list; work_list 868 drivers/infiniband/core/cm.c INIT_LIST_HEAD(&cm_id_priv->work_list); work_list 894 drivers/infiniband/core/cm.c if (list_empty(&cm_id_priv->work_list)) work_list 897 drivers/infiniband/core/cm.c work = list_entry(cm_id_priv->work_list.next, struct cm_work, list); work_list 2369 drivers/infiniband/core/cm.c list_add_tail(&work->list, &cm_id_priv->work_list); work_list 2402 drivers/infiniband/core/cm.c list_add_tail(&work->list, &cm_id_priv->work_list); work_list 2442 drivers/infiniband/core/cm.c list_add_tail(&work->list, &cm_id_priv->work_list); work_list 2677 drivers/infiniband/core/cm.c list_add_tail(&work->list, &cm_id_priv->work_list); work_list 2716 drivers/infiniband/core/cm.c list_add_tail(&work->list, &cm_id_priv->work_list); work_list 2894 drivers/infiniband/core/cm.c list_add_tail(&work->list, &cm_id_priv->work_list); work_list 3065 drivers/infiniband/core/cm.c list_add_tail(&work->list, &cm_id_priv->work_list); work_list 3297 drivers/infiniband/core/cm.c list_add_tail(&work->list, &cm_id_priv->work_list); work_list 3414 drivers/infiniband/core/cm.c list_add_tail(&work->list, &cm_id_priv->work_list); work_list 3452 drivers/infiniband/core/cm.c list_add_tail(&work->list, &cm_id_priv->work_list); work_list 216 drivers/infiniband/core/iwcm.c BUG_ON(!list_empty(&cm_id_priv->work_list)); work_list 263 drivers/infiniband/core/iwcm.c INIT_LIST_HEAD(&cm_id_priv->work_list); work_list 1026 drivers/infiniband/core/iwcm.c empty = list_empty(&cm_id_priv->work_list); work_list 1028 drivers/infiniband/core/iwcm.c work = list_entry(cm_id_priv->work_list.next, work_list 1031 drivers/infiniband/core/iwcm.c empty = list_empty(&cm_id_priv->work_list); work_list 1098 drivers/infiniband/core/iwcm.c if (list_empty(&cm_id_priv->work_list)) { work_list 1099 drivers/infiniband/core/iwcm.c list_add_tail(&work->list, &cm_id_priv->work_list); work_list 1102 drivers/infiniband/core/iwcm.c list_add_tail(&work->list, &cm_id_priv->work_list); work_list 53 drivers/infiniband/core/iwcm.h struct list_head work_list; work_list 174 drivers/scsi/bnx2fc/bnx2fc.h struct list_head work_list; work_list 650 drivers/scsi/bnx2fc/bnx2fc_fcoe.c LIST_HEAD(work_list); work_list 657 drivers/scsi/bnx2fc/bnx2fc_fcoe.c while (!list_empty(&p->work_list)) { work_list 658 drivers/scsi/bnx2fc/bnx2fc_fcoe.c list_splice_init(&p->work_list, &work_list); work_list 661 drivers/scsi/bnx2fc/bnx2fc_fcoe.c list_for_each_entry_safe(work, tmp, &work_list, list) { work_list 2656 drivers/scsi/bnx2fc/bnx2fc_fcoe.c list_for_each_entry_safe(work, tmp, &p->work_list, list) { work_list 2736 drivers/scsi/bnx2fc/bnx2fc_fcoe.c INIT_LIST_HEAD(&p->work_list); work_list 1015 drivers/scsi/bnx2fc/bnx2fc_hwi.c list_add_tail(&work->list, &fps->work_list); work_list 779 drivers/scsi/bnx2i/bnx2i.h struct list_head work_list; work_list 1855 drivers/scsi/bnx2i/bnx2i_hwi.c LIST_HEAD(work_list); work_list 1861 drivers/scsi/bnx2i/bnx2i_hwi.c while (!list_empty(&p->work_list)) { work_list 1862 drivers/scsi/bnx2i/bnx2i_hwi.c list_splice_init(&p->work_list, &work_list); work_list 1865 drivers/scsi/bnx2i/bnx2i_hwi.c list_for_each_entry_safe(work, tmp, &work_list, list) { work_list 1931 drivers/scsi/bnx2i/bnx2i_hwi.c list_add_tail(&bnx2i_work->list, &p->work_list); work_list 444 drivers/scsi/bnx2i/bnx2i_init.c list_for_each_entry_safe(work, tmp, &p->work_list, list) { work_list 496 drivers/scsi/bnx2i/bnx2i_init.c INIT_LIST_HEAD(&p->work_list); work_list 1495 drivers/scsi/bnx2i/bnx2i_iscsi.c &p->work_list, list) { work_list 903 drivers/scsi/lpfc/lpfc.h struct list_head work_list; work_list 3436 drivers/scsi/lpfc/lpfc_els.c list_add_tail(&evtp->evt_listp, &phba->work_list); work_list 187 drivers/scsi/lpfc/lpfc_hbadisc.c list_add_tail(&evtp->evt_listp, &phba->work_list); work_list 527 drivers/scsi/lpfc/lpfc_hbadisc.c while (!list_empty(&phba->work_list)) { work_list 528 drivers/scsi/lpfc/lpfc_hbadisc.c list_remove_head((&phba->work_list), evtp, typeof(*evtp), work_list 799 drivers/scsi/lpfc/lpfc_hbadisc.c list_add_tail(&evtp->evt_listp, &phba->work_list); work_list 6176 drivers/scsi/lpfc/lpfc_init.c INIT_LIST_HEAD(&phba->work_list); work_list 3563 drivers/scsi/lpfc/lpfc_scsi.c list_add_tail(&fast_path_evt->work_evt.evt_listp, &phba->work_list); work_list 3935 drivers/scsi/lpfc/lpfc_scsi.c &phba->work_list); work_list 370 drivers/scsi/qedi/qedi.h struct list_head work_list; work_list 1171 drivers/scsi/qedi/qedi_main.c list_add_tail(&qedi_cmd->cqe_work.list, &p->work_list); work_list 1186 drivers/scsi/qedi/qedi_main.c list_add_tail(&qedi_work->list, &p->work_list); work_list 1862 drivers/scsi/qedi/qedi_main.c LIST_HEAD(work_list); work_list 1868 drivers/scsi/qedi/qedi_main.c while (!list_empty(&p->work_list)) { work_list 1869 drivers/scsi/qedi/qedi_main.c list_splice_init(&p->work_list, &work_list); work_list 1872 drivers/scsi/qedi/qedi_main.c list_for_each_entry_safe(work, tmp, &work_list, list) { work_list 1917 drivers/scsi/qedi/qedi_main.c list_for_each_entry_safe(work, tmp, &p->work_list, list) { work_list 2726 drivers/scsi/qedi/qedi_main.c INIT_LIST_HEAD(&p->work_list); work_list 4333 drivers/scsi/qla2xxx/qla_def.h struct list_head work_list; work_list 2738 drivers/scsi/qla2xxx/qla_os.c while (!list_empty(&vha->work_list) && i > 0) { work_list 4804 drivers/scsi/qla2xxx/qla_os.c INIT_LIST_HEAD(&vha->work_list); work_list 4886 drivers/scsi/qla2xxx/qla_os.c list_add_tail(&e->list, &vha->work_list); work_list 5218 drivers/scsi/qla2xxx/qla_os.c list_splice_init(&vha->work_list, &work); work_list 5318 drivers/scsi/qla2xxx/qla_os.c list_splice(&work, &vha->work_list); work_list 6653 drivers/scsi/qla2xxx/qla_os.c if (!list_empty(&vha->work_list)) { work_list 801 drivers/scsi/qla4xxx/ql4_def.h struct list_head work_list; work_list 4555 drivers/scsi/qla4xxx/ql4_os.c if (!list_empty(&ha->work_list)) work_list 5189 drivers/scsi/qla4xxx/ql4_os.c list_add_tail(&e->list, &ha->work_list); work_list 5240 drivers/scsi/qla4xxx/ql4_os.c list_splice_init(&ha->work_list, &work); work_list 8684 drivers/scsi/qla4xxx/ql4_os.c INIT_LIST_HEAD(&ha->work_list); work_list 265 drivers/vhost/vhost.c llist_add(&work->node, &dev->work_list); work_list 274 drivers/vhost/vhost.c return !llist_empty(&dev->work_list); work_list 350 drivers/vhost/vhost.c node = llist_del_all(&dev->work_list); work_list 473 drivers/vhost/vhost.c init_llist_head(&dev->work_list); work_list 681 drivers/vhost/vhost.c WARN_ON(!llist_empty(&dev->work_list)); work_list 165 drivers/vhost/vhost.h struct llist_head work_list; work_list 211 fs/btrfs/ordered-data.c INIT_LIST_HEAD(&entry->work_list); work_list 551 fs/btrfs/ordered-data.c list_add_tail(&ordered->work_list, &works); work_list 564 fs/btrfs/ordered-data.c list_for_each_entry_safe(ordered, next, &works, work_list) { work_list 565 fs/btrfs/ordered-data.c list_del_init(&ordered->work_list); work_list 129 fs/btrfs/ordered-data.h struct list_head work_list; work_list 187 fs/fs-writeback.c list_add_tail(&work->list, &wb->work_list); work_list 1866 fs/fs-writeback.c !list_empty(&wb->work_list)) work_list 1941 fs/fs-writeback.c if (!list_empty(&wb->work_list)) { work_list 1942 fs/fs-writeback.c work = list_entry(wb->work_list.next, work_list 2080 fs/fs-writeback.c } while (!list_empty(&wb->work_list)); work_list 2092 fs/fs-writeback.c if (!list_empty(&wb->work_list)) work_list 163 fs/ocfs2/dlm/dlmcommon.h struct list_head work_list; work_list 2044 fs/ocfs2/dlm/dlmdomain.c INIT_LIST_HEAD(&dlm->work_list); work_list 2074 fs/ocfs2/dlm/dlmmaster.c list_add_tail(&item->list, &dlm->work_list); work_list 2331 fs/ocfs2/dlm/dlmmaster.c list_add_tail(&item->list, &dlm->work_list); work_list 147 fs/ocfs2/dlm/dlmrecovery.c list_splice_init(&dlm->work_list, &tmp_list); work_list 864 fs/ocfs2/dlm/dlmrecovery.c list_add_tail(&item->list, &dlm->work_list); work_list 1522 fs/ocfs2/dlm/dlmrecovery.c list_add_tail(&item->list, &dlm->work_list); work_list 166 include/linux/backing-dev-defs.h struct list_head work_list; work_list 89 include/linux/kthread.h struct list_head work_list; work_list 110 include/linux/kthread.h .work_list = LIST_HEAD_INIT((worker).work_list), \ work_list 639 include/sound/soc-dapm.h struct list_head work_list; work_list 613 kernel/kthread.c INIT_LIST_HEAD(&worker->work_list); work_list 661 kernel/kthread.c if (!list_empty(&worker->work_list)) { work_list 662 kernel/kthread.c work = list_first_entry(&worker->work_list, work_list 826 kernel/kthread.c kthread_insert_work(worker, work, &worker->work_list); work_list 863 kernel/kthread.c kthread_insert_work(worker, work, &worker->work_list); work_list 885 kernel/kthread.c kthread_insert_work(worker, work, &worker->work_list); work_list 972 kernel/kthread.c worker->work_list.next); work_list 1188 kernel/kthread.c WARN_ON(!list_empty(&worker->work_list)); work_list 308 mm/backing-dev.c INIT_LIST_HEAD(&wb->work_list); work_list 365 mm/backing-dev.c WARN_ON(!list_empty(&wb->work_list)); work_list 217 sound/soc/soc-dapm.c list_add_tail(&w->work_list, &list); work_list 220 sound/soc/soc-dapm.c list_for_each_entry(w, &list, work_list) { work_list 227 sound/soc/soc-dapm.c list_add_tail(&node->work_list, &list); work_list 1143 sound/soc/soc-dapm.c list_for_each_entry(w, widgets, work_list) work_list 1205 sound/soc/soc-dapm.c list_add_tail(&widget->work_list, list); work_list 126 tools/perf/builtin-sched.c struct list_head work_list; work_list 1022 tools/perf/builtin-sched.c INIT_LIST_HEAD(&atoms->work_list); work_list 1052 tools/perf/builtin-sched.c list_add_tail(&atom->list, &atoms->work_list); work_list 1062 tools/perf/builtin-sched.c BUG_ON(list_empty(&atoms->work_list)); work_list 1064 tools/perf/builtin-sched.c atom = list_entry(atoms->work_list.prev, struct work_atom, list); work_list 1076 tools/perf/builtin-sched.c if (list_empty(&atoms->work_list)) work_list 1079 tools/perf/builtin-sched.c atom = list_entry(atoms->work_list.prev, struct work_atom, list); work_list 1234 tools/perf/builtin-sched.c BUG_ON(list_empty(&atoms->work_list)); work_list 1236 tools/perf/builtin-sched.c atom = list_entry(atoms->work_list.prev, struct work_atom, list); work_list 1302 tools/perf/builtin-sched.c BUG_ON(list_empty(&atoms->work_list)); work_list 1304 tools/perf/builtin-sched.c atom = list_entry(atoms->work_list.prev, struct work_atom, list); work_list 1317 tools/perf/builtin-sched.c static void output_lat_thread(struct perf_sched *sched, struct work_atoms *work_list) work_list 1324 tools/perf/builtin-sched.c if (!work_list->nb_atoms) work_list 1329 tools/perf/builtin-sched.c if (!strcmp(thread__comm_str(work_list->thread), "swapper")) work_list 1332 tools/perf/builtin-sched.c sched->all_runtime += work_list->total_runtime; work_list 1333 tools/perf/builtin-sched.c sched->all_count += work_list->nb_atoms; work_list 1335 tools/perf/builtin-sched.c if (work_list->num_merged > 1) work_list 1336 tools/perf/builtin-sched.c ret = printf(" %s:(%d) ", thread__comm_str(work_list->thread), work_list->num_merged); work_list 1338 tools/perf/builtin-sched.c ret = printf(" %s:%d ", thread__comm_str(work_list->thread), work_list->thread->tid); work_list 1343 tools/perf/builtin-sched.c avg = work_list->total_lat / work_list->nb_atoms; work_list 1344 tools/perf/builtin-sched.c timestamp__scnprintf_usec(work_list->max_lat_at, max_lat_at, sizeof(max_lat_at)); work_list 1347 tools/perf/builtin-sched.c (double)work_list->total_runtime / NSEC_PER_MSEC, work_list 1348 tools/perf/builtin-sched.c work_list->nb_atoms, (double)avg / NSEC_PER_MSEC, work_list 1349 tools/perf/builtin-sched.c (double)work_list->max_lat / NSEC_PER_MSEC, work_list 3108 tools/perf/builtin-sched.c list_splice(&data->work_list, &this->work_list); work_list 3157 tools/perf/builtin-sched.c struct work_atoms *work_list; work_list 3159 tools/perf/builtin-sched.c work_list = rb_entry(next, struct work_atoms, node); work_list 3160 tools/perf/builtin-sched.c output_lat_thread(sched, work_list); work_list 3162 tools/perf/builtin-sched.c thread__zput(work_list->thread);