/kernel/linux/linux-5.10/include/linux/ |
D | kthread.h | 95 struct list_head work_list; member 116 .work_list = LIST_HEAD_INIT((worker).work_list), \
|
D | backing-dev-defs.h | 143 struct list_head work_list; member
|
/kernel/linux/linux-5.10/tools/perf/ |
D | builtin-sched.c | 129 struct list_head work_list; member 1026 INIT_LIST_HEAD(&atoms->work_list); in thread_atoms_insert() 1056 list_add_tail(&atom->list, &atoms->work_list); in add_sched_out_event() 1066 BUG_ON(list_empty(&atoms->work_list)); in add_runtime_event() 1068 atom = list_entry(atoms->work_list.prev, struct work_atom, list); in add_runtime_event() 1080 if (list_empty(&atoms->work_list)) in add_sched_in_event() 1083 atom = list_entry(atoms->work_list.prev, struct work_atom, list); in add_sched_in_event() 1239 BUG_ON(list_empty(&atoms->work_list)); in latency_wakeup_event() 1241 atom = list_entry(atoms->work_list.prev, struct work_atom, list); in latency_wakeup_event() 1307 BUG_ON(list_empty(&atoms->work_list)); in latency_migrate_task_event() [all …]
|
/kernel/linux/linux-5.10/drivers/dma/idxd/ |
D | irq.c | 193 list_add_tail(&desc->list, &irq_entry->work_list); in irq_process_pending_llist() 208 if (list_empty(&irq_entry->work_list)) in irq_process_work_list() 211 list_for_each_safe(node, next, &irq_entry->work_list) { in irq_process_work_list()
|
D | init.c | 118 INIT_LIST_HEAD(&idxd->irq_entries[i].work_list); in idxd_setup_interrupts() 417 list_for_each_entry_safe(desc, iter, &ie->work_list, list) { in idxd_flush_work_list()
|
D | idxd.h | 39 struct list_head work_list; member
|
/kernel/linux/linux-5.10/kernel/ |
D | kthread.c | 696 INIT_LIST_HEAD(&worker->work_list); in __kthread_init_worker() 744 if (!list_empty(&worker->work_list)) { in kthread_worker_fn() 745 work = list_first_entry(&worker->work_list, in kthread_worker_fn() 909 kthread_insert_work(worker, work, &worker->work_list); in kthread_queue_work() 947 kthread_insert_work(worker, work, &worker->work_list); in kthread_delayed_work_timer_fn() 970 kthread_insert_work(worker, work, &worker->work_list); in __kthread_queue_delayed_work() 1057 worker->work_list.next); in kthread_flush_work() 1303 WARN_ON(!list_empty(&worker->work_list)); in kthread_destroy_worker()
|
/kernel/linux/linux-5.10/drivers/block/drbd/ |
D | drbd_worker.c | 2070 static bool dequeue_work_batch(struct drbd_work_queue *queue, struct list_head *work_list) in dequeue_work_batch() argument 2073 list_splice_tail_init(&queue->q, work_list); in dequeue_work_batch() 2075 return !list_empty(work_list); in dequeue_work_batch() 2078 static void wait_for_work(struct drbd_connection *connection, struct list_head *work_list) in wait_for_work() argument 2084 dequeue_work_batch(&connection->sender_work, work_list); in wait_for_work() 2085 if (!list_empty(work_list)) in wait_for_work() 2111 list_splice_tail_init(&connection->sender_work.q, work_list); in wait_for_work() 2113 if (!list_empty(work_list) || signal_pending(current)) { in wait_for_work() 2168 LIST_HEAD(work_list); in drbd_worker() 2174 if (list_empty(&work_list)) { in drbd_worker() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | iwcm.c | 216 BUG_ON(!list_empty(&cm_id_priv->work_list)); in iwcm_deref_id() 263 INIT_LIST_HEAD(&cm_id_priv->work_list); in iw_create_cm_id() 1026 empty = list_empty(&cm_id_priv->work_list); in cm_work_handler() 1028 work = list_entry(cm_id_priv->work_list.next, in cm_work_handler() 1031 empty = list_empty(&cm_id_priv->work_list); in cm_work_handler() 1098 if (list_empty(&cm_id_priv->work_list)) { in cm_event_handler() 1099 list_add_tail(&work->list, &cm_id_priv->work_list); in cm_event_handler() 1102 list_add_tail(&work->list, &cm_id_priv->work_list); in cm_event_handler()
|
D | iwcm.h | 53 struct list_head work_list; member
|
/kernel/linux/linux-5.10/io_uring/ |
D | io-wq.c | 77 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() 886 wq_list_add_tail(&work->list, &acct->work_list); in io_wqe_insert_work() 896 wq_list_add_after(&work->list, &tail->list, &acct->work_list); in io_wqe_insert_work() 1008 wq_list_del(&acct->work_list, &work->list, prev); in io_wqe_remove_pending() 1019 wq_list_for_each(node, prev, &acct->work_list) { in io_acct_cancel_pending_work() 1170 INIT_WQ_LIST(&acct->work_list); in io_wq_create()
|
/kernel/linux/linux-5.10/drivers/dma/ |
D | pl330.c | 423 struct list_head work_list; member 2043 list_for_each_entry(desc, &pch->work_list, node) { in fill_queue() 2075 list_for_each_entry_safe(desc, _dt, &pch->work_list, node) in pl330_tasklet() 2085 if (list_empty(&pch->work_list)) { in pl330_tasklet() 2108 list_move_tail(&desc->node, &pch->work_list); in pl330_tasklet() 2303 list_for_each_entry(desc, &pch->work_list , node) { in pl330_terminate_all() 2309 list_splice_tail_init(&pch->work_list, &pl330->desc_pool); in pl330_terminate_all() 2362 list_splice_tail_init(&pch->work_list, &pch->dmac->desc_pool); in pl330_free_chan_resources() 2424 list_for_each_entry(desc, &pch->work_list, node) { in pl330_tx_status() 2474 if (list_empty(&pch->work_list)) { in pl330_issue_pending() [all …]
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/fs/btrfs/ |
D | ordered-data.c | 217 INIT_LIST_HEAD(&entry->work_list); in __btrfs_add_ordered_extent() 586 list_add_tail(&ordered->work_list, &works); in btrfs_wait_ordered_extents() 599 list_for_each_entry_safe(ordered, next, &works, work_list) { in btrfs_wait_ordered_extents() 600 list_del_init(&ordered->work_list); in btrfs_wait_ordered_extents()
|
D | ordered-data.h | 129 struct list_head work_list; member
|
/kernel/linux/linux-5.10/fs/ |
D | fs-writeback.c | 188 list_add_tail(&work->list, &wb->work_list); in wb_queue_work() 1879 !list_empty(&wb->work_list)) in wb_writeback() 1954 if (!list_empty(&wb->work_list)) { in get_next_work_item() 1955 work = list_entry(wb->work_list.next, in get_next_work_item() 2093 } while (!list_empty(&wb->work_list)); in wb_workfn() 2105 if (!list_empty(&wb->work_list)) in wb_workfn()
|
/kernel/linux/linux-5.10/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() 1933 LIST_HEAD(work_list); in qedi_percpu_io_thread() 1939 while (!list_empty(&p->work_list)) { in qedi_percpu_io_thread() 1940 list_splice_init(&p->work_list, &work_list); in qedi_percpu_io_thread() 1943 list_for_each_entry_safe(work, tmp, &work_list, list) { in qedi_percpu_io_thread() 1988 list_for_each_entry_safe(work, tmp, &p->work_list, list) { in qedi_cpu_offline() 2901 INIT_LIST_HEAD(&p->work_list); in qedi_init()
|
D | qedi.h | 380 struct list_head work_list; member
|
/kernel/linux/linux-5.10/drivers/scsi/bnx2fc/ |
D | bnx2fc_fcoe.c | 655 LIST_HEAD(work_list); in bnx2fc_percpu_io_thread() 662 while (!list_empty(&p->work_list)) { in bnx2fc_percpu_io_thread() 663 list_splice_init(&p->work_list, &work_list); in bnx2fc_percpu_io_thread() 666 list_for_each_entry_safe(work, tmp, &work_list, list) { in bnx2fc_percpu_io_thread() 2652 list_for_each_entry_safe(work, tmp, &p->work_list, list) { in bnx2fc_cpu_offline() 2733 INIT_LIST_HEAD(&p->work_list); in bnx2fc_mod_init()
|
D | bnx2fc.h | 174 struct list_head work_list; member
|
/kernel/linux/linux-5.10/drivers/vhost/ |
D | vhost.h | 152 struct llist_head work_list; member
|
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()
|
/kernel/linux/linux-5.10/mm/ |
D | backing-dev.c | 304 INIT_LIST_HEAD(&wb->work_list); in wb_init() 353 WARN_ON(!list_empty(&wb->work_list)); in wb_shutdown()
|