Home
last modified time | relevance | path

Searched refs:pending_list (Results 1 – 25 of 40) sorted by relevance

12

/linux-6.6.21/drivers/usb/gadget/udc/cdns2/
Dcdns2-ep0.c95 preq = cdns2_next_preq(&pep->pending_list); in cdns2_ep0_stall()
112 preq = cdns2_next_preq(&pep->pending_list); in cdns2_status_stage()
418 if (!list_empty(&pep->pending_list)) { in cdns2_handle_setup_packet()
419 preq = cdns2_next_preq(&pep->pending_list); in cdns2_handle_setup_packet()
463 if (!list_empty(&pep->pending_list)) { in cdns2_transfer_completed()
467 preq = cdns2_next_preq(&pep->pending_list); in cdns2_transfer_completed()
579 if (!list_empty(&pep->pending_list)) { in cdns2_gadget_ep0_queue()
595 list_add_tail(&preq->list, &pep->pending_list); in cdns2_gadget_ep0_queue()
625 if (!list_empty(&pep->pending_list)) { in cdns2_ep0_config()
628 preq = cdns2_next_preq(&pep->pending_list); in cdns2_ep0_config()
Dcdns2-gadget.c834 list_move_tail(&preq->list, &pep->pending_list); in cdns2_start_all_request()
978 while (!list_empty(&pep->pending_list)) { in cdns2_transfer_completed()
979 preq = cdns2_next_preq(&pep->pending_list); in cdns2_transfer_completed()
1650 while (!list_empty(&pep->pending_list)) { in cdns2_gadget_ep_disable()
1651 preq = cdns2_next_preq(&pep->pending_list); in cdns2_gadget_ep_disable()
1768 list_for_each_entry_safe(preq, preq_temp, &pep->pending_list, list) { in cdns2_gadget_ep_dequeue()
1813 preq = cdns2_next_preq(&pep->pending_list); in cdns2_gadget_ep_dequeue()
1844 preq = cdns2_next_preq(&pep->pending_list); in cdns2_halt_endpoint()
1895 preq = cdns2_next_preq(&pep->pending_list); in cdns2_gadget_ep_set_halt()
2243 INIT_LIST_HEAD(&pep->pending_list); in cdns2_init_eps()
Dcdns2-gadget.h544 struct list_head pending_list; member
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dmapping.c25 struct list_head pending_list; member
103 list_add_tail(&mi->list, &ctx->pending_list); in mapping_free_item()
170 list_for_each_entry_safe(mi, next, &ctx->pending_list, list) { in mapping_work_handler()
191 mapping_remove_and_free_list(ctx, &ctx->pending_list); in mapping_flush_work()
208 INIT_LIST_HEAD(&ctx->pending_list); in mapping_create()
/linux-6.6.21/drivers/infiniband/hw/mlx4/
Dmcg.c109 struct list_head pending_list; member
458 if (!list_empty(&group->pending_list)) in release_group()
549 if (!list_empty(&group->pending_list)) { in mlx4_ib_mcg_timeout_handler()
550 req = list_first_entry(&group->pending_list, struct mcast_req, group_list); in mlx4_ib_mcg_timeout_handler()
673 if (!list_empty(&group->pending_list)) in mlx4_ib_mcg_work_handler()
674 req = list_first_entry(&group->pending_list, in mlx4_ib_mcg_work_handler()
709 while (!list_empty(&group->pending_list) && group->state == MCAST_IDLE) { in mlx4_ib_mcg_work_handler()
710 req = list_first_entry(&group->pending_list, struct mcast_req, in mlx4_ib_mcg_work_handler()
738 if (!list_empty(&group->pending_list) && group->state == MCAST_IDLE) in mlx4_ib_mcg_work_handler()
766 req = list_first_entry(&group->pending_list, in search_relocate_mgid0_group()
[all …]
/linux-6.6.21/drivers/gpu/drm/scheduler/
Dsched_main.c303 !list_empty(&sched->pending_list)) in drm_sched_start_timeout()
364 if (list_empty(&sched->pending_list)) in drm_sched_resume_timeout()
378 list_add_tail(&s_job->list, &sched->pending_list); in drm_sched_job_begin()
393 job = list_first_entry_or_null(&sched->pending_list, in drm_sched_job_timedout()
456 list_add(&bad->list, &sched->pending_list); in drm_sched_stop()
464 list_for_each_entry_safe_reverse(s_job, tmp, &sched->pending_list, in drm_sched_stop()
529 list_for_each_entry_safe(s_job, tmp, &sched->pending_list, list) { in drm_sched_start()
583 list_for_each_entry_safe(s_job, tmp, &sched->pending_list, list) { in drm_sched_resubmit_jobs()
917 job = list_first_entry_or_null(&sched->pending_list, in drm_sched_get_cleanup_job()
927 next = list_first_entry_or_null(&sched->pending_list, in drm_sched_get_cleanup_job()
[all …]
/linux-6.6.21/drivers/base/firmware_loader/
Dfirmware.h82 struct list_head pending_list; member
125 list_del_init(&fw_priv->pending_list); in __fw_state_set()
Dfallback.c56 pending_list) { in kill_pending_fw_fallback_reqs()
94 list_add(&fw_priv->pending_list, &pending_fw_head); in fw_load_sysfs_fallback()
/linux-6.6.21/drivers/dma/xilinx/
Dzynqmp_dma.c219 struct list_head pending_list; member
380 if (!list_empty(&chan->pending_list)) { in zynqmp_dma_tx_submit()
381 desc = list_last_entry(&chan->pending_list, in zynqmp_dma_tx_submit()
392 list_add_tail(&new->node, &chan->pending_list); in zynqmp_dma_tx_submit()
587 desc = list_first_entry_or_null(&chan->pending_list, in zynqmp_dma_start_transfer()
592 list_splice_tail_init(&chan->pending_list, &chan->active_list); in zynqmp_dma_start_transfer()
667 zynqmp_dma_free_desc_list(chan, &chan->pending_list); in zynqmp_dma_free_descriptors()
927 INIT_LIST_HEAD(&chan->pending_list); in zynqmp_dma_chan_probe()
Dxilinx_dma.c423 struct list_head pending_list; member
917 xilinx_dma_free_desc_list(chan, &chan->pending_list); in xilinx_dma_free_descriptors()
1375 if (list_empty(&chan->pending_list)) in xilinx_vdma_start_transfer()
1378 desc = list_first_entry(&chan->pending_list, in xilinx_vdma_start_transfer()
1474 if (list_empty(&chan->pending_list)) in xilinx_cdma_start_transfer()
1477 head_desc = list_first_entry(&chan->pending_list, in xilinx_cdma_start_transfer()
1479 tail_desc = list_last_entry(&chan->pending_list, in xilinx_cdma_start_transfer()
1525 list_splice_tail_init(&chan->pending_list, &chan->active_list); in xilinx_cdma_start_transfer()
1543 if (list_empty(&chan->pending_list)) in xilinx_dma_start_transfer()
1549 head_desc = list_first_entry(&chan->pending_list, in xilinx_dma_start_transfer()
[all …]
/linux-6.6.21/drivers/dma/
Daltera-msgdma.c174 struct list_head pending_list; member
315 list_add_tail(&new->node, &mdev->pending_list); in msgdma_tx_submit()
556 desc = list_first_entry_or_null(&mdev->pending_list, in msgdma_start_transfer()
561 list_splice_tail_init(&mdev->pending_list, &mdev->active_list); in msgdma_start_transfer()
628 msgdma_free_desc_list(mdev, &mdev->pending_list); in msgdma_free_descriptors()
854 INIT_LIST_HEAD(&mdev->pending_list); in msgdma_probe()
/linux-6.6.21/drivers/usb/dwc3/
Dep0.c98 list_add_tail(&req->list, &dep->pending_list); in __dwc3_gadget_ep0_queue()
210 if (!list_empty(&dep->pending_list)) { in dwc3_gadget_ep0_queue()
237 if (!list_empty(&dep->pending_list)) { in dwc3_ep0_stall_and_restart()
240 req = next_request(&dep->pending_list); in dwc3_ep0_stall_and_restart()
875 r = next_request(&ep0->pending_list); in dwc3_ep0_complete_data()
927 if (!list_empty(&dep->pending_list)) { in dwc3_ep0_complete_status()
928 r = next_request(&dep->pending_list); in dwc3_ep0_complete_status()
1172 if (!list_empty(&dep->pending_list)) { in dwc3_ep0_xfernotready()
Dgadget.c1007 while (!list_empty(&dep->pending_list)) { in dwc3_remove_requests()
1008 req = next_request(&dep->pending_list); in dwc3_remove_requests()
1586 list_for_each_entry_safe(req, n, &dep->pending_list, list) { in dwc3_prepare_trbs()
1879 if (list_empty(&dep->pending_list) && in __dwc3_gadget_start_isoc()
1964 list_add_tail(&req->list, &dep->pending_list); in __dwc3_gadget_ep_queue()
2104 list_for_each_entry(r, &dep->pending_list, list) { in dwc3_gadget_ep_dequeue()
3303 INIT_LIST_HEAD(&dep->pending_list); in dwc3_gadget_init_endpoint()
3558 if (!list_empty(&dep->pending_list)) in dwc3_gadget_ep_should_continue()
3594 (list_empty(&dep->pending_list) || status == -EXDEV)) in dwc3_gadget_endpoint_trbs_complete()
/linux-6.6.21/drivers/iio/common/ssp_sensors/
Dssp_spi.c207 list_add_tail(&msg->list, &data->pending_list); in ssp_do_transfer()
364 list_for_each_entry_safe(iter, n, &data->pending_list, list) { in ssp_irq_msg()
411 list_add_tail(&msg->list, &data->pending_list); in ssp_irq_msg()
452 list_for_each_entry_safe(msg, n, &data->pending_list, list) { in ssp_clean_pending_list()
Dssp.h219 struct list_head pending_list; member
/linux-6.6.21/drivers/usb/cdns3/
Dcdnsp-ep0.c24 preq = next_request(&pep->pending_list); in cdnsp_ep0_stall()
440 if (!list_empty(&pdev->eps[0].pending_list)) { in cdnsp_setup_analyze()
444 req = next_request(&pdev->eps[0].pending_list); in cdnsp_setup_analyze()
Dcdnsp-gadget.c350 if (preq->epnum == 0 && !list_empty(&pep->pending_list)) { in cdnsp_ep_enqueue()
368 list_add_tail(&preq->list, &pep->pending_list); in cdnsp_ep_enqueue()
1033 while (!list_empty(&pep->pending_list)) { in cdnsp_gadget_ep_disable()
1034 preq = next_request(&pep->pending_list); in cdnsp_gadget_ep_disable()
1159 preq = next_request(&pep->pending_list); in cdnsp_gadget_ep_set_halt()
1430 if (!list_empty(&pdev->eps[0].pending_list)) { in cdnsp_stop()
1433 req = next_request(&pdev->eps[0].pending_list); in cdnsp_stop()
1685 INIT_LIST_HEAD(&pep->pending_list); in cdnsp_gadget_init_endpoints()
/linux-6.6.21/drivers/staging/most/dim2/
Ddim2.c64 struct list_head pending_list; /* before dim_enqueue_buffer() */ member
164 struct list_head *head = &hdm_ch->pending_list; in try_start_dim_transfer()
311 list_add_tail(&mbo->list, &hdm_ch->pending_list); in service_done_flag()
579 list_add_tail(&mbo->list, &hdm_ch->pending_list); in enqueue()
663 complete_all_mbos(&hdm_ch->pending_list); in poison_channel()
848 INIT_LIST_HEAD(&hdm_ch->pending_list); in dim2_probe()
/linux-6.6.21/drivers/infiniband/core/
Dmulticast.c102 struct list_head pending_list; member
212 list_add_tail(&member->list, &group->pending_list); in queue_join()
435 while (!list_empty(&group->pending_list) || in mcast_work_handler()
444 member = list_entry(group->pending_list.next, in mcast_work_handler()
497 member = list_entry(group->pending_list.next, in process_join_error()
581 INIT_LIST_HEAD(&group->pending_list); in acquire_group()
/linux-6.6.21/ipc/
Dsem.c858 struct list_head *pending_list; in wake_const_ops() local
862 pending_list = &sma->pending_const; in wake_const_ops()
864 pending_list = &sma->sems[semnum].pending_const; in wake_const_ops()
866 list_for_each_entry_safe(q, tmp, pending_list, list) { in wake_const_ops()
952 struct list_head *pending_list; in update_queue() local
956 pending_list = &sma->pending_alter; in update_queue()
958 pending_list = &sma->sems[semnum].pending_alter; in update_queue()
961 list_for_each_entry_safe(q, tmp, pending_list, list) { in update_queue()
/linux-6.6.21/include/drm/
Dgpu_scheduler.h511 struct list_head pending_list; member
/linux-6.6.21/drivers/scsi/
Dmegaraid.c364 if(!list_empty(&adapter->pending_list)) in mega_runpendq()
399 list_add_tail(&scb->list, &adapter->pending_list); in megaraid_queue_lck()
1073 list_for_each_safe(pos, next, &adapter->pending_list) { in __mega_runpendq()
1933 if(list_empty(&adapter->pending_list)) in megaraid_abort_and_reset()
1936 list_for_each_safe(pos, next, &adapter->pending_list) { in megaraid_abort_and_reset()
3785 !list_empty(&adapter->pending_list)) in mega_del_logdrv()
3798 list_for_each(pos, &adapter->pending_list) { in mega_del_logdrv()
4077 list_add_tail(&scb->list, &adapter->pending_list); in mega_internal_command()
4228 INIT_LIST_HEAD(&adapter->pending_list); in megaraid_probe_one()
/linux-6.6.21/drivers/vhost/
Dvhost.h170 struct list_head pending_list; member
/linux-6.6.21/drivers/scsi/elx/efct/
Defct_hw.c2294 while ((wq->free_count > 0) && (!list_empty(&wq->pending_list))) { in hw_wq_submit_pending()
2295 wqe = list_first_entry(&wq->pending_list, in hw_wq_submit_pending()
2304 list_add_tail(&wqe->list_entry, &wq->pending_list); in hw_wq_submit_pending()
2517 if (list_empty(&wq->pending_list)) { in efct_hw_wq_write()
2522 list_add_tail(&wqe->list_entry, &wq->pending_list); in efct_hw_wq_write()
2531 list_add_tail(&wqe->list_entry, &wq->pending_list); in efct_hw_wq_write()
2534 wqe = list_first_entry(&wq->pending_list, struct efct_hw_wqe, in efct_hw_wq_write()
2549 list_add_tail(&wqe->list_entry, &wq->pending_list); in efct_hw_wq_write()
/linux-6.6.21/drivers/md/
Draid5.h694 struct list_head pending_list; member

12