Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/drivers/usb/dwc3/
Dep0.c96 list_add_tail(&req->list, &dep->pending_list); in __dwc3_gadget_ep0_queue()
208 if (!list_empty(&dep->pending_list)) { in dwc3_gadget_ep0_queue()
235 if (!list_empty(&dep->pending_list)) { in dwc3_ep0_stall_and_restart()
238 req = next_request(&dep->pending_list); in dwc3_ep0_stall_and_restart()
831 r = next_request(&ep0->pending_list); in dwc3_ep0_complete_data()
883 if (!list_empty(&dep->pending_list)) { in dwc3_ep0_complete_status()
884 r = next_request(&dep->pending_list); in dwc3_ep0_complete_status()
1096 if (!list_empty(&dep->pending_list)) { in dwc3_ep0_xfernotready()
Dgadget.c707 while (!list_empty(&dep->pending_list)) { in dwc3_remove_requests()
708 req = next_request(&dep->pending_list); in dwc3_remove_requests()
1175 list_for_each_entry_safe(req, n, &dep->pending_list, list) { in dwc3_prepare_trbs()
1259 if (list_empty(&dep->pending_list)) { in __dwc3_gadget_start_isoc()
1291 list_add_tail(&req->list, &dep->pending_list); in __dwc3_gadget_ep_queue()
1351 list_for_each_entry(r, &dep->pending_list, list) { in dwc3_gadget_ep_dequeue()
2173 INIT_LIST_HEAD(&dep->pending_list); in dwc3_gadget_init_endpoint()
Dcore.h662 struct list_head pending_list; member
/Linux-v4.19/drivers/dma/xilinx/
Dzynqmp_dma.c223 struct list_head pending_list; member
383 if (!list_empty(&chan->pending_list)) { in zynqmp_dma_tx_submit()
384 desc = list_last_entry(&chan->pending_list, in zynqmp_dma_tx_submit()
395 list_add_tail(&new->node, &chan->pending_list); in zynqmp_dma_tx_submit()
584 desc = list_first_entry_or_null(&chan->pending_list, in zynqmp_dma_start_transfer()
589 list_splice_tail_init(&chan->pending_list, &chan->active_list); in zynqmp_dma_start_transfer()
659 zynqmp_dma_free_desc_list(chan, &chan->pending_list); in zynqmp_dma_free_descriptors()
906 INIT_LIST_HEAD(&chan->pending_list); in zynqmp_dma_chan_probe()
Dxilinx_dma.c353 struct list_head pending_list; member
747 xilinx_dma_free_desc_list(chan, &chan->pending_list); in xilinx_dma_free_descriptors()
1080 if (list_empty(&chan->pending_list)) in xilinx_vdma_start_transfer()
1083 desc = list_first_entry(&chan->pending_list, in xilinx_vdma_start_transfer()
1085 tail_desc = list_last_entry(&chan->pending_list, in xilinx_vdma_start_transfer()
1148 list_splice_tail_init(&chan->pending_list, &chan->active_list); in xilinx_vdma_start_transfer()
1207 if (list_empty(&chan->pending_list)) in xilinx_cdma_start_transfer()
1210 head_desc = list_first_entry(&chan->pending_list, in xilinx_cdma_start_transfer()
1212 tail_desc = list_last_entry(&chan->pending_list, in xilinx_cdma_start_transfer()
1256 list_splice_tail_init(&chan->pending_list, &chan->active_list); in xilinx_cdma_start_transfer()
[all …]
/Linux-v4.19/drivers/dma/
Daltera-msgdma.c176 struct list_head pending_list; member
316 list_add_tail(&new->node, &mdev->pending_list); in msgdma_tx_submit()
557 desc = list_first_entry_or_null(&mdev->pending_list, in msgdma_start_transfer()
562 list_splice_tail_init(&mdev->pending_list, &mdev->active_list); in msgdma_start_transfer()
631 msgdma_free_desc_list(mdev, &mdev->pending_list); in msgdma_free_descriptors()
842 INIT_LIST_HEAD(&mdev->pending_list); in msgdma_probe()
/Linux-v4.19/drivers/iio/common/ssp_sensors/
Dssp_spi.c217 list_add_tail(&msg->list, &data->pending_list); in ssp_do_transfer()
368 list_for_each_entry_safe(msg, n, &data->pending_list, list) { in ssp_irq_msg()
415 list_add_tail(&msg->list, &data->pending_list); in ssp_irq_msg()
456 list_for_each_entry_safe(msg, n, &data->pending_list, list) { in ssp_clean_pending_list()
Dssp.h229 struct list_head pending_list; member
Dssp_dev.c567 INIT_LIST_HEAD(&data->pending_list); in ssp_probe()
/Linux-v4.19/drivers/base/firmware_loader/
Dfallback.c94 list_del_init(&fw_priv->pending_list); in __fw_load_abort()
114 pending_list) { in kill_pending_fw_fallback_reqs()
300 list_del_init(&fw_priv->pending_list); in firmware_loading_store()
562 list_add(&fw_priv->pending_list, &pending_fw_head); in fw_load_sysfs_fallback()
Dfirmware.h73 struct list_head pending_list; member
Dmain.c189 INIT_LIST_HEAD(&fw_priv->pending_list); in __allocate_fw_priv()
/Linux-v4.19/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-v4.19/drivers/staging/most/dim2/
Ddim2.c66 struct list_head pending_list; /* before dim_enqueue_buffer() */ member
171 struct list_head *head = &hdm_ch->pending_list; in try_start_dim_transfer()
318 list_add_tail(&mbo->list, &hdm_ch->pending_list); in service_done_flag()
592 list_add_tail(&mbo->list, &hdm_ch->pending_list); in enqueue()
677 complete_all_mbos(&hdm_ch->pending_list); in poison_channel()
839 INIT_LIST_HEAD(&hdm_ch->pending_list); in dim2_probe()
/Linux-v4.19/ipc/
Dsem.c843 struct list_head *pending_list; in wake_const_ops() local
847 pending_list = &sma->pending_const; in wake_const_ops()
849 pending_list = &sma->sems[semnum].pending_const; in wake_const_ops()
851 list_for_each_entry_safe(q, tmp, pending_list, list) { in wake_const_ops()
937 struct list_head *pending_list; in update_queue() local
941 pending_list = &sma->pending_alter; in update_queue()
943 pending_list = &sma->sems[semnum].pending_alter; in update_queue()
946 list_for_each_entry_safe(q, tmp, pending_list, list) { in update_queue()
/Linux-v4.19/drivers/vhost/
Dvhost.h171 struct list_head pending_list; member
Dvhost.c432 INIT_LIST_HEAD(&dev->pending_list); in vhost_dev_init()
605 list_for_each_entry_safe(node, n, &dev->pending_list, node) { in vhost_clear_msg()
952 list_for_each_entry_safe(node, n, &d->pending_list, node) { in vhost_iotlb_notify_vq()
1145 vhost_enqueue_msg(dev, &dev->pending_list, node); in vhost_chr_read_iter()
/Linux-v4.19/drivers/scsi/
Dmegaraid.c362 if(!list_empty(&adapter->pending_list)) in mega_runpendq()
401 list_add_tail(&scb->list, &adapter->pending_list); in megaraid_queue_lck()
1076 list_for_each_safe(pos, next, &adapter->pending_list) { in __mega_runpendq()
1947 if(list_empty(&adapter->pending_list)) in megaraid_abort_and_reset()
1950 list_for_each_safe(pos, next, &adapter->pending_list) { in megaraid_abort_and_reset()
3817 !list_empty(&adapter->pending_list)) in mega_del_logdrv()
3830 list_for_each(pos, &adapter->pending_list) { in mega_del_logdrv()
4112 list_add_tail(&scb->list, &adapter->pending_list); in mega_internal_command()
4263 INIT_LIST_HEAD(&adapter->pending_list); in megaraid_probe_one()
Dmegaraid.h784 struct list_head pending_list; member
/Linux-v4.19/drivers/md/
Draid5.h690 struct list_head pending_list; member
Draid5.c907 list_sort(NULL, &conf->pending_list, cmp_stripe); in dispatch_defer_bios()
909 first = conf->pending_list.next; in dispatch_defer_bios()
913 list_move_tail(&conf->pending_list, in dispatch_defer_bios()
916 while (!list_empty(&conf->pending_list)) { in dispatch_defer_bios()
917 data = list_first_entry(&conf->pending_list, in dispatch_defer_bios()
932 if (next != &conf->pending_list) in dispatch_defer_bios()
938 if (first != &conf->pending_list) in dispatch_defer_bios()
939 list_move_tail(&conf->pending_list, first); in dispatch_defer_bios()
966 list_move_tail(&ent->sibling, &conf->pending_list); in defer_issue_bios()
6900 INIT_LIST_HEAD(&conf->pending_list); in setup_conf()
/Linux-v4.19/kernel/events/
Duprobes.c72 struct list_head pending_list; member
1049 list_add(&u->pending_list, head); in build_probe_list()
1056 list_add(&u->pending_list, head); in build_probe_list()
1089 list_for_each_entry_safe(uprobe, u, &tmp_list, pending_list) { in uprobe_mmap()
/Linux-v4.19/drivers/usb/musb/
Dmusb_core.h306 struct list_head pending_list; /* pending work list */ member
Dmusb_core.c2003 INIT_LIST_HEAD(&musb->pending_list); in allocate_instance()
2071 list_for_each_entry_safe(w, _w, &musb->pending_list, node) { in musb_run_resume_work()
2119 list_add_tail(&w->node, &musb->pending_list); in musb_queue_resume_work()
2681 WARN_ON(!list_empty(&musb->pending_list)); in musb_suspend()