Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/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()
838 r = next_request(&ep0->pending_list); in dwc3_ep0_complete_data()
890 if (!list_empty(&dep->pending_list)) { in dwc3_ep0_complete_status()
891 r = next_request(&dep->pending_list); in dwc3_ep0_complete_status()
1103 if (!list_empty(&dep->pending_list)) { in dwc3_ep0_xfernotready()
Dgadget.c705 while (!list_empty(&dep->pending_list)) { in dwc3_remove_requests()
706 req = next_request(&dep->pending_list); in dwc3_remove_requests()
1189 list_for_each_entry_safe(req, n, &dep->pending_list, list) { in dwc3_prepare_trbs()
1395 if (list_empty(&dep->pending_list)) { in __dwc3_gadget_start_isoc()
1447 list_add_tail(&req->list, &dep->pending_list); in __dwc3_gadget_ep_queue()
1543 list_for_each_entry(r, &dep->pending_list, list) { in dwc3_gadget_ep_dequeue()
2313 INIT_LIST_HEAD(&dep->pending_list); in dwc3_gadget_init_endpoint()
Dcore.h676 struct list_head pending_list; member
/Linux-v5.4/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()
582 desc = list_first_entry_or_null(&chan->pending_list, in zynqmp_dma_start_transfer()
587 list_splice_tail_init(&chan->pending_list, &chan->active_list); in zynqmp_dma_start_transfer()
658 zynqmp_dma_free_desc_list(chan, &chan->pending_list); in zynqmp_dma_free_descriptors()
909 INIT_LIST_HEAD(&chan->pending_list); in zynqmp_dma_chan_probe()
Dxilinx_dma.c357 struct list_head pending_list; member
751 xilinx_dma_free_desc_list(chan, &chan->pending_list); in xilinx_dma_free_descriptors()
1113 if (list_empty(&chan->pending_list)) in xilinx_vdma_start_transfer()
1116 desc = list_first_entry(&chan->pending_list, in xilinx_vdma_start_transfer()
1213 if (list_empty(&chan->pending_list)) in xilinx_cdma_start_transfer()
1216 head_desc = list_first_entry(&chan->pending_list, in xilinx_cdma_start_transfer()
1218 tail_desc = list_last_entry(&chan->pending_list, in xilinx_cdma_start_transfer()
1264 list_splice_tail_init(&chan->pending_list, &chan->active_list); in xilinx_cdma_start_transfer()
1282 if (list_empty(&chan->pending_list)) in xilinx_dma_start_transfer()
1288 head_desc = list_first_entry(&chan->pending_list, in xilinx_dma_start_transfer()
[all …]
/Linux-v5.4/drivers/dma/
Daltera-msgdma.c172 struct list_head pending_list; member
312 list_add_tail(&new->node, &mdev->pending_list); in msgdma_tx_submit()
553 desc = list_first_entry_or_null(&mdev->pending_list, in msgdma_start_transfer()
558 list_splice_tail_init(&mdev->pending_list, &mdev->active_list); in msgdma_start_transfer()
627 msgdma_free_desc_list(mdev, &mdev->pending_list); in msgdma_free_descriptors()
838 INIT_LIST_HEAD(&mdev->pending_list); in msgdma_probe()
/Linux-v5.4/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()
280 list_del_init(&fw_priv->pending_list); in firmware_loading_store()
515 list_add(&fw_priv->pending_list, &pending_fw_head); in fw_load_sysfs_fallback()
Dfirmware.h75 struct list_head pending_list; member
Dmain.c190 INIT_LIST_HEAD(&fw_priv->pending_list); in __allocate_fw_priv()
/Linux-v5.4/drivers/iio/common/ssp_sensors/
Dssp_spi.c207 list_add_tail(&msg->list, &data->pending_list); in ssp_do_transfer()
358 list_for_each_entry_safe(msg, n, &data->pending_list, list) { in ssp_irq_msg()
405 list_add_tail(&msg->list, &data->pending_list); in ssp_irq_msg()
446 list_for_each_entry_safe(msg, n, &data->pending_list, list) { in ssp_clean_pending_list()
Dssp.h219 struct list_head pending_list; member
Dssp_dev.c549 INIT_LIST_HEAD(&data->pending_list); in ssp_probe()
/Linux-v5.4/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-v5.4/drivers/staging/most/dim2/
Ddim2.c66 struct list_head pending_list; /* before dim_enqueue_buffer() */ member
152 struct list_head *head = &hdm_ch->pending_list; in try_start_dim_transfer()
299 list_add_tail(&mbo->list, &hdm_ch->pending_list); in service_done_flag()
573 list_add_tail(&mbo->list, &hdm_ch->pending_list); in enqueue()
658 complete_all_mbos(&hdm_ch->pending_list); in poison_channel()
818 INIT_LIST_HEAD(&hdm_ch->pending_list); in dim2_probe()
/Linux-v5.4/ipc/
Dsem.c839 struct list_head *pending_list; in wake_const_ops() local
843 pending_list = &sma->pending_const; in wake_const_ops()
845 pending_list = &sma->sems[semnum].pending_const; in wake_const_ops()
847 list_for_each_entry_safe(q, tmp, pending_list, list) { in wake_const_ops()
933 struct list_head *pending_list; in update_queue() local
937 pending_list = &sma->pending_alter; in update_queue()
939 pending_list = &sma->sems[semnum].pending_alter; in update_queue()
942 list_for_each_entry_safe(q, tmp, pending_list, list) { in update_queue()
/Linux-v5.4/drivers/scsi/
Dmegaraid.c357 if(!list_empty(&adapter->pending_list)) in mega_runpendq()
396 list_add_tail(&scb->list, &adapter->pending_list); in megaraid_queue_lck()
1071 list_for_each_safe(pos, next, &adapter->pending_list) { in __mega_runpendq()
1942 if(list_empty(&adapter->pending_list)) in megaraid_abort_and_reset()
1945 list_for_each_safe(pos, next, &adapter->pending_list) { in megaraid_abort_and_reset()
3812 !list_empty(&adapter->pending_list)) in mega_del_logdrv()
3825 list_for_each(pos, &adapter->pending_list) { in mega_del_logdrv()
4107 list_add_tail(&scb->list, &adapter->pending_list); in mega_internal_command()
4257 INIT_LIST_HEAD(&adapter->pending_list); in megaraid_probe_one()
Dmegaraid.h784 struct list_head pending_list; member
/Linux-v5.4/drivers/vhost/
Dvhost.h171 struct list_head pending_list; member
Dvhost.c476 INIT_LIST_HEAD(&dev->pending_list); in vhost_dev_init()
649 list_for_each_entry_safe(node, n, &dev->pending_list, node) { in vhost_clear_msg()
1065 list_for_each_entry_safe(node, n, &d->pending_list, node) { in vhost_iotlb_notify_vq()
1262 vhost_enqueue_msg(dev, &dev->pending_list, node); in vhost_chr_read_iter()
/Linux-v5.4/drivers/md/
Draid5.h688 struct list_head pending_list; member
Draid5.c902 list_sort(NULL, &conf->pending_list, cmp_stripe); in dispatch_defer_bios()
904 first = conf->pending_list.next; in dispatch_defer_bios()
908 list_move_tail(&conf->pending_list, in dispatch_defer_bios()
911 while (!list_empty(&conf->pending_list)) { in dispatch_defer_bios()
912 data = list_first_entry(&conf->pending_list, in dispatch_defer_bios()
927 if (next != &conf->pending_list) in dispatch_defer_bios()
933 if (first != &conf->pending_list) in dispatch_defer_bios()
934 list_move_tail(&conf->pending_list, first); in dispatch_defer_bios()
961 list_move_tail(&ent->sibling, &conf->pending_list); in defer_issue_bios()
6922 INIT_LIST_HEAD(&conf->pending_list); in setup_conf()
/Linux-v5.4/kernel/events/
Duprobes.c60 struct list_head pending_list; member
1314 list_add(&u->pending_list, head); in build_probe_list()
1321 list_add(&u->pending_list, head); in build_probe_list()
1391 list_for_each_entry_safe(uprobe, u, &tmp_list, pending_list) { in uprobe_mmap()
/Linux-v5.4/drivers/usb/musb/
Dmusb_core.h306 struct list_head pending_list; /* pending work list */ member
Dmusb_core.c2001 INIT_LIST_HEAD(&musb->pending_list); in allocate_instance()
2065 list_for_each_entry_safe(w, _w, &musb->pending_list, node) { in musb_run_resume_work()
2113 list_add_tail(&w->node, &musb->pending_list); in musb_queue_resume_work()
2665 WARN_ON(!list_empty(&musb->pending_list)); in musb_suspend()