Home
last modified time | relevance | path

Searched refs:list_first_entry (Results 1 – 200 of 443) sorted by relevance

123

/linux-4.1.27/drivers/gpu/drm/i915/
Di915_gem_evict.c136 vma = list_first_entry(&unwind_list, in i915_gem_evict_something()
173 vma = list_first_entry(&unwind_list, in i915_gem_evict_something()
187 vma = list_first_entry(&eviction_list, in i915_gem_evict_something()
Di915_gem_batch_pool.c65 list_first_entry(&pool->cache_list, in i915_gem_batch_pool_fini()
Di915_gem_execbuffer.c134 obj = list_first_entry(&objects, in eb_lookup_vmas()
174 obj = list_first_entry(&objects, in eb_lookup_vmas()
240 vma = list_first_entry(&eb->vmas, in eb_destroy()
696 vm = list_first_entry(vmas, struct i915_vma, exec_list)->vm; in i915_gem_execbuffer_reserve()
703 vma = list_first_entry(vmas, struct i915_vma, exec_list); in i915_gem_execbuffer_reserve()
794 vm = list_first_entry(&eb->vmas, struct i915_vma, exec_list)->vm; in i915_gem_execbuffer_relocate_slow()
798 vma = list_first_entry(&eb->vmas, struct i915_vma, exec_list); in i915_gem_execbuffer_relocate_slow()
Di915_gem_shrinker.c118 obj = list_first_entry(phase->list, in i915_gem_shrink()
/linux-4.1.27/drivers/gpu/drm/ttm/
Dttm_execbuf_util.c66 entry = list_first_entry(list, struct ttm_validate_buffer, head); in ttm_eu_backoff_reservation()
106 entry = list_first_entry(list, struct ttm_validate_buffer, head); in ttm_eu_reserve_buffers()
194 bo = list_first_entry(list, struct ttm_validate_buffer, head)->bo; in ttm_eu_fence_buffer_objects()
/linux-4.1.27/net/ceph/
Dpagelist.c23 struct page *page = list_first_entry(&pl->head, struct page, in ceph_pagelist_release()
40 page = list_first_entry(&pl->free_list, struct page, lru); in ceph_pagelist_addpage()
103 struct page *page = list_first_entry(&pl->free_list, in ceph_pagelist_free_reserve()
Dmessenger.c648 struct ceph_msg *msg = list_first_entry(head, struct ceph_msg, in ceph_msg_remove_list()
1012 page = list_first_entry(&pagelist->head, struct page, lru); in ceph_msg_data_pagelist_cursor_init()
1122 data = list_first_entry(&msg->data, struct ceph_msg_data, links); in ceph_msg_data_cursor_init()
1275 m = list_first_entry(&con->out_queue, struct ceph_msg, list_head); in prepare_write_message()
2210 m = list_first_entry(&con->out_sent, struct ceph_msg, in process_ack()
/linux-4.1.27/drivers/media/pci/cx18/
Dcx18-queue.c93 mdl = list_first_entry(&q->list, struct cx18_mdl, list); in cx18_dequeue()
129 buf = list_first_entry(&mdl->buf_list, struct cx18_buffer, in cx18_mdl_update_bufs_for_cpu()
222 mdl = list_first_entry(&q_src->list, struct cx18_mdl, list); in cx18_queue_flush()
261 buf = list_first_entry(&mdl->buf_list, in cx18_unload_queues()
302 buf = list_first_entry(&s->buf_pool, struct cx18_buffer, in cx18_load_queues()
435 buf = list_first_entry(&s->buf_pool, struct cx18_buffer, list); in cx18_stream_free()
Dcx18-queue.h49 cx18_buf_sync_for_device(s, list_first_entry(&mdl->buf_list, in cx18_mdl_sync_for_device()
62 cx18_buf_swap(list_first_entry(&mdl->buf_list, in cx18_mdl_swap()
Dcx18-mailbox.c147 buf = list_first_entry(&mdl->buf_list, struct cx18_buffer, in cx18_mdl_send_to_dvb()
179 vb_buf = list_first_entry(&s->vb_capture, struct cx18_videobuf_buffer, in cx18_mdl_send_to_videobuf()
229 buf = list_first_entry(&mdl->buf_list, struct cx18_buffer, in cx18_mdl_send_to_alsa()
/linux-4.1.27/fs/notify/
Dnotification.c155 event = list_first_entry(&group->notification_list, in fsnotify_remove_first_event()
175 return list_first_entry(&group->notification_list, in fsnotify_peek_first_event()
Dmark.c439 mark = list_first_entry(&to_free, struct fsnotify_mark, g_list); in fsnotify_clear_marks_by_group_flags()
/linux-4.1.27/drivers/hid/
Dhid-betopff.c63 list_first_entry(&hid->inputs, struct hid_input, list); in betopff_init()
76 report = list_first_entry(report_list, struct hid_report, list); in betopff_init()
Dhid-emsff.c62 struct hid_input *hidinput = list_first_entry(&hid->inputs, in emsff_init()
74 report = list_first_entry(report_list, struct hid_report, list); in emsff_init()
Dhid-axff.c78 struct hid_input *hidinput = list_first_entry(&hid->inputs, struct hid_input, list); in axff_init()
90 report = list_first_entry(report_list, struct hid_report, list); in axff_init()
Dhid-dr.c90 struct hid_input *hidinput = list_first_entry(&hid->inputs, in drff_init()
102 report = list_first_entry(report_list, struct hid_report, list); in drff_init()
Dhid-holtek-kbd.c131 struct hid_input *boot_hid_input = list_first_entry(&boot_hid->inputs, in holtek_kbd_input_event()
Dhid-elo.c81 hidinput = list_first_entry(&hdev->inputs, struct hid_input, list); in elo_raw_event()
/linux-4.1.27/drivers/dma/
Dvirt-dma.c81 vd = list_first_entry(&head, struct virt_dma_desc, node); in vchan_complete()
97 struct virt_dma_desc *vd = list_first_entry(head, in vchan_dma_desc_free_list()
Dsirf-dma.c124 sdesc = list_first_entry(&schan->queued, struct sirfsoc_dma_desc, in sirfsoc_dma_execute()
173 sdesc = list_first_entry(&schan->active, struct sirfsoc_dma_desc, in sirfsoc_dma_irq()
231 sdesc = list_first_entry(&schan->active, struct sirfsoc_dma_desc, in sirfsoc_dma_process_completed()
476 sdesc = list_first_entry(&schan->active, struct sirfsoc_dma_desc, in sirfsoc_dma_tx_status()
510 sdesc = list_first_entry(&schan->free, struct sirfsoc_dma_desc, in sirfsoc_dma_prep_interleaved()
586 sdesc = list_first_entry(&schan->free, struct sirfsoc_dma_desc, in sirfsoc_dma_prep_cyclic()
838 sdesc = list_first_entry(&schan->active, in sirfsoc_dma_pm_suspend()
871 sdesc = list_first_entry(&schan->active, in sirfsoc_dma_pm_resume()
Dtegra20-apb-dma.c327 sg_req = list_first_entry(&tdc->free_sg_req, in tegra_dma_sg_req_get()
494 sg_req = list_first_entry(&tdc->pending_sg_req, in tdc_start_head_req()
509 hsgreq = list_first_entry(&tdc->pending_sg_req, typeof(*hsgreq), node); in tdc_configure_next_head_desc()
511 hnsgreq = list_first_entry(&hsgreq->node, in tdc_configure_next_head_desc()
529 sgreq = list_first_entry(&tdc->pending_sg_req, in tegra_dma_abort_all()
563 hsgreq = list_first_entry(&tdc->pending_sg_req, typeof(*hsgreq), node); in handle_continuous_head_request()
584 sgreq = list_first_entry(&tdc->pending_sg_req, typeof(*sgreq), node); in handle_once_dma_done()
614 sgreq = list_first_entry(&tdc->pending_sg_req, typeof(*sgreq), node); in handle_cont_sngl_cycle_dma_done()
645 dma_desc = list_first_entry(&tdc->cb_desc, in tegra_dma_tasklet()
763 sgreq = list_first_entry(&tdc->pending_sg_req, in tegra_dma_terminate_all()
[all …]
Dimx-dma.c248 desc = list_first_entry(&imxdmac->ld_active, struct imxdma_desc, in imxdma_chan_is_doing_cyclic()
443 desc = list_first_entry(&imxdmac->ld_active, in dma_irq_handle_channel()
632 desc = list_first_entry(&imxdmac->ld_active, struct imxdma_desc, node); in imxdma_tasklet()
652 desc = list_first_entry(&imxdmac->ld_queue, struct imxdma_desc, in imxdma_tasklet()
822 desc = list_first_entry(&imxdmac->ld_free, struct imxdma_desc, node); in imxdma_prep_slave_sg()
877 desc = list_first_entry(&imxdmac->ld_free, struct imxdma_desc, node); in imxdma_prep_dma_cyclic()
934 desc = list_first_entry(&imxdmac->ld_free, struct imxdma_desc, node); in imxdma_prep_dma_memcpy()
971 desc = list_first_entry(&imxdmac->ld_free, struct imxdma_desc, node); in imxdma_prep_dma_interleaved()
1003 desc = list_first_entry(&imxdmac->ld_queue, in imxdma_issue_pending()
Dvirt-dma.h121 return list_first_entry(&vc->desc_issued, struct virt_dma_desc, node); in vchan_next_desc()
Dnbpfaxi.c384 struct nbpf_link_desc *ldesc = list_first_entry(&desc->sg, struct nbpf_link_desc, node); in nbpf_start()
585 struct nbpf_desc *desc = list_first_entry(&chan->active, in nbpf_issue_pending()
773 desc = list_first_entry(&chan->free, struct nbpf_desc, node); in nbpf_desc_get()
789 ldesc = list_first_entry(&chan->free_links, in nbpf_desc_get()
1196 desc = list_first_entry(&chan->active, in nbpf_chan_irq()
Dat_xdmac.c460 desc = list_first_entry(&atchan->free_descs_list, in at_xdmac_get_desc()
943 desc = list_first_entry(&atchan->xfers_list, struct at_xdmac_desc, xfer_node); in at_xdmac_tx_status()
1054 desc = list_first_entry(&atchan->xfers_list, in at_xdmac_advance_work()
1070 desc = list_first_entry(&atchan->xfers_list, struct at_xdmac_desc, xfer_node); in at_xdmac_handle_cyclic()
1104 desc = list_first_entry(&atchan->xfers_list, in at_xdmac_tasklet()
Dmpc512x_dma.c270 mdesc = list_first_entry(&mchan->queued, in mpc_dma_execute()
626 mdesc = list_first_entry(&mchan->free, struct mpc_dma_desc, in mpc_dma_prep_memcpy()
713 mdesc = list_first_entry(&mchan->free, in mpc_dma_prep_slave_sg()
Dep93xx_dma.c245 struct ep93xx_dma_desc *d = list_first_entry(&desc->tx_list, in ep93xx_dma_set_active()
268 return list_first_entry(&edmac->active, struct ep93xx_dma_desc, node); in ep93xx_dma_get_active()
726 new = list_first_entry(&edmac->queue, struct ep93xx_dma_desc, node); in ep93xx_dma_advance_work()
Dfsl_raid.c293 desc = list_first_entry(&re_chan->free_q, in fsl_re_chan_alloc_desc()
618 desc = list_first_entry(&re_chan->free_q, in fsl_re_free_chan_resources()
Dpch_dma.c178 return list_first_entry(&pd_chan->active_list, in pdc_first_active()
185 return list_first_entry(&pd_chan->queue, in pdc_first_queued()
/linux-4.1.27/drivers/s390/block/
Ddasd_alias.c87 return list_first_entry(&lcu->grouplist, in _find_group()
581 group = list_first_entry(&lcu->grouplist, in _schedule_lcu_update()
584 usedev = list_first_entry(&group->baselist, in _schedule_lcu_update()
588 usedev = list_first_entry(&group->aliaslist, in _schedule_lcu_update()
593 usedev = list_first_entry(&lcu->active_devices, in _schedule_lcu_update()
697 alias_device = list_first_entry(&group->aliaslist, in dasd_alias_get_start_dev()
703 group->next = list_first_entry(&group->aliaslist, in dasd_alias_get_start_dev()
706 group->next = list_first_entry(&alias_device->alias_list, in dasd_alias_get_start_dev()
824 device = list_first_entry(&active, struct dasd_device, in flush_all_alias_devices_on_lcu()
833 if (device == list_first_entry(&active, in flush_all_alias_devices_on_lcu()
Dscm_blk.c120 scmrq = list_first_entry(&inactive_requests, struct scm_request, list); in scm_request_fetch()
441 scmrq = list_first_entry(&bdev->finished_requests, in scm_blk_tasklet()
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
Dhtc_pipe.c65 packet = list_first_entry(queue_to_indicate, in do_send_completion()
110 packet = list_first_entry(&ep->txq, struct htc_packet, list); in get_htc_packet_credit_based()
159 packet = list_first_entry(&ep->txq, struct htc_packet, list); in get_htc_packet_credit_based()
186 packet = list_first_entry(&ep->txq, struct htc_packet, list); in get_htc_packet()
218 packet = list_first_entry(pkt_queue, struct htc_packet, list); in htc_issue_packets()
290 packet = list_first_entry(pkt_queue, in htc_issue_packets()
371 packet = list_first_entry(txq, in htc_try_send()
699 packet = list_first_entry(&ep->txq, struct htc_packet, list); in htc_flush_tx_endpoint()
793 packet = list_first_entry(pkt_queue, struct htc_packet, list); in htc_send_packets_multiple()
931 packet = list_first_entry(queue_to_indicate, in do_recv_completion()
[all …]
Dhtc_mbox.c398 packet = list_first_entry(buf_list, struct htc_packet, list); in htc_get_control_buf()
613 packet = list_first_entry(&endpoint->txq, struct htc_packet, in ath6kl_htc_tx_pkts_get()
628 packet = list_first_entry(&endpoint->txq, struct htc_packet, in ath6kl_htc_tx_pkts_get()
698 packet = list_first_entry(queue, struct htc_packet, list); in ath6kl_htc_tx_setup_scat_list()
921 packet = list_first_entry(&txq, struct htc_packet, in ath6kl_htc_tx_from_queue()
1424 packet = list_first_entry(&ep->rx_bufq, in ath6kl_htc_rx_setup()
1955 packet = list_first_entry(rxq, struct htc_packet, list); in ath6kl_htc_rx_bundle()
2091 packet = list_first_entry(rx_pktq, struct htc_packet, in ath6kl_htc_rx_fetch()
2332 first_pkt = list_first_entry(pkt_queue, struct htc_packet, list); in ath6kl_htc_mbox_add_rxbuf_multiple()
Dtxrx.c708 packet = list_first_entry(packet_queue, struct htc_packet, in ath6kl_tx_complete()
976 packet = list_first_entry(&ar->amsdu_rx_buffer_queue, in ath6kl_alloc_amsdu_rxbuf()
1464 mgmt = list_first_entry( in ath6kl_rx()
Dsdio.c199 bus_req = list_first_entry(&ar_sdio->bus_req_freeq, in ath6kl_sdio_alloc_busreq()
638 node = list_first_entry(&ar_sdio->scat_req, in ath6kl_sdio_scatter_req_get()
/linux-4.1.27/drivers/usb/gadget/function/
Duvc_queue.c241 buf = list_first_entry(&queue->irqqueue, struct uvc_buffer, in uvcg_queue_cancel()
323 nextbuf = list_first_entry(&queue->irqqueue, struct uvc_buffer, in uvcg_queue_next_buffer()
343 buf = list_first_entry(&queue->irqqueue, struct uvc_buffer, in uvcg_queue_head()
Duvc_video.c305 req = list_first_entry(&video->req_free, struct usb_request, in uvcg_video_pump()
/linux-4.1.27/net/mac80211/
Doffchannel.c221 roc = list_first_entry(&local->roc_list, struct ieee80211_roc_work, in ieee80211_hw_roc_start()
268 roc = list_first_entry(&local->roc_list, struct ieee80211_roc_work, in ieee80211_start_next_roc()
351 if (WARN_ON(roc != list_first_entry(&local->roc_list, in ieee80211_sw_roc_work()
432 roc = list_first_entry(&local->roc_list, struct ieee80211_roc_work, in ieee80211_hw_roc_done()
Docb.c138 sta = list_first_entry(&ifocb->incomplete_stations, in ieee80211_ocb_work()
221 sta = list_first_entry(&ifocb->incomplete_stations, in ieee80211_ocb_leave()
/linux-4.1.27/drivers/staging/android/ion/
Dion_page_pool.c64 page = list_first_entry(&pool->high_items, struct page, lru); in ion_page_pool_remove()
68 page = list_first_entry(&pool->low_items, struct page, lru); in ion_page_pool_remove()
Dion_heap.c199 buffer = list_first_entry(&heap->free_list, struct ion_buffer, in _ion_heap_freelist_drain()
240 buffer = list_first_entry(&heap->free_list, struct ion_buffer, in ion_heap_deferred_free()
/linux-4.1.27/drivers/gpu/drm/qxl/
Dqxl_release.c302 struct qxl_bo_list *entry = list_first_entry(&create_rel->bos, struct qxl_bo_list, tv.head); in qxl_alloc_surface_release_reserved()
411 struct qxl_bo_list *entry = list_first_entry(&release->bos, struct qxl_bo_list, tv.head); in qxl_release_map()
425 struct qxl_bo_list *entry = list_first_entry(&release->bos, struct qxl_bo_list, tv.head); in qxl_release_unmap()
448 bo = list_first_entry(&release->bos, struct ttm_validate_buffer, head)->bo; in qxl_release_fence_buffer_objects()
Dqxl_image.c120 drv_chunk = list_first_entry(&dimage->chunk_list, struct qxl_drm_chunk, head); in qxl_image_init_helper()
Dqxl_cmd.c182 struct qxl_bo_list *entry = list_first_entry(&release->bos, struct qxl_bo_list, tv.head); in qxl_push_command_ring_release()
195 struct qxl_bo_list *entry = list_first_entry(&release->bos, struct qxl_bo_list, tv.head); in qxl_push_cursor_ring_release()
/linux-4.1.27/net/tipc/
Dname_table.c561 publ = list_first_entry(&info->node_list, in tipc_nametbl_translate()
567 publ = list_first_entry(&info->cluster_list, in tipc_nametbl_translate()
573 publ = list_first_entry(&info->zone_list, in tipc_nametbl_translate()
585 publ = list_first_entry(&info->node_list, struct publication, in tipc_nametbl_translate()
591 publ = list_first_entry(&info->cluster_list, struct publication, in tipc_nametbl_translate()
595 publ = list_first_entry(&info->zone_list, struct publication, in tipc_nametbl_translate()
868 p = list_first_entry(&sseq->info->zone_list, struct publication, in __tipc_nl_add_nametable_publ()
1065 nl = list_first_entry(&pl->list, typeof(*nl), list); in tipc_plist_pop()
/linux-4.1.27/drivers/crypto/ccp/
Dccp-dev.c193 cmd = list_first_entry(&ccp->cmd, struct ccp_cmd, entry); in ccp_dequeue_cmd()
200 backlog = list_first_entry(&ccp->backlog, struct ccp_cmd, in ccp_dequeue_cmd()
509 cmd = list_first_entry(&ccp->cmd, struct ccp_cmd, entry); in ccp_destroy()
515 cmd = list_first_entry(&ccp->backlog, struct ccp_cmd, entry); in ccp_destroy()
/linux-4.1.27/drivers/s390/char/
Dsclp_con.c63 buffer = list_first_entry(&sclp_con_outqueue, in sclp_conbuf_callback()
91 buffer = list_first_entry(&sclp_con_outqueue, struct sclp_buffer, in sclp_conbuf_emit()
/linux-4.1.27/drivers/media/platform/s3c-camif/
Dcamif-core.h352 struct camif_buffer *buf = list_first_entry(&vp->active_buf_q, in camif_active_queue_pop()
387 struct camif_buffer *buf = list_first_entry(&vp->pending_buf_q, in camif_pending_queue_pop()
/linux-4.1.27/drivers/scsi/csiostor/
Dcsio_scsi.h197 req = list_first_entry(&scm->ioreq_freelist, in csio_get_scsi_ioreq()
227 ddp = list_first_entry(&scm->ddp_freelist, in csio_get_scsi_ddp()
/linux-4.1.27/drivers/media/v4l2-core/
Dv4l2-mem2mem.c110 b = list_first_entry(&q_ctx->rdy_queue, struct v4l2_m2m_buffer, list); in v4l2_m2m_next_buf()
130 b = list_first_entry(&q_ctx->rdy_queue, struct v4l2_m2m_buffer, list); in v4l2_m2m_buf_remove()
183 m2m_dev->curr_ctx = list_first_entry(&m2m_dev->job_queue, in v4l2_m2m_try_run()
581 src_vb = list_first_entry(&src_q->done_list, struct vb2_buffer, in v4l2_m2m_poll()
590 dst_vb = list_first_entry(&dst_q->done_list, struct vb2_buffer, in v4l2_m2m_poll()
Dv4l2-event.c53 kev = list_first_entry(&fh->available, struct v4l2_kevent, list); in __v4l2_event_dequeue()
268 sev = list_first_entry(&fh->subscribed, in v4l2_event_unsubscribe_all()
/linux-4.1.27/drivers/hwtracing/coresight/
Dcoresight.c244 if (cd == list_first_entry(path, struct coresight_device, in coresight_enable_path()
264 if (cd == list_first_entry(path, struct coresight_device, in coresight_enable_path()
282 if (cd == list_first_entry(path, struct coresight_device, in coresight_disable_path()
324 if (list_first_entry(path, struct coresight_device, path_link) != csdev) in coresight_build_paths()
/linux-4.1.27/include/linux/
Dlist.h362 #define list_first_entry(ptr, type, member) \ macro
385 (!list_empty(ptr) ? list_first_entry(ptr, type, member) : NULL)
447 for (pos = list_first_entry(head, typeof(*pos), member); \
521 for (pos = list_first_entry(head, typeof(*pos), member), \
Dmsi.h50 list_first_entry(dev_to_msi_list((dev)), struct msi_desc, list)
/linux-4.1.27/fs/nfs/filelayout/
Dfilelayoutdev.c180 da = list_first_entry(&dsaddrs, in nfs4_fl_alloc_deviceid_node()
194 da = list_first_entry(&dsaddrs, struct nfs4_pnfs_ds_addr, in nfs4_fl_alloc_deviceid_node()
/linux-4.1.27/drivers/dma/sh/
Drcar-dmac.c352 chunk = list_first_entry(&desc->chunks, in rcar_dmac_chan_start_xfer()
448 desc->running = list_first_entry(&desc->chunks, in rcar_dmac_tx_submit()
580 desc = list_first_entry(&chan->desc.free, struct rcar_dmac_desc, node); in rcar_dmac_desc_get()
648 chunk = list_first_entry(&chan->desc.chunks_free, in rcar_dmac_xfer_chunk_get()
1225 desc = list_first_entry(&rchan->desc.active, in rcar_dmac_issue_pending()
1300 list_first_entry(&desc->chunks, in rcar_dmac_isr_transfer_end()
1312 chan->desc.running = list_first_entry(&chan->desc.active, in rcar_dmac_isr_transfer_end()
1378 desc = list_first_entry(&chan->desc.done, struct rcar_dmac_desc, in rcar_dmac_isr_channel_thread()
/linux-4.1.27/drivers/usb/dwc3/
Dgadget.h68 return list_first_entry(list, struct dwc3_request, list); in next_request()
/linux-4.1.27/drivers/acpi/
Dacpi_platform.c94 entry = list_first_entry(list, in acpi_create_platform_device()
Dacpi_ipmi.c356 tx_msg = list_first_entry(&ipmi->tx_msg_list, in ipmi_flush_tx_msg()
643 ipmi_device = list_first_entry(&driver_data.ipmi_devices, in acpi_ipmi_exit()
Dscan.c266 node = list_first_entry(&adev->physical_node_list, in acpi_companion_match()
1287 adev = list_first_entry(&acpi_device_del_list, in acpi_device_del_work_fn()
1496 return list_first_entry(head, struct acpi_device, node); in acpi_get_next_child()
1957 hid = list_first_entry(&device->pnp.ids, struct acpi_hardware_id, list); in acpi_device_hid()
/linux-4.1.27/drivers/isdn/mISDN/
Dtimerdev.c82 timer = list_first_entry(list, struct mISDNtimer, list); in mISDN_close()
128 timer = list_first_entry(list, struct mISDNtimer, list); in mISDN_read()
/linux-4.1.27/sound/soc/intel/common/
Dsst-ipc.c47 msg = list_first_entry(&ipc->empty_list, struct ipc_message, in msg_get_empty()
162 msg = list_first_entry(&ipc->tx_list, struct ipc_message, list); in ipc_tx_msgs()
/linux-4.1.27/drivers/usb/host/whci/
Dasl.c149 qset = list_first_entry(&whc->async_list, struct whc_qset, list_node); in asl_start()
385 qset = list_first_entry(&whc->async_list, struct whc_qset, list_node); in asl_clean_up()
Dqset.c756 struct whc_std *std = list_first_entry(&qset->stds, struct whc_std, list_node); in process_inactive_qtd()
808 struct whc_std *std = list_first_entry(&qset->stds, struct whc_std, list_node); in process_halted_qtd()
/linux-4.1.27/drivers/usb/host/
Dehci-timer.c234 qh = list_first_entry(&ehci->intr_unlink_wait, in ehci_handle_start_intr_unlinks()
266 qh = list_first_entry(&ehci->intr_unlink, struct ehci_qh, in ehci_handle_intr_unlinks()
Dohci-q.c91 urb = list_first_entry(&ep->urb_list, struct urb, urb_list); in finish_urb()
996 td = list_first_entry(&ed->td_list, struct td, td_list); in finish_unlinks()
Dehci-q.c1315 qh = list_first_entry(&ehci->async_unlink, struct ehci_qh, in end_unlink_async()
1356 qh = list_first_entry(&ehci->async_idle, struct ehci_qh, in end_unlink_async()
/linux-4.1.27/fs/nilfs2/
Dgcinode.c191 ii = list_first_entry(head, struct nilfs_inode_info, i_dirty); in nilfs_remove_all_gcinodes()
Drecovery.c392 rb = list_first_entry(head, struct nilfs_recovery_block, list); in dispose_recovery_list()
421 ent = list_first_entry(head, struct nilfs_segment_entry, list); in nilfs_dispose_segment_list()
Dmdt.c605 bh = list_first_entry(head, struct buffer_head, in nilfs_release_frozen_buffers()
/linux-4.1.27/drivers/dca/
Ddca-core.c113 domain = list_first_entry(&dca_domains, struct dca_domain, node); in unregister_dca_providers()
168 domain = list_first_entry(&dca_domains, in dca_find_provider_by_dev()
/linux-4.1.27/net/batman-adv/
Dicmp_socket.c131 socket_packet = list_first_entry(&socket_client->queue_list, in batadv_socket_read()
357 socket_packet = list_first_entry(&socket_client->queue_list, in batadv_socket_add_packet()
/linux-4.1.27/arch/x86/kernel/cpu/
Dperf_event_intel_cqm.c174 entry = list_first_entry(&cqm_rmid_free_lru, struct cqm_rmid_entry, list); in __get_rmid()
460 leader = list_first_entry(&cache_groups, struct perf_event, in intel_cqm_sched_in_event()
605 rotor = list_first_entry(&cache_groups, struct perf_event, in __intel_cqm_pick_and_rotate()
1050 group_other = list_first_entry(&event->hw.cqm_group_entry, in intel_cqm_event_destroy()
/linux-4.1.27/fs/btrfs/
Dordered-data.c468 ordered = list_first_entry(logged_list, in btrfs_put_logged_extents()
494 ordered = list_first_entry(&log->logged_list[index], in btrfs_wait_logged_extents()
525 ordered = list_first_entry(&log->logged_list[index], in btrfs_free_logged_extents()
622 ordered = list_first_entry(&splice, struct btrfs_ordered_extent, in btrfs_wait_ordered_extents()
668 root = list_first_entry(&splice, struct btrfs_root, in btrfs_wait_ordered_roots()
Ddelayed-ref.c351 elem = list_first_entry(&fs_info->tree_mod_seq_list, in btrfs_merge_delayed_refs()
382 elem = list_first_entry(&fs_info->tree_mod_seq_list, in btrfs_check_delayed_seq()
Dqgroup.c170 list = list_first_entry(&qgroup->groups, in __del_qgroup_rb()
178 list = list_first_entry(&qgroup->members, in __del_qgroup_rb()
1296 list = list_first_entry(&qgroup->groups, in btrfs_remove_qgroup()
2220 oper = list_first_entry(&trans->qgroup_ref_list, in btrfs_delayed_qgroup_accounting()
2255 qgroup = list_first_entry(&fs_info->dirty_qgroups, in btrfs_run_qgroups()
Dbackref.c1017 ref = list_first_entry(&prefs, struct __prelim_ref, list);
1076 ref = list_first_entry(&prefs, struct __prelim_ref, list);
1081 ref = list_first_entry(&prefs_delayed, struct __prelim_ref,
/linux-4.1.27/drivers/crypto/qat/qat_common/
Dadf_dev_mgr.c121 dev = list_first_entry(&accel_table, struct adf_accel_dev, in adf_devmgr_get_first()
/linux-4.1.27/drivers/media/platform/soc_camera/
Dmx2_camera.c664 buf = list_first_entry(&pcdev->capture, struct mx2_buffer, in mx2_start_streaming()
673 buf = list_first_entry(&pcdev->capture, struct mx2_buffer, in mx2_start_streaming()
1299 ibuf = list_first_entry(&pcdev->active_bufs, struct mx2_buf_internal, in mx27_camera_frame_done_emma()
1354 ibuf = list_first_entry(&pcdev->discard, in mx27_camera_frame_done_emma()
1363 buf = list_first_entry(&pcdev->capture, struct mx2_buffer, in mx27_camera_frame_done_emma()
1400 ibuf = list_first_entry(&pcdev->active_bufs, in mx27_camera_emma_irq()
1412 ibuf = list_first_entry(&pcdev->active_bufs, in mx27_camera_emma_irq()
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
Dvmwgfx_marker.c140 marker = list_first_entry(&queue->head, in vmw_wait_lag()
/linux-4.1.27/drivers/net/ethernet/sfc/
Dmtd.c116 parts = list_first_entry(&efx->mtd_list, struct efx_mtd_partition, in efx_mtd_remove()
Dsiena_sriov.c1133 epp = list_first_entry( in efx_siena_sriov_peer_work()
1148 epp = list_first_entry( in efx_siena_sriov_peer_work()
1174 local_addr = list_first_entry(&nic_data->local_addr_list, in efx_siena_sriov_free_local()
1181 epp = list_first_entry(&nic_data->local_page_list, in efx_siena_sriov_free_local()
/linux-4.1.27/drivers/net/wireless/ath/
Ddfs_pri_detector.c137 pse = list_first_entry(&pseq_pool, struct pri_sequence, head); in pool_get_pseq_elem()
150 pe = list_first_entry(&pulse_pool, struct pulse_elem, head); in pool_get_pulse_elem()
/linux-4.1.27/drivers/media/usb/uvc/
Duvc_queue.c58 struct uvc_buffer *buf = list_first_entry(&queue->irqqueue, in uvc_queue_return_buffers()
396 nextbuf = list_first_entry(&queue->irqqueue, struct uvc_buffer, in uvc_queue_next_buffer()
/linux-4.1.27/net/sunrpc/
Dsched.c107 task = list_first_entry(q, struct rpc_task, u.tk_wait.list); in rpc_rotate_queue_owner()
514 return list_first_entry(&queue->tasks[0], struct rpc_task, u.tk_wait.list); in __rpc_find_next_queued()
571 task = list_first_entry(head, in rpc_wake_up()
600 task = list_first_entry(head, in rpc_wake_up_status()
Dbackchannel_rqst.c223 req = list_first_entry(&xprt->bc_pa_list, struct rpc_rqst, in xprt_alloc_bc_request()
Dsvc_xprt.c431 xprt = list_first_entry(&pool->sp_sockets, in svc_xprt_dequeue()
947 u = list_first_entry(&xprt->xpt_users, struct svc_xpt_user, list); in call_xpt_users()
/linux-4.1.27/fs/ecryptfs/
Dkthread.c73 req = list_first_entry(&ecryptfs_kthread_ctl.req_list, in ecryptfs_threadfn()
Dmiscdev.c272 msg_ctx = list_first_entry(&daemon->msg_ctx_out_queue, in ecryptfs_miscdev_read()
/linux-4.1.27/drivers/infiniband/hw/mlx4/
Dmcg.c546 req = list_first_entry(&group->pending_list, struct mcast_req, group_list); in mlx4_ib_mcg_timeout_handler()
670 req = list_first_entry(&group->pending_list, in mlx4_ib_mcg_work_handler()
706 req = list_first_entry(&group->pending_list, struct mcast_req, in mlx4_ib_mcg_work_handler()
765 req = list_first_entry(&group->pending_list, in search_relocate_mgid0_group()
1009 req = list_first_entry(&group->pending_list, struct mcast_req, group_list); in sysfs_show_group()
1169 group_first = list_first_entry(&group->pending_list, struct mcast_req, group_list); in clear_pending_reqs()
/linux-4.1.27/drivers/gpu/drm/rcar-du/
Drcar_du_encoder.c81 panel_mode = list_first_entry(&connector->modes, in rcar_du_encoder_atomic_check()
/linux-4.1.27/net/core/
Dlink_watch.c194 dev = list_first_entry(&wrk, struct net_device, link_watch_list); in __linkwatch_run_queue()
Ddev_addr_lists.c378 ha = list_first_entry(&dev->dev_addrs.list, in dev_addr_init()
434 ha = list_first_entry(&dev->dev_addrs.list, in dev_addr_del()
/linux-4.1.27/drivers/uwb/
Dneh.c559 neh = list_first_entry(&rc->neh_list, struct uwb_rc_neh, list_node); in uwb_rc_neh_error()
615 neh = list_first_entry(&rc->neh_list, struct uwb_rc_neh, list_node); in uwb_rc_neh_destroy()
Duwbd.c286 evt = list_first_entry(&rc->uwbd.event_list, struct uwb_event, list_node); in uwbd()
/linux-4.1.27/drivers/staging/nvec/
Dnvec.c386 msg = list_first_entry(&nvec->tx_data, struct nvec_msg, node); in nvec_request_master()
449 msg = list_first_entry(&nvec->rx_data, struct nvec_msg, node); in nvec_dispatch()
559 nvec->tx = list_first_entry(&nvec->tx_data, struct nvec_msg, in nvec_tx_set()
/linux-4.1.27/kernel/locking/
Dsemaphore.c258 struct semaphore_waiter *waiter = list_first_entry(&sem->wait_list, in __up()
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
Domapdss-boot-init.c213 n = list_first_entry(&dss_conv_list, struct dss_conv_node, in omapdss_boot_init()
Ddisplay.c224 dssdev = list_first_entry(&panel_list, struct omap_dss_device, in omap_dss_get_next_device()
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvif/
Dlist.h276 #define list_first_entry(ptr, type, member) \ macro
/linux-4.1.27/security/apparmor/
Dapparmorfs.c576 next = list_first_entry(&ns->sub_ns, typeof(*ns), base.list); in __next_namespace()
610 return list_first_entry(&ns->base.profiles, in __first_profile()
632 return list_first_entry(&p->base.profiles, typeof(*p), in __next_profile()
/linux-4.1.27/drivers/scsi/fnic/
Dfnic_fcs.c446 vlan = list_first_entry(&fnic->vlans, struct fcoe_vlan, list); in fnic_fcoe_process_vlan_resp()
468 vlan = list_first_entry(&fnic->vlans, struct fcoe_vlan, list); in fnic_fcoe_start_fcf_disc()
492 fvlan = list_first_entry(&fnic->vlans, struct fcoe_vlan, list); in fnic_fcoe_vlan_check()
1294 vlan = list_first_entry(&fnic->vlans, struct fcoe_vlan, list); in fnic_handle_fip_timer()
1334 vlan = list_first_entry(&fnic->vlans, struct fcoe_vlan, in fnic_handle_fip_timer()
/linux-4.1.27/drivers/hsi/controllers/
Domap_ssi_port.c317 msg = list_first_entry(queue, struct hsi_msg, link); in ssi_start_transfer()
612 msg = list_first_entry(queue, struct hsi_msg, link); in ssi_transfer()
644 msg = list_first_entry(&omap_port->txqueue[i], struct hsi_msg, in ssi_cleanup_queues()
657 msg = list_first_entry(&omap_port->rxqueue[i], struct hsi_msg, in ssi_cleanup_queues()
807 msg = list_first_entry(&omap_port->rxqueue[i], struct hsi_msg, in ssi_error()
861 msg = list_first_entry(queue, struct hsi_msg, link); in ssi_pio_complete()
/linux-4.1.27/virt/kvm/
Dasync_pf.c144 work = list_first_entry(&vcpu->async_pf.done, typeof(*work), in kvm_check_async_pf_completion()
/linux-4.1.27/kernel/
Dasync.c99 ret = list_first_entry(pending, struct async_entry, in lowest_in_progress()
Dstop_machine.c458 work = list_first_entry(&stopper->works, in cpu_stopper_thread()
Dkthread.c567 work = list_first_entry(&worker->work_list, in kthread_worker_fn()
Dworkqueue.c833 return list_first_entry(&pool->idle_list, struct worker, entry); in first_idle_worker()
1137 struct work_struct *work = list_first_entry(&pwq->delayed_works, in pwq_activate_first_delayed()
2134 struct work_struct *work = list_first_entry(&worker->scheduled, in process_scheduled_works()
2203 list_first_entry(&pool->worklist, in worker_thread()
2285 struct pool_workqueue *pwq = list_first_entry(&wq->maydays, in rescuer_thread()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dramnv50.c227 this = list_first_entry(&mem->regions, typeof(*this), rl_entry); in __nv50_ram_put()
308 r = list_first_entry(&mem->regions, struct nvkm_mm_node, rl_entry); in nv50_ram_get()
/linux-4.1.27/drivers/dma/ppc4xx/
Dadma.c379 iter = list_first_entry(&desc->group_list, in ppc440spe_desc_init_dma01pq()
386 iter = list_first_entry(&iter->chain_node, in ppc440spe_desc_init_dma01pq()
394 iter = list_first_entry(&iter->chain_node, in ppc440spe_desc_init_dma01pq()
410 iter = list_first_entry(&desc->group_list, in ppc440spe_desc_init_dma01pq()
417 iter = list_first_entry(&iter->chain_node, in ppc440spe_desc_init_dma01pq()
426 iter = list_first_entry(&iter->chain_node, in ppc440spe_desc_init_dma01pq()
457 iter = list_first_entry(&desc->group_list, in ppc440spe_desc_init_dma01pqzero_sum()
2128 iter = list_first_entry(&sw_desc->group_list, in ppc440spe_dma01_prep_mult()
2152 iter = list_first_entry(&iter->chain_node, in ppc440spe_dma01_prep_mult()
2212 iter = list_first_entry(&sw_desc->group_list, in ppc440spe_dma01_prep_sum_product()
[all …]
/linux-4.1.27/tools/perf/util/
Dthread.c104 return list_first_entry(&thread->comm_list, struct comm, list); in thread__comm()
/linux-4.1.27/fs/ceph/
Dsnap.c235 realm = list_first_entry(&mdsc->snap_empty, in __cleanup_empty_realms()
733 realm = list_first_entry(&dirty_realms, struct ceph_snap_realm, in ceph_update_snap_trace()
773 ci = list_first_entry(&mdsc->snap_flush_list, in flush_snaps()
Dmds_client.c1010 msg = list_first_entry(&session->s_cap_releases, in cleanup_cap_releases()
1016 msg = list_first_entry(&session->s_cap_releases_done, in cleanup_cap_releases()
1033 req = list_first_entry(&session->s_unsafe, in cleanup_session_requests()
1447 msg = list_first_entry(&session->s_cap_releases, in ceph_add_cap_releases()
1565 msg = list_first_entry(&session->s_cap_releases_done, in ceph_send_cap_releases()
1588 msg = list_first_entry(&session->s_cap_releases, in discard_cap_releases()
1601 msg = list_first_entry(&session->s_cap_releases_done, in discard_cap_releases()
2950 struct page *page = list_first_entry(&pagelist->head, in send_mds_reconnect()
Dcaps.c130 cap = list_first_entry(&mdsc->caps_list, in ceph_caps_finalize()
253 cap = list_first_entry(&mdsc->caps_list, struct ceph_cap, caps_item); in ceph_get_cap()
1065 msg = list_first_entry(&session->s_cap_releases, in __queue_cap_release()
2329 capsnap = list_first_entry(&ci->i_cap_snaps, in ceph_put_cap_refs()
3287 ci = list_first_entry(&mdsc->cap_delay_list, in ceph_check_delayed_caps()
3312 ci = list_first_entry(&mdsc->cap_dirty, struct ceph_inode_info, in ceph_flush_dirty_caps()
/linux-4.1.27/drivers/input/serio/
Dserio.c176 event = list_first_entry(&serio_event_list, in serio_get_event()
633 s = list_first_entry(&s->children, in serio_reconnect_subtree()
674 s = list_first_entry(&s->children, in serio_disconnect_port()
/linux-4.1.27/drivers/infiniband/hw/usnic/
Dusnic_uiom.c262 chunk = list_first_entry(&uiomr->chunk_list, struct usnic_uiom_chunk, in usnic_uiom_map_sorted_intervals()
322 chunk = list_first_entry(&chunk->list, in usnic_uiom_map_sorted_intervals()
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
Dxmit.c372 bf = list_first_entry(&sc->tx.txbuf, struct ath_buf, list); in ath_tx_get_buffer()
1681 bf = list_first_entry(&bf_q, struct ath_buf, list); in ath9k_release_buffered_frames()
1818 bf = list_first_entry(list, struct ath_buf, list); in ath_drain_txq_list()
1946 ac = list_first_entry(ac_list, struct ath_atx_ac, list); in ath_txq_schedule()
1953 tid = list_first_entry(&ac->tid_q, struct ath_atx_tid, in ath_txq_schedule()
2034 bf = list_first_entry(head, struct ath_buf, list); in ath_tx_txqaddbuf()
2470 bf = list_first_entry(&bf_q, struct ath_buf, list); in ath_tx_cabq()
2662 bf = list_first_entry(&txq->axq_q, struct ath_buf, list); in ath_tx_processq()
2774 bf = list_first_entry(fifo_list, struct ath_buf, list); in ath_tx_edma_tasklet()
2778 bf = list_first_entry(fifo_list, struct ath_buf, list); in ath_tx_edma_tasklet()
Drecv.c122 bf = list_first_entry(&sc->rx.rxbuf, struct ath_rxbuf, list); in ath_rx_edma_buf_link()
465 bf = list_first_entry(&sc->rx.rxbuf, struct ath_rxbuf, list); in ath_startrecv()
711 bf = list_first_entry(&sc->rx.rxbuf, struct ath_rxbuf, list); in ath_get_next_rx_buf()
/linux-4.1.27/drivers/dma/xilinx/
Dxilinx_vdma.c634 desc = list_first_entry(&chan->pending_list, in xilinx_vdma_start_transfer()
649 head = list_first_entry(&desc->segments, in xilinx_vdma_start_transfer()
989 segment = list_first_entry(&desc->segments, in xilinx_vdma_dma_prep_interleaved()
/linux-4.1.27/fs/nfs/flexfilelayout/
Dflexfilelayoutdev.c145 da = list_first_entry(&dsaddrs, in nfs4_ff_alloc_deviceid_node()
158 da = list_first_entry(&dsaddrs, struct nfs4_pnfs_ds_addr, in nfs4_ff_alloc_deviceid_node()
/linux-4.1.27/drivers/md/bcache/
Dalloc.c546 ret = ret_task ?: list_first_entry(&c->data_buckets, in pick_data_bucket()
663 b = list_first_entry(&c->data_buckets, in bch_open_buckets_free()
Djournal.c102 i = list_first_entry(list, in journal_read_bucket()
356 i = list_first_entry(list, struct journal_replay, list); in bch_journal_replay()
/linux-4.1.27/drivers/usb/gadget/udc/
Dgr_udc.c395 req = list_first_entry(&ep->queue, struct gr_request, queue); in gr_start_dma()
431 req = list_first_entry(&ep->queue, struct gr_request, queue); in gr_dma_advance()
681 req = list_first_entry(&ep->queue, struct gr_request, queue); in gr_ep_nuke()
1261 req = list_first_entry(&ep->queue, struct gr_request, queue); in gr_handle_in_ep()
1290 req = list_first_entry(&ep->queue, struct gr_request, queue); in gr_handle_out_ep()
1742 if (list_first_entry(&ep->queue, struct gr_request, queue) == req) { in gr_dequeue()
Dbcm63xx_udc.c1210 cur = list_first_entry(&bep->queue, struct bcm63xx_req, queue); in bcm63xx_udc_dequeue()
1220 next = list_first_entry(&bep->queue, in bcm63xx_udc_dequeue()
2072 breq = list_first_entry(&bep->queue, struct bcm63xx_req, queue); in bcm63xx_udc_data_isr()
2087 next = list_first_entry(&bep->queue, in bcm63xx_udc_data_isr()
Dudc-xilinx.c739 req = list_first_entry(&ep->queue, struct xusb_req, queue); in xudc_nuke()
1809 req = list_first_entry(&ep0->queue, struct xusb_req, queue); in xudc_ep0_out()
1862 req = list_first_entry(&ep0->queue, struct xusb_req, queue); in xudc_ep0_in()
1962 req = list_first_entry(&ep->queue, struct xusb_req, queue); in xudc_nonctrl_ep_handler()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/timer/
Dnv04.c59 alarm = list_first_entry(&priv->alarms, typeof(*alarm), head); in nv04_timer_alarm_trigger()
/linux-4.1.27/drivers/thunderbolt/
Dnhi.c184 frame = list_first_entry(&ring->in_flight, typeof(*frame), in ring_work()
217 frame = list_first_entry(&done, typeof(*frame), list); in ring_work()
/linux-4.1.27/drivers/media/usb/usbtv/
Dusbtv-video.c308 buf = list_first_entry(&usbtv->bufs, struct usbtv_buf, list); in usbtv_image_chunk()
423 struct usbtv_buf *buf = list_first_entry(&usbtv->bufs, in usbtv_stop()
/linux-4.1.27/crypto/
Dalgif_skcipher.c170 sgl = list_first_entry(&ctx->tsgl, struct skcipher_sg_list, in skcipher_pull_sgl()
553 sgl = list_first_entry(&ctx->tsgl, in skcipher_recvmsg_async()
651 sgl = list_first_entry(&ctx->tsgl, in skcipher_recvmsg_sync()
Dalgapi.c91 spawn = list_first_entry(stack, struct crypto_spawn, list); in crypto_more_spawns()
150 spawn = list_first_entry(spawns, struct crypto_spawn, in crypto_remove_spawns()
/linux-4.1.27/drivers/media/usb/stkwebcam/
Dstk-webcam.c336 fb = list_first_entry(&dev->sio_avail, in stk_isoc_handler()
383 fb = list_first_entry(&dev->sio_avail, in stk_isoc_handler()
696 sbuf = list_first_entry(&dev->sio_full, struct stk_sio_buffer, list); in stk_read()
1131 sbuf = list_first_entry(&dev->sio_full, struct stk_sio_buffer, list); in stk_vidioc_dqbuf()
/linux-4.1.27/drivers/media/platform/omap3isp/
Dispvideo.c462 buf = list_first_entry(&video->dmaqueue, struct isp_buffer, in omap3isp_video_buffer_next()
522 buf = list_first_entry(&video->dmaqueue, struct isp_buffer, in omap3isp_video_buffer_next()
546 buf = list_first_entry(&video->dmaqueue, in omap3isp_video_cancel_stream()
578 buf = list_first_entry(&video->dmaqueue, in omap3isp_video_resume()
/linux-4.1.27/drivers/gpu/drm/exynos/
Dexynos_drm_g2d.c325 node = list_first_entry(&g2d->free_cmdlist, struct g2d_cmdlist_node, in g2d_get_cmdlist()
815 list_first_entry(&runqueue_node->run_cmdlist, in g2d_dma_start()
834 runqueue_node = list_first_entry(&g2d->runqueue, in g2d_get_runqueue_node()
898 e = list_first_entry(&runqueue_node->event_list, in g2d_finish_event()
Dexynos_drm_ipp.c1240 m_node = list_first_entry(head, in ipp_start_property()
1456 m_node = list_first_entry(head, in ipp_send_event()
1492 m_node = list_first_entry(head, in ipp_send_event()
1518 e = list_first_entry(&c_node->event_list, in ipp_send_event()
Dexynos_drm_dsi.c955 xfer = list_first_entry(&dsi->transfer_list, in exynos_dsi_transfer_start()
996 xfer = list_first_entry(&dsi->transfer_list, in exynos_dsi_transfer_finish()
1037 xfer == list_first_entry(&dsi->transfer_list, in exynos_dsi_remove_transfer()
/linux-4.1.27/net/sched/
Dsch_qfq.c332 if (list_first_entry(&agg->active, struct qfq_class, alist) == in qfq_add_to_agg()
1021 *cl = list_first_entry(&agg->active, struct qfq_class, alist); in qfq_peek_skb()
1264 list_first_entry(&agg->active, struct qfq_class, alist) in qfq_enqueue()
1275 if (list_first_entry(&agg->active, struct qfq_class, alist) != cl || in qfq_enqueue()
/linux-4.1.27/drivers/usb/isp1760/
Disp1760-udc.c311 req = list_first_entry(&ep->queue, struct isp1760_request, in isp1760_ep_rx_ready()
355 req = list_first_entry(&ep->queue, struct isp1760_request, in isp1760_ep_tx_complete()
380 req = list_first_entry(&ep->queue, in isp1760_ep_tx_complete()
438 req = list_first_entry(&ep->queue, in __isp1760_udc_set_halt()
/linux-4.1.27/drivers/platform/olpc/
Dolpc-ec.c75 desc = list_first_entry(&ec->cmd_q, struct ec_cmd_desc, node); in olpc_ec_worker()
/linux-4.1.27/drivers/staging/ozwpan/
Dozeltbuf.c194 list_first_entry(&st->elt_list, in oz_queue_elt_info()
Dozproto.c479 list_first_entry(&g_pd_list, struct oz_pd, link); in oz_protocol_term()
716 pd = list_first_entry(&h, struct oz_pd, link); in pd_stop_all_for_device()
/linux-4.1.27/drivers/gpu/drm/
Ddrm_modeset_lock.c319 lock = list_first_entry(&ctx->locked, in drm_modeset_drop_locks()
Ddrm_fops.c513 e = list_first_entry(&file_priv->event_list, in drm_read()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dcfg80211.h444 vif = list_first_entry(&cfg->vif_list, struct brcmf_cfg80211_vif, list); in cfg_to_ndev()
Dfweh.c241 event = list_first_entry(&fweh->event_q, in brcmf_fweh_dequeue_event()
/linux-4.1.27/drivers/media/usb/go7007/
Dgo7007-driver.c456 list_first_entry(&go->vidq_active, struct go7007_buffer, list); in frame_boundary()
475 vb = list_first_entry(&go->vidq_active, struct go7007_buffer, list); in frame_boundary()
/linux-4.1.27/drivers/net/wireless/libertas_tf/
Dcmd.c543 tempnode = list_first_entry(&priv->cmdfreeq, in lbtf_get_cmd_ctrl_node()
586 cmdnode = list_first_entry(&priv->cmdpendingq, in lbtf_execute_next_command()
/linux-4.1.27/block/
Dblk-mq.c558 rq = list_first_entry(&rq_list, struct request, queuelist); in blk_mq_abort_requeue_list()
813 rq = list_first_entry(&rq_list, struct request, queuelist); in __blk_mq_run_hw_queue()
1082 rq = list_first_entry(list, struct request, queuelist); in blk_mq_insert_requests()
1419 page = list_first_entry(&tags->page_list, struct page, lru); in blk_mq_free_rq_map()
1572 rq = list_first_entry(&tmp, struct request, queuelist); in blk_mq_hctx_cpu_offline()
Dblk-flush.c288 list_first_entry(pending, struct request, flush.list); in blk_kick_flush()
Dblk-throttle.c293 struct throtl_grp *tg = list_first_entry(&tg_stats_alloc_list, in tg_stats_alloc_fn()
339 struct throtl_qnode *qn = list_first_entry(queued, struct throtl_qnode, node); in throtl_peek_queued()
367 struct throtl_qnode *qn = list_first_entry(queued, struct throtl_qnode, node); in throtl_pop_queued()
/linux-4.1.27/drivers/staging/media/omap4iss/
Diss_video.c431 buf = list_first_entry(&video->dmaqueue, struct iss_buffer, in omap4iss_video_buffer_next()
480 buf = list_first_entry(&video->dmaqueue, struct iss_buffer, in omap4iss_video_buffer_next()
503 buf = list_first_entry(&video->dmaqueue, struct iss_buffer, in omap4iss_video_cancel_stream()
/linux-4.1.27/fs/nfs/
Dcallback.c134 req = list_first_entry(&serv->sv_cb_list, in nfs41_callback_svc()
Dpnfs_nfs.c78 bucket = list_first_entry(&req->wb_list, in pnfs_generic_clear_request_commit()
414 da = list_first_entry(&ds->ds_addrs, in destroy_ds()
/linux-4.1.27/drivers/gpu/host1x/
Dintr.c104 list_first_entry(head, struct host1x_waitlist, list)->thresh; in reset_threshold_interrupt()
/linux-4.1.27/arch/s390/kernel/
Dvtime.c235 timer = list_first_entry(&virt_timer_list, in virt_timer_expire()
/linux-4.1.27/drivers/gpu/drm/amd/amdkfd/
Dkfd_process.c417 return list_first_entry(&p->per_device_data, in kfd_get_first_process_device_data()
/linux-4.1.27/arch/mips/kernel/
Dvpe-mt.c57 t = list_first_entry(&v->tc, struct tc, tc); in vpe_run()
/linux-4.1.27/drivers/macintosh/
Dwindfarm_smu_sat.c340 sens = list_first_entry(&sat->sensors, in wf_sat_remove()
Dwindfarm_fcu_controls.c572 fan = list_first_entry(&pv->fan_list, struct wf_fcu_fan, link); in wf_fcu_remove()
/linux-4.1.27/fs/
Deventpoll.c539 pwq = list_first_entry(lsthead, struct eppoll_entry, llink); in ep_unregister_pollwait()
1486 epi = list_first_entry(head, struct epitem, rdllink); in ep_send_events_proc()
1754 file = list_first_entry(&tfile_check_list, struct file, in clear_tfile_check_list()
Dpnode.c105 slave_mnt = list_first_entry(p, in do_make_slave()
Dlocks.c300 fl = list_first_entry(dispose, struct file_lock, fl_list); in locks_dispose_list()
671 waiter = list_first_entry(&blocker->fl_block, in locks_wake_up_blocks()
1450 fl = list_first_entry(&ctx->flc_lease, struct file_lock, fl_list); in __break_lease()
1503 fl = list_first_entry(&ctx->flc_lease, in lease_get_mtime()
/linux-4.1.27/drivers/block/xen-blkback/
Dblkback.c120 page[0] = list_first_entry(&blkif->free_pages, struct page, lru); in get_free_page()
151 page[num_pages] = list_first_entry(&blkif->free_pages, in shrink_free_pagepool()
324 persistent_gnt = list_first_entry(&blkif->persistent_purge_list, in xen_blkbk_unmap_purged_grants()
/linux-4.1.27/drivers/base/
Ddd.c78 private = list_first_entry(&deferred_probe_active_list, in deferred_probe_work_func()
Dcomponent.c141 struct component *c = list_first_entry(&master->components, in master_remove_components()
/linux-4.1.27/arch/powerpc/platforms/cell/
Daxon_msi.c215 entry = list_first_entry(&dev->msi_list, struct msi_desc, list); in setup_msi_msg_address()
Dspu_manage.c474 last_spu = list_first_entry(&cbe_spu_info[cbe].spus, struct spu, in init_affinity_node()
/linux-4.1.27/mm/
Dzbud.c357 zhdr = list_first_entry(&pool->unbuddied[i], in zbud_alloc()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_sa.c274 sa_bo = list_first_entry(&sa_manager->flist[i], in radeon_sa_bo_next_hole()
Dradeon_vm.c1052 bo_va = list_first_entry(&vm->freed, in radeon_vm_clear_freed()
1089 bo_va = list_first_entry(&vm->invalidated, in radeon_vm_clear_invalids()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dclip_tbl.c106 ce = list_first_entry(&ctbl->ce_free_head, in cxgb4_clip_get()
/linux-4.1.27/drivers/vfio/
Dvfio_iommu_type1.c351 domain = d = list_first_entry(&iommu->domain_list, in vfio_unmap_unpin()
649 d = list_first_entry(&iommu->domain_list, struct vfio_domain, next); in vfio_iommu_replay()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Dalloc.c293 struct mlx4_zone_entry *next = list_first_entry(&entry->list, in __mlx4_zone_remove_one_entry()
399 curr_node = list_first_entry(&curr_node->prio_list, in __mlx4_alloc_from_zone()
/linux-4.1.27/drivers/usb/gadget/
Dcomposite.c800 f = list_first_entry(&config->functions, in usb_add_config()
854 f = list_first_entry(&config->functions, in remove_config()
1804 f = list_first_entry(&c->functions, struct usb_function, in composite_setup()
1876 c = list_first_entry(&cdev->configs, in __composite_unbind()
/linux-4.1.27/drivers/tty/ipwireless/
Dhardware.c564 packet = list_first_entry(&hw->rx_pool, in pool_allocate()
711 list_first_entry(&hw->rx_queue, in ipw_receive_data_work()
967 packet = list_first_entry( in send_pending_packet()
/linux-4.1.27/fs/xfs/
Dxfs_buf.c1549 bp = list_first_entry(&dispose, struct xfs_buf, b_lru); in xfs_wait_buftarg()
1611 bp = list_first_entry(&dispose, struct xfs_buf, b_lru); in xfs_buftarg_shrink_scan()
1885 bp = list_first_entry(&io_list, struct xfs_buf, b_list); in xfs_buf_delwri_submit()
Dxfs_trans_ail.c89 return list_first_entry(&lip->li_ail, xfs_log_item_t, li_ail); in xfs_ail_next()
/linux-4.1.27/drivers/net/ethernet/ti/
Dcpts.c78 event = list_first_entry(&cpts->pool, struct cpts_event, list); in cpts_fifo_read()
/linux-4.1.27/arch/powerpc/platforms/pseries/
Dmsi.c210 edev = list_first_entry(&edev->pe->edevs, struct eeh_dev, list); in find_pe_dn()
/linux-4.1.27/drivers/media/usb/stk1160/
Dstk1160-video.c85 buf = list_first_entry(&dev->avail_bufs, in stk1160_next_buffer()
/linux-4.1.27/drivers/staging/octeon-usb/
Docteon-hcd.c1378 list_first_entry(&pipe->transactions, typeof(*transaction), in cvmx_usb_start_channel_control()
1524 list_first_entry(&pipe->transactions, typeof(*transaction), in cvmx_usb_start_channel()
1874 list_first_entry(&pipe->transactions, typeof(*t), in cvmx_usb_find_ready_pipe()
2338 if (list_first_entry(&pipe->transactions, typeof(*transaction), node) == in cvmx_usb_cancel()
2527 transaction = list_first_entry(&pipe->transactions, in cvmx_usb_poll_channel()
/linux-4.1.27/drivers/net/wireless/iwlwifi/pcie/
Drx.c232 rxb = list_first_entry(&rxq->rx_free, struct iwl_rx_mem_buffer, in iwl_pcie_rxq_restock()
316 rxb = list_first_entry(&rxq->rx_used, struct iwl_rx_mem_buffer, in iwl_pcie_rxq_alloc_rbs()
/linux-4.1.27/arch/arm/plat-samsung/
Dadc.c134 next = list_first_entry(&adc_pending, in s3c_adc_try()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dgk20a.c169 r = list_first_entry(&_node->mem->regions, struct nvkm_mm_node, in gk20a_instobj_dtor_iommu()
/linux-4.1.27/drivers/scsi/lpfc/
Dlpfc_mem.c268 device_data = list_first_entry(&phba->luns, in lpfc_mem_free()
/linux-4.1.27/drivers/infiniband/hw/mlx5/
Dmr.c202 mr = list_first_entry(&ent->head, struct mlx5_ib_mr, list); in remove_keys()
432 mr = list_first_entry(&ent->head, struct mlx5_ib_mr, in alloc_cached_mr()
493 mr = list_first_entry(&ent->head, struct mlx5_ib_mr, list); in clean_keys()
/linux-4.1.27/drivers/misc/carma/
Dcarma-fpga.c802 buf = list_first_entry(&priv->free, struct data_buf, entry); in data_irq()
1195 dbuf = list_first_entry(used, struct data_buf, entry); in data_read()
/linux-4.1.27/drivers/media/pci/sta2x11/
Dsta2x11_vip.c254 vip->active = list_first_entry(&vip->buffer_list, in vip_active_buf_next()
322 vip->active = list_first_entry(&vip->buffer_list, in buffer_queue()
/linux-4.1.27/kernel/time/
Dtimer.c1209 timer = list_first_entry(head, struct timer_list,entry); in __run_timers()
1553 timer = list_first_entry(head, struct timer_list, entry); in migrate_timer_list()
/linux-4.1.27/drivers/staging/media/dt3155v4l/
Ddt3155v4l.c273 vb = list_first_entry(&pd->dmaq, typeof(*vb), done_entry); in dt3155_stop_streaming()
350 ivb = list_first_entry(&ipd->dmaq, typeof(*ivb), done_entry); in dt3155_irq_handler_even()
/linux-4.1.27/drivers/scsi/
Dmvumi.c377 cmd = list_first_entry(&mhba->cmd_pool, struct mvumi_cmd, in mvumi_free_cmds()
418 cmd = list_first_entry(&mhba->cmd_pool, struct mvumi_cmd, in mvumi_alloc_cmds()
584 list_first_entry(&mhba->ob_data_list, in mvumi_receive_ob_list_entry()
1808 pool = list_first_entry(&mhba->free_ob_list, in mvumi_handle_clob()
1910 cmd = list_first_entry(&mhba->waiting_req_list, in mvumi_fire_cmd()
/linux-4.1.27/fs/proc/
Dinode.c174 pdeo = list_first_entry(&de->pde_openers, struct pde_opener, lh); in proc_entry_rundown()
/linux-4.1.27/drivers/spi/
Dspi-mpc52xx.c159 ms->message = list_first_entry(&ms->queue, struct spi_message, queue); in mpc52xx_spi_fsmstate_idle()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/pm/
Dbase.c188 ctr = list_first_entry(&dom->list, in nvkm_perfctr_sample()
/linux-4.1.27/fs/nfsd/
Dnfscache.c211 rp = list_first_entry(head, struct svc_cacherep, c_lru); in nfsd_reply_cache_shutdown()
/linux-4.1.27/drivers/media/platform/marvell-ccic/
Dmcam-core.c452 buf = list_first_entry(&cam->buffers, struct mcam_vb_buffer, in mcam_frame_tasklet()
548 buf = list_first_entry(&cam->buffers, struct mcam_vb_buffer, in mcam_set_contig_buffer()
627 buf = list_first_entry(&cam->buffers, struct mcam_vb_buffer, queue); in mcam_sg_next_buffer()
/linux-4.1.27/sound/soc/codecs/
Dwm_adsp.c189 struct wm_adsp_buf *buf = list_first_entry(list, in wm_adsp_buf_free()
1452 alg_region = list_first_entry(&dsp->alg_regions, in wm_adsp1_event()
1675 alg_region = list_first_entry(&dsp->alg_regions, in wm_adsp2_event()
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
Dspectral.c171 return list_first_entry(&ar->arvifs, typeof(*arvif), list); in ath10k_get_spectral_vdev()
/linux-4.1.27/drivers/xen/
Dprivcmd.c258 struct page *page = list_first_entry(&pagelist, in privcmd_ioctl_mmap()
/linux-4.1.27/drivers/misc/cxl/
Dirq.c462 irq_name = list_first_entry(&ctx->irq_names, struct cxl_irq_name, list); in afu_register_irqs()
/linux-4.1.27/drivers/hsi/clients/
Dssi_protocol.c243 msg = list_first_entry(&ssi->cmdqueue, struct hsi_msg, link); in ssip_claim_cmd()
585 dmsg = list_first_entry(&ssi->txqueue, struct hsi_msg, link); in ssip_xmit()

123