Home
last modified time | relevance | path

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

123

/linux-4.4.14/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.c73 list_first_entry(&pool->cache_list[n], 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()
235 vma = list_first_entry(&eb->vmas, in eb_destroy()
703 vm = list_first_entry(vmas, struct i915_vma, exec_list)->vm; in i915_gem_execbuffer_reserve()
710 vma = list_first_entry(vmas, struct i915_vma, exec_list); in i915_gem_execbuffer_reserve()
805 vm = list_first_entry(&eb->vmas, struct i915_vma, exec_list)->vm; in i915_gem_execbuffer_relocate_slow()
809 vma = list_first_entry(&eb->vmas, struct i915_vma, exec_list); in i915_gem_execbuffer_relocate_slow()
Di915_gem_shrinker.c121 obj = list_first_entry(phase->list, in i915_gem_shrink()
/linux-4.4.14/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()
/linux-4.4.14/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.4.14/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.4.14/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.c455 mark = list_first_entry(&to_free, struct fsnotify_mark, g_list); in fsnotify_clear_marks_by_group_flags()
/linux-4.4.14/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.c83 hidinput = list_first_entry(&hdev->inputs, struct hid_input, list); in elo_raw_event()
/linux-4.4.14/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()
Dtegra20-apb-dma.c331 sg_req = list_first_entry(&tdc->free_sg_req, in tegra_dma_sg_req_get()
514 sg_req = list_first_entry(&tdc->pending_sg_req, in tdc_start_head_req()
529 hsgreq = list_first_entry(&tdc->pending_sg_req, typeof(*hsgreq), node); in tdc_configure_next_head_desc()
531 hnsgreq = list_first_entry(&hsgreq->node, in tdc_configure_next_head_desc()
549 sgreq = list_first_entry(&tdc->pending_sg_req, in tegra_dma_abort_all()
583 hsgreq = list_first_entry(&tdc->pending_sg_req, typeof(*hsgreq), node); in handle_continuous_head_request()
604 sgreq = list_first_entry(&tdc->pending_sg_req, typeof(*sgreq), node); in handle_once_dma_done()
633 sgreq = list_first_entry(&tdc->pending_sg_req, typeof(*sgreq), node); in handle_cont_sngl_cycle_dma_done()
663 dma_desc = list_first_entry(&tdc->cb_desc, in tegra_dma_tasklet()
780 sgreq = list_first_entry(&tdc->pending_sg_req, in tegra_dma_terminate_all()
[all …]
Dsirf-dma.c249 sdesc = list_first_entry(&schan->queued, struct sirfsoc_dma_desc, in sirfsoc_dma_execute()
285 sdesc = list_first_entry(&schan->active, in sirfsoc_dma_irq()
307 sdesc = list_first_entry(&schan->active, in sirfsoc_dma_irq()
382 sdesc = list_first_entry(&schan->active, in sirfsoc_dma_process_completed()
665 sdesc = list_first_entry(&schan->active, struct sirfsoc_dma_desc, node); in sirfsoc_dma_tx_status()
710 sdesc = list_first_entry(&schan->free, struct sirfsoc_dma_desc, in sirfsoc_dma_prep_interleaved()
786 sdesc = list_first_entry(&schan->free, struct sirfsoc_dma_desc, in sirfsoc_dma_prep_cyclic()
1051 sdesc = list_first_entry(&schan->active, in sirfsoc_dma_pm_suspend()
1097 sdesc = list_first_entry(&schan->active, in sirfsoc_dma_pm_resume()
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()
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()
Dat_xdmac.c476 desc = list_first_entry(&atchan->free_descs_list, in at_xdmac_get_desc()
1401 desc = list_first_entry(&atchan->xfers_list, struct at_xdmac_desc, xfer_node); in at_xdmac_tx_status()
1512 desc = list_first_entry(&atchan->xfers_list, in at_xdmac_advance_work()
1528 desc = list_first_entry(&atchan->xfers_list, struct at_xdmac_desc, xfer_node); in at_xdmac_handle_cyclic()
1562 desc = list_first_entry(&atchan->xfers_list, in at_xdmac_tasklet()
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.c174 return list_first_entry(&pd_chan->active_list, in pdc_first_active()
181 return list_first_entry(&pd_chan->queue, in pdc_first_queued()
Dsun4i-dma.c371 promise = list_first_entry(&contract->demands, in __execute_vchan_pending()
589 promise = list_first_entry(&contract->demands, in get_next_cyclic_promise()
/linux-4.4.14/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()
825 device = list_first_entry(&active, struct dasd_device, in flush_all_alias_devices_on_lcu()
834 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.4.14/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()
1422 packet = list_first_entry(&ep->rx_bufq, in ath6kl_htc_rx_setup()
1953 packet = list_first_entry(rxq, struct htc_packet, list); in ath6kl_htc_rx_bundle()
2089 packet = list_first_entry(rx_pktq, struct htc_packet, in ath6kl_htc_rx_fetch()
2330 first_pkt = list_first_entry(pkt_queue, struct htc_packet, list); in ath6kl_htc_mbox_add_rxbuf_multiple()
/linux-4.4.14/drivers/usb/gadget/function/
Duvc_queue.c243 buf = list_first_entry(&queue->irqqueue, struct uvc_buffer, in uvcg_queue_cancel()
325 nextbuf = list_first_entry(&queue->irqqueue, struct uvc_buffer, in uvcg_queue_next_buffer()
345 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.4.14/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.4.14/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.4.14/drivers/net/ethernet/brocade/bna/
Dbna_tx_rx.c434 mac = list_first_entry(&rxf->mcast_pending_del_q, in bna_rxf_mcast_cfg_apply()
444 mac = list_first_entry(&rxf->mcast_pending_add_q, in bna_rxf_mcast_cfg_apply()
482 mac = list_first_entry(&rxf->mcast_pending_del_q, in bna_rxf_mcast_cfg_reset()
492 mac = list_first_entry(&rxf->mcast_active_q, in bna_rxf_mcast_cfg_reset()
667 mac = list_first_entry(&rxf->ucast_pending_add_q, in bna_rxf_uninit()
679 mac = list_first_entry(&rxf->mcast_pending_add_q, in bna_rxf_uninit()
794 mac = list_first_entry(&rxf->ucast_pending_add_q, in bna_rx_ucast_listset()
801 mac = list_first_entry(&rxf->ucast_active_q, in bna_rx_ucast_listset()
823 mac = list_first_entry(&list_head, struct bna_mac, qe); in bna_rx_ucast_listset()
833 mac = list_first_entry(&list_head, struct bna_mac, qe); in bna_rx_ucast_listset()
[all …]
Dbfa_msgq.c69 cmdq_ent = list_first_entry(&cmdq->pending_q, in cmdq_sm_stopped_entry()
246 cmd = list_first_entry(&cmdq->pending_q, in bfa_msgq_cmdq_ci_update()
/linux-4.4.14/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()
414 struct qxl_bo_list *entry = list_first_entry(&release->bos, struct qxl_bo_list, tv.head); in qxl_release_map()
428 struct qxl_bo_list *entry = list_first_entry(&release->bos, struct qxl_bo_list, tv.head); in qxl_release_unmap()
451 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.4.14/net/tipc/
Dname_table.c551 publ = list_first_entry(&info->node_list, in tipc_nametbl_translate()
557 publ = list_first_entry(&info->cluster_list, in tipc_nametbl_translate()
563 publ = list_first_entry(&info->zone_list, in tipc_nametbl_translate()
575 publ = list_first_entry(&info->node_list, struct publication, in tipc_nametbl_translate()
581 publ = list_first_entry(&info->cluster_list, struct publication, in tipc_nametbl_translate()
585 publ = list_first_entry(&info->zone_list, struct publication, in tipc_nametbl_translate()
858 p = list_first_entry(&sseq->info->zone_list, struct publication, in __tipc_nl_add_nametable_publ()
1055 nl = list_first_entry(&pl->list, typeof(*nl), list); in tipc_plist_pop()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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()
608 src_vb = list_first_entry(&src_q->done_list, struct vb2_buffer, in v4l2_m2m_poll()
617 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()
271 sev = list_first_entry(&fh->subscribed, in v4l2_event_unsubscribe_all()
/linux-4.4.14/drivers/hwtracing/coresight/
Dcoresight.c249 if (cd == list_first_entry(path, struct coresight_device, in coresight_enable_path()
269 if (cd == list_first_entry(path, struct coresight_device, in coresight_enable_path()
287 if (cd == list_first_entry(path, struct coresight_device, in coresight_disable_path()
329 if (list_first_entry(path, struct coresight_device, path_link) != csdev) in coresight_build_paths()
/linux-4.4.14/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.h97 list_first_entry(dev_to_msi_list((dev)), struct msi_desc, list)
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
Dbase.c204 list_first_entry(&i2c->aux, typeof(*aux), head); in nvkm_i2c_dtor()
210 list_first_entry(&i2c->bus, typeof(*bus), head); in nvkm_i2c_dtor()
216 list_first_entry(&i2c->pad, typeof(*pad), head); in nvkm_i2c_dtor()
/linux-4.4.14/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.4.14/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()
583 desc = list_first_entry(&chan->desc.free, struct rcar_dmac_desc, node); in rcar_dmac_desc_get()
653 chunk = list_first_entry(&chan->desc.chunks_free, in rcar_dmac_xfer_chunk_get()
1230 desc = list_first_entry(&rchan->desc.active, in rcar_dmac_issue_pending()
1305 list_first_entry(&desc->chunks, in rcar_dmac_isr_transfer_end()
1317 chan->desc.running = list_first_entry(&chan->desc.active, in rcar_dmac_isr_transfer_end()
1383 desc = list_first_entry(&chan->desc.done, struct rcar_dmac_desc, in rcar_dmac_isr_channel_thread()
/linux-4.4.14/net/sunrpc/
Dbackchannel_rqst.c193 req = list_first_entry(&tmp_list, in xprt_setup_bc()
259 req = list_first_entry(&xprt->bc_pa_list, struct rpc_rqst, in xprt_alloc_bc_request()
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()
/linux-4.4.14/fs/btrfs/
Ddelayed-ref.c209 next = list_first_entry(&head->ref_list, struct btrfs_delayed_ref_node, in merge_ref()
288 elem = list_first_entry(&fs_info->tree_mod_seq_list, in btrfs_merge_delayed_refs()
294 ref = list_first_entry(&head->ref_list, struct btrfs_delayed_ref_node, in btrfs_merge_delayed_refs()
303 ref = list_first_entry(&head->ref_list, in btrfs_merge_delayed_refs()
322 elem = list_first_entry(&fs_info->tree_mod_seq_list, in btrfs_check_delayed_seq()
Dordered-data.c467 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()
544 ordered = list_first_entry(&log->logged_list[index], in btrfs_free_logged_extents()
676 ordered = list_first_entry(&splice, struct btrfs_ordered_extent, in btrfs_wait_ordered_extents()
722 root = list_first_entry(&splice, struct btrfs_root, in btrfs_wait_ordered_roots()
/linux-4.4.14/drivers/usb/dwc3/
Dgadget.h68 return list_first_entry(list, struct dwc3_request, list); in next_request()
/linux-4.4.14/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.4.14/drivers/acpi/
Dacpi_platform.c94 entry = list_first_entry(list, in acpi_create_platform_device()
Dacpi_ipmi.c352 tx_msg = list_first_entry(&ipmi->tx_msg_list, in ipmi_flush_tx_msg()
639 ipmi_device = list_first_entry(&driver_data.ipmi_devices, in acpi_ipmi_exit()
Dproperty.c823 adev = list_first_entry(head, struct acpi_device, node); in acpi_get_next_subnode()
844 dn = list_first_entry(head, struct acpi_data_node, sibling); in acpi_get_next_subnode()
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/
Dqed_spq.c536 p_ent = list_first_entry(&p_spq->free_pool, in qed_spq_get_entry()
596 p_en2 = list_first_entry(&p_spq->free_pool, in qed_spq_add_entry()
655 list_first_entry(head, struct qed_spq_entry, list); in qed_spq_post_list()
680 p_ent = list_first_entry(&p_spq->unlimited_pending, in qed_spq_pend_post()
/linux-4.4.14/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()
997 td = list_first_entry(&ed->td_list, struct td, td_list); in finish_unlinks()
/linux-4.4.14/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.4.14/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()
/linux-4.4.14/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.4.14/net/batman-adv/
Dicmp_socket.c156 socket_packet = list_first_entry(&socket_client->queue_list, in batadv_socket_read()
382 socket_packet = list_first_entry(&socket_client->queue_list, in batadv_socket_add_packet()
/linux-4.4.14/sound/soc/intel/common/
Dsst-ipc.c47 msg = list_first_entry(&ipc->empty_list, struct ipc_message, in msg_get_empty()
181 msg = list_first_entry(&ipc->tx_list, struct ipc_message, list); in ipc_tx_msgs()
/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event_intel_cqm.c193 entry = list_first_entry(&cqm_rmid_free_lru, struct cqm_rmid_entry, list); in __get_rmid()
478 leader = list_first_entry(&cache_groups, struct perf_event, in intel_cqm_sched_in_event()
623 rotor = list_first_entry(&cache_groups, struct perf_event, in __intel_cqm_pick_and_rotate()
1056 group_other = list_first_entry(&event->hw.cqm_group_entry, in intel_cqm_event_destroy()
/linux-4.4.14/drivers/media/platform/soc_camera/
Dmx2_camera.c666 buf = list_first_entry(&pcdev->capture, struct mx2_buffer, in mx2_start_streaming()
675 buf = list_first_entry(&pcdev->capture, struct mx2_buffer, in mx2_start_streaming()
1315 ibuf = list_first_entry(&pcdev->active_bufs, struct mx2_buf_internal, in mx27_camera_frame_done_emma()
1371 ibuf = list_first_entry(&pcdev->discard, in mx27_camera_frame_done_emma()
1380 buf = list_first_entry(&pcdev->capture, struct mx2_buffer, in mx27_camera_frame_done_emma()
1417 ibuf = list_first_entry(&pcdev->active_bufs, in mx27_camera_emma_irq()
1429 ibuf = list_first_entry(&pcdev->active_bufs, in mx27_camera_emma_irq()
/linux-4.4.14/drivers/net/ethernet/sfc/
Dmtd.c116 parts = list_first_entry(&efx->mtd_list, struct efx_mtd_partition, in efx_mtd_remove()
Dsiena_sriov.c1138 epp = list_first_entry( in efx_siena_sriov_peer_work()
1153 epp = list_first_entry( in efx_siena_sriov_peer_work()
1179 local_addr = list_first_entry(&nic_data->local_addr_list, in efx_siena_sriov_free_local()
1186 epp = list_first_entry(&nic_data->local_page_list, in efx_siena_sriov_free_local()
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_marker.c140 marker = list_first_entry(&queue->head, in vmw_wait_lag()
/linux-4.4.14/drivers/media/usb/uvc/
Duvc_queue.c59 struct uvc_buffer *buf = list_first_entry(&queue->irqqueue, in uvc_queue_return_buffers()
413 nextbuf = list_first_entry(&queue->irqqueue, struct uvc_buffer, in uvc_queue_next_buffer()
/linux-4.4.14/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.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/timer/
Dbase.c48 alarm = list_first_entry(&tmr->alarms, typeof(*alarm), head); in nvkm_timer_alarm_trigger()
/linux-4.4.14/drivers/infiniband/hw/mlx4/
Dmcg.c550 req = list_first_entry(&group->pending_list, struct mcast_req, group_list); in mlx4_ib_mcg_timeout_handler()
674 req = list_first_entry(&group->pending_list, in mlx4_ib_mcg_work_handler()
710 req = list_first_entry(&group->pending_list, struct mcast_req, in mlx4_ib_mcg_work_handler()
769 req = list_first_entry(&group->pending_list, in search_relocate_mgid0_group()
1013 req = list_first_entry(&group->pending_list, struct mcast_req, group_list); in sysfs_show_group()
1173 group_first = list_first_entry(&group->pending_list, struct mcast_req, group_list); in clear_pending_reqs()
/linux-4.4.14/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.4.14/drivers/gpu/drm/rcar-du/
Drcar_du_encoder.c81 panel_mode = list_first_entry(&connector->modes, in rcar_du_encoder_atomic_check()
/linux-4.4.14/drivers/uwb/
Dneh.c557 neh = list_first_entry(&rc->neh_list, struct uwb_rc_neh, list_node); in uwb_rc_neh_error()
613 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.4.14/drivers/net/wireless/ath/
Ddfs_pri_detector.c140 pse = list_first_entry(&pseq_pool, struct pri_sequence, head); in pool_get_pseq_elem()
153 pe = list_first_entry(&pulse_pool, struct pulse_elem, head); in pool_get_pulse_elem()
/linux-4.4.14/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.4.14/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.4.14/kernel/locking/
Dsemaphore.c258 struct semaphore_waiter *waiter = list_first_entry(&sem->wait_list, in __up()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dbase.c259 outp = list_first_entry(&disp->outp, typeof(*outp), head); in nvkm_disp_dtor()
265 conn = list_first_entry(&disp->conn, typeof(*conn), head); in nvkm_disp_dtor()
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvif/
Dlist.h276 #define list_first_entry(ptr, type, member) \ macro
/linux-4.4.14/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.4.14/drivers/vfio/
Dvfio_iommu_spapr_tce.c271 tcegrp = list_first_entry(&container->group_list, in tce_iommu_enable()
339 tcegrp = list_first_entry(&container->group_list, in tce_iommu_release()
622 tcegrp = list_first_entry(&container->group_list, in tce_iommu_create_window()
741 tcegrp = list_first_entry(&container->group_list, in tce_iommu_ioctl()
Dvfio_iommu_type1.c351 domain = d = list_first_entry(&iommu->domain_list, in vfio_unmap_unpin()
662 d = list_first_entry(&iommu->domain_list, struct vfio_domain, next); in vfio_iommu_replay()
/linux-4.4.14/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()
1324 vlan = list_first_entry(&fnic->vlans, struct fcoe_vlan, list); in fnic_handle_fip_timer()
1364 vlan = list_first_entry(&fnic->vlans, struct fcoe_vlan, in fnic_handle_fip_timer()
/linux-4.4.14/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.4.14/kernel/
Dasync.c99 ret = list_first_entry(pending, struct async_entry, in lowest_in_progress()
Dstop_machine.c441 work = list_first_entry(&stopper->works, in cpu_stopper_thread()
Dkthread.c586 work = list_first_entry(&worker->work_list, in kthread_worker_fn()
/linux-4.4.14/virt/kvm/
Dasync_pf.c148 work = list_first_entry(&vcpu->async_pf.done, typeof(*work), in kvm_check_async_pf_completion()
/linux-4.4.14/drivers/watchdog/
Dwatchdog_core.c277 wdd = list_first_entry(&wtd_deferred_reg_list, in watchdog_deferred_registration()
/linux-4.4.14/sound/hda/ext/
Dhdac_ext_controller.c201 l = list_first_entry(&ebus->hlink_list, struct hdac_ext_link, list); in snd_hdac_link_free_all()
Dhdac_ext_stream.c108 s = list_first_entry(&bus->stream_list, struct hdac_stream, list); in snd_hdac_stream_free_all()
/linux-4.4.14/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.4.14/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.4.14/drivers/net/wireless/iwlwifi/pcie/
Drx.c259 rxb = list_first_entry(&rxq->rx_free, struct iwl_rx_mem_buffer, in iwl_pcie_rxq_restock()
355 rxb = list_first_entry(&rxq->rx_used, struct iwl_rx_mem_buffer, in iwl_pcie_rxq_alloc_rbs()
461 rxb = list_first_entry(&local_empty, in iwl_pcie_rx_allocator()
542 out[i] = list_first_entry(&rba->rbd_allocated, in iwl_pcie_rx_allocator_get()
/linux-4.4.14/net/sunrpc/xprtrdma/
Dverbs.c1002 req = list_first_entry(&buf->rb_send_bufs, in rpcrdma_buffer_get_req_locked()
1013 rep = list_first_entry(&buf->rb_recv_bufs, in rpcrdma_buffer_get_rep_locked()
1050 req = list_first_entry(&buf->rb_allreqs, in rpcrdma_buffer_destroy()
1071 mw = list_first_entry(&buf->rb_mws, in rpcrdma_get_mw()
Dbackchannel.c332 rqst = list_first_entry(&xprt->bc_pa_list, in rpcrdma_bc_receive_call()
/linux-4.4.14/tools/perf/util/
Dthread.c108 return list_first_entry(&thread->comm_list, struct comm, list); in thread__comm()
/linux-4.4.14/drivers/input/serio/
Dserio.c174 event = list_first_entry(&serio_event_list, in serio_get_event()
631 s = list_first_entry(&s->children, in serio_reconnect_subtree()
672 s = list_first_entry(&s->children, in serio_disconnect_port()
/linux-4.4.14/fs/ceph/
Dsnap.c235 realm = list_first_entry(&mdsc->snap_empty, in __cleanup_empty_realms()
759 realm = list_first_entry(&dirty_realms, struct ceph_snap_realm, in ceph_update_snap_trace()
799 ci = list_first_entry(&mdsc->snap_flush_list, in flush_snaps()
Dmds_client.c1035 cap = list_first_entry(&tmp_list, in cleanup_cap_releases()
1051 req = list_first_entry(&session->s_unsafe, in cleanup_session_requests()
1202 cf = list_first_entry(&to_remove, in remove_session_caps_cb()
1494 list_first_entry(&ci->i_cap_snaps, in check_capsnap_flush()
1548 list_first_entry(&session->s_cap_snaps_flushing, in wait_caps_flush()
1612 cap = list_first_entry(&tmp_list, struct ceph_cap, in ceph_send_cap_releases()
3009 struct page *page = list_first_entry(&pagelist->head, in send_mds_reconnect()
/linux-4.4.14/drivers/gpu/drm/exynos/
Dexynos_drm_g2d.c327 node = list_first_entry(&g2d->free_cmdlist, struct g2d_cmdlist_node, in g2d_get_cmdlist()
805 list_first_entry(&runqueue_node->run_cmdlist, in g2d_dma_start()
824 runqueue_node = list_first_entry(&g2d->runqueue, in g2d_get_runqueue_node()
888 e = list_first_entry(&runqueue_node->event_list, in g2d_finish_event()
Dexynos_drm_ipp.c1237 m_node = list_first_entry(head, in ipp_start_property()
1453 m_node = list_first_entry(head, in ipp_send_event()
1489 m_node = list_first_entry(head, in ipp_send_event()
1515 e = list_first_entry(&c_node->event_list, in ipp_send_event()
Dexynos_drm_dsi.c1108 xfer = list_first_entry(&dsi->transfer_list, in exynos_dsi_transfer_start()
1149 xfer = list_first_entry(&dsi->transfer_list, in exynos_dsi_transfer_finish()
1190 xfer == list_first_entry(&dsi->transfer_list, in exynos_dsi_remove_transfer()
/linux-4.4.14/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.4.14/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.4.14/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.c1231 cur = list_first_entry(&bep->queue, struct bcm63xx_req, queue); in bcm63xx_udc_dequeue()
1241 next = list_first_entry(&bep->queue, in bcm63xx_udc_dequeue()
2093 breq = list_first_entry(&bep->queue, struct bcm63xx_req, queue); in bcm63xx_udc_data_isr()
2108 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()
1818 req = list_first_entry(&ep0->queue, struct xusb_req, queue); in xudc_ep0_out()
1871 req = list_first_entry(&ep0->queue, struct xusb_req, queue); in xudc_ep0_in()
1971 req = list_first_entry(&ep->queue, struct xusb_req, queue); in xudc_nonctrl_ep_handler()
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dxmit.c361 bf = list_first_entry(&sc->tx.txbuf, struct ath_buf, list); in ath_tx_get_buffer()
1660 bf = list_first_entry(&bf_q, struct ath_buf, list); in ath9k_release_buffered_frames()
1797 bf = list_first_entry(list, struct ath_buf, list); in ath_drain_txq_list()
1927 tid = list_first_entry(tid_list, struct ath_atx_tid, list); in ath_txq_schedule()
1997 bf = list_first_entry(head, struct ath_buf, list); in ath_tx_txqaddbuf()
2433 bf = list_first_entry(&bf_q, struct ath_buf, list); in ath_tx_cabq()
2625 bf = list_first_entry(&txq->axq_q, struct ath_buf, list); in ath_tx_processq()
2737 bf = list_first_entry(fifo_list, struct ath_buf, list); in ath_tx_edma_tasklet()
2741 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()
460 bf = list_first_entry(&sc->rx.rxbuf, struct ath_rxbuf, list); in ath_startrecv()
705 bf = list_first_entry(&sc->rx.rxbuf, struct ath_rxbuf, list); in ath_get_next_rx_buf()
/linux-4.4.14/drivers/gpu/drm/
Ddrm_modeset_lock.c293 lock = list_first_entry(&ctx->locked, in drm_modeset_drop_locks()
Ddrm_fops.c541 e = list_first_entry(&file_priv->event_list, in drm_read()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dgk20a.c179 obj = list_first_entry(&imem->vaddr_lru, struct gk20a_instobj, in gk20a_instmem_vaddr_gc()
339 r = list_first_entry(&node->base.mem.regions, struct nvkm_mm_node, in gk20a_instobj_dtor_iommu()
/linux-4.4.14/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.4.14/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.4.14/drivers/infiniband/ulp/iser/
Diser_memory.c99 desc = list_first_entry(&fr_pool->list, in iser_reg_desc_get_fr()
124 return list_first_entry(&fr_pool->list, in iser_reg_desc_get_fmr()
/linux-4.4.14/crypto/
Dalgif_skcipher.c159 sgl = list_first_entry(&ctx->tsgl, struct skcipher_sg_list, in skcipher_pull_sgl()
551 sgl = list_first_entry(&ctx->tsgl, in skcipher_recvmsg_async()
674 sgl = list_first_entry(&ctx->tsgl, in skcipher_recvmsg_sync()
Dalgapi.c99 spawn = list_first_entry(stack, struct crypto_spawn, list); in crypto_more_spawns()
158 spawn = list_first_entry(spawns, struct crypto_spawn, in crypto_remove_spawns()
/linux-4.4.14/drivers/misc/mic/scif/
Dscif_api.c236 aep = list_first_entry(&ep->li_accept, in scif_close()
278 conreq = list_first_entry(&ep->conlist, in scif_close()
587 ep = list_first_entry(&scif_info.nb_connect_list, in scif_conn_handler()
798 conreq = list_first_entry(&lep->conlist, struct scif_conreq, list); in scif_accept()
/linux-4.4.14/net/sched/
Dsch_qfq.c332 if (list_first_entry(&agg->active, struct qfq_class, alist) == in qfq_add_to_agg()
1016 *cl = list_first_entry(&agg->active, struct qfq_class, alist); in qfq_peek_skb()
1259 list_first_entry(&agg->active, struct qfq_class, alist) in qfq_enqueue()
1270 if (list_first_entry(&agg->active, struct qfq_class, alist) != cl || in qfq_enqueue()
/linux-4.4.14/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.4.14/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.4.14/drivers/media/platform/omap3isp/
Dispvideo.c465 buf = list_first_entry(&video->dmaqueue, struct isp_buffer, in omap3isp_video_buffer_next()
525 buf = list_first_entry(&video->dmaqueue, struct isp_buffer, in omap3isp_video_buffer_next()
549 buf = list_first_entry(&video->dmaqueue, in omap3isp_video_cancel_stream()
581 buf = list_first_entry(&video->dmaqueue, in omap3isp_video_resume()
/linux-4.4.14/drivers/platform/olpc/
Dolpc-ec.c75 desc = list_first_entry(&ec->cmd_q, struct ec_cmd_desc, node); in olpc_ec_worker()
/linux-4.4.14/drivers/media/pci/cobalt/
Dcobalt-irq.c54 cb = list_first_entry(&s->bufs, struct cobalt_buffer, list); in cobalt_dma_stream_queue_handler()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dcfg80211.h443 vif = list_first_entry(&cfg->vif_list, struct brcmf_cfg80211_vif, list); in cfg_to_ndev()
Dfweh.c245 event = list_first_entry(&fweh->event_q, in brcmf_fweh_dequeue_event()
/linux-4.4.14/drivers/staging/media/omap4iss/
Diss_video.c432 buf = list_first_entry(&video->dmaqueue, struct iss_buffer, in omap4iss_video_buffer_next()
479 buf = list_first_entry(&video->dmaqueue, struct iss_buffer, in omap4iss_video_buffer_next()
502 buf = list_first_entry(&video->dmaqueue, struct iss_buffer, in omap4iss_video_cancel_stream()
/linux-4.4.14/drivers/media/pci/dt3155/
Ddt3155.c217 vb = list_first_entry(&pd->dmaq, typeof(*vb), done_entry); in dt3155_stop_streaming()
279 ivb = list_first_entry(&ipd->dmaq, typeof(*ivb), done_entry); in dt3155_irq_handler_even()
/linux-4.4.14/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.4.14/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.4.14/drivers/gpu/drm/msm/
Dmsm_gpu.c443 submit = list_first_entry(&gpu->submit_list, in retire_submits()
470 obj = list_first_entry(&gpu->active_list, in retire_worker()
/linux-4.4.14/drivers/media/usb/go7007/
Dgo7007-driver.c456 list_first_entry(&go->vidq_active, struct go7007_buffer, list); in frame_boundary()
476 vb = list_first_entry(&go->vidq_active, in frame_boundary()
/linux-4.4.14/drivers/crypto/qat/qat_common/
Dadf_dev_mgr.c302 dev = list_first_entry(&accel_table, struct adf_accel_dev, in adf_devmgr_get_first()
/linux-4.4.14/drivers/usb/gadget/
Dcomposite.c807 f = list_first_entry(&config->functions, in usb_add_config()
859 f = list_first_entry(&config->functions, in remove_config()
1552 config = list_first_entry( in composite_setup()
1837 f = list_first_entry(&c->functions, struct usb_function, in composite_setup()
1909 c = list_first_entry(&cdev->configs, in __composite_unbind()
/linux-4.4.14/block/
Dblk-mq.c539 rq = list_first_entry(&rq_list, struct request, queuelist); in blk_mq_abort_requeue_list()
770 rq = list_first_entry(&rq_list, struct request, queuelist); in __blk_mq_run_hw_queue()
1046 rq = list_first_entry(list, struct request, queuelist); in blk_mq_insert_requests()
1438 page = list_first_entry(&tags->page_list, struct page, lru); in blk_mq_free_rq_map()
1600 rq = list_first_entry(&tmp, struct request, queuelist); in blk_mq_hctx_cpu_offline()
Dblk-flush.c294 list_first_entry(pending, struct request, flush.list); in blk_kick_flush()
/linux-4.4.14/arch/powerpc/platforms/powernv/
Dopal-prd.c182 item = list_first_entry(&opal_prd_msg_queue, in opal_prd_read()
/linux-4.4.14/drivers/macintosh/
Dwindfarm_smu_sat.c340 sens = list_first_entry(&sat->sensors, in wf_sat_remove()
/linux-4.4.14/fs/nfs/
Dcallback.c123 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()
428 da = list_first_entry(&ds->ds_addrs, in destroy_ds()
/linux-4.4.14/drivers/staging/most/hdm-i2c/
Dhdm_i2c.c36 list_first_entry(ptr, struct mbo, list)
/linux-4.4.14/arch/s390/kernel/
Dvtime.c250 timer = list_first_entry(&virt_timer_list, in virt_timer_expire()
/linux-4.4.14/arch/mips/kernel/
Dvpe-mt.c57 t = list_first_entry(&v->tc, struct tc, tc); in vpe_run()
/linux-4.4.14/drivers/gpu/host1x/
Dintr.c104 list_first_entry(head, struct host1x_waitlist, list)->thresh; in reset_threshold_interrupt()
/linux-4.4.14/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.c304 fl = list_first_entry(dispose, struct file_lock, fl_list); in locks_dispose_list()
675 waiter = list_first_entry(&blocker->fl_block, in locks_wake_up_blocks()
1453 fl = list_first_entry(&ctx->flc_lease, struct file_lock, fl_list); in __break_lease()
1507 fl = list_first_entry(&ctx->flc_lease, in lease_get_mtime()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_sa.c274 sa_bo = list_first_entry(&sa_manager->flist[i], in radeon_sa_bo_next_hole()
Dradeon_vm.c1054 bo_va = list_first_entry(&vm->freed, in radeon_vm_clear_freed()
1092 bo_va = list_first_entry(&vm->invalidated, in radeon_vm_clear_invalids()
/linux-4.4.14/drivers/gpu/drm/amd/amdkfd/
Dkfd_process.c447 return list_first_entry(&p->per_device_data, in kfd_get_first_process_device_data()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dclip_tbl.c106 ce = list_first_entry(&ctbl->ce_free_head, in cxgb4_clip_get()
/linux-4.4.14/mm/
Dzbud.c372 zhdr = list_first_entry(&pool->unbuddied[i], in zbud_alloc()
/linux-4.4.14/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.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dramnv50.c502 this = list_first_entry(&mem->regions, typeof(*this), rl_entry); in __nv50_ram_put()
583 r = list_first_entry(&mem->regions, struct nvkm_mm_node, rl_entry); in nv50_ram_get()
/linux-4.4.14/drivers/block/xen-blkback/
Dblkback.c127 page[0] = list_first_entry(&blkif->free_pages, struct page, lru); in get_free_page()
158 page[num_pages] = list_first_entry(&blkif->free_pages, in shrink_free_pagepool()
331 persistent_gnt = list_first_entry(&blkif->persistent_purge_list, in xen_blkbk_unmap_purged_grants()
/linux-4.4.14/fs/xfs/
Dxfs_buf.c1547 bp = list_first_entry(&dispose, struct xfs_buf, b_lru); in xfs_wait_buftarg()
1610 bp = list_first_entry(&dispose, struct xfs_buf, b_lru); in xfs_buftarg_shrink_scan()
1884 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.4.14/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.4.14/drivers/net/ethernet/ti/
Dcpts.c78 event = list_first_entry(&cpts->pool, struct cpts_event, list); in cpts_fifo_read()
/linux-4.4.14/drivers/media/usb/stk1160/
Dstk1160-video.c85 buf = list_first_entry(&dev->avail_bufs, in stk1160_next_buffer()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_sa.c275 sa_bo = list_first_entry(&sa_manager->flist[i], in amdgpu_sa_bo_next_hole()
/linux-4.4.14/arch/powerpc/platforms/pseries/
Dmsi.c212 edev = list_first_entry(&edev->pe->edevs, struct eeh_dev, list); in find_pe_dn()
/linux-4.4.14/drivers/base/
Dcomponent.c141 struct component *c = list_first_entry(&master->components, in master_remove_components()
Ddd.c78 private = list_first_entry(&deferred_probe_active_list, in deferred_probe_work_func()
/linux-4.4.14/drivers/staging/octeon-usb/
Docteon-hcd.c1384 list_first_entry(&pipe->transactions, typeof(*transaction), in cvmx_usb_start_channel_control()
1530 list_first_entry(&pipe->transactions, typeof(*transaction), in cvmx_usb_start_channel()
1880 list_first_entry(&pipe->transactions, typeof(*t), in cvmx_usb_find_ready_pipe()
2344 if (list_first_entry(&pipe->transactions, typeof(*transaction), node) == in cvmx_usb_cancel()
2533 transaction = list_first_entry(&pipe->transactions, in cvmx_usb_poll_channel()
/linux-4.4.14/arch/arm/plat-samsung/
Dadc.c134 next = list_first_entry(&adc_pending, in s3c_adc_try()
/linux-4.4.14/drivers/scsi/lpfc/
Dlpfc_mem.c268 device_data = list_first_entry(&phba->luns, in lpfc_mem_free()
/linux-4.4.14/drivers/media/platform/marvell-ccic/
Dmcam-core.c478 buf = list_first_entry(&cam->buffers, struct mcam_vb_buffer, in mcam_frame_tasklet()
565 buf = list_first_entry(&cam->buffers, struct mcam_vb_buffer, in mcam_set_contig_buffer()
620 buf = list_first_entry(&cam->buffers, struct mcam_vb_buffer, queue); in mcam_sg_next_buffer()
/linux-4.4.14/drivers/infiniband/hw/mlx5/
Dmr.c202 mr = list_first_entry(&ent->head, struct mlx5_ib_mr, list); in remove_keys()
444 mr = list_first_entry(&ent->head, struct mlx5_ib_mr, in alloc_cached_mr()
502 mr = list_first_entry(&ent->head, struct mlx5_ib_mr, list); in clean_keys()
/linux-4.4.14/net/switchdev/
Dswitchdev.c57 tritem = list_first_entry(&trans->item_list, in __switchdev_trans_item_dequeue()
121 dfitem = list_first_entry(&deferred, in switchdev_deferred_dequeue()
/linux-4.4.14/drivers/scsi/
Dmvumi.c378 cmd = list_first_entry(&mhba->cmd_pool, struct mvumi_cmd, in mvumi_free_cmds()
419 cmd = list_first_entry(&mhba->cmd_pool, struct mvumi_cmd, in mvumi_alloc_cmds()
585 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.4.14/fs/proc/
Dinode.c173 pdeo = list_first_entry(&de->pde_openers, struct pde_opener, lh); in proc_entry_rundown()
/linux-4.4.14/fs/nfsd/
Dnfscache.c202 rp = list_first_entry(head, struct svc_cacherep, c_lru); in nfsd_reply_cache_shutdown()
/linux-4.4.14/drivers/spi/
Dspi-mpc52xx.c159 ms->message = list_first_entry(&ms->queue, struct spi_message, queue); in mpc52xx_spi_fsmstate_idle()
/linux-4.4.14/arch/powerpc/platforms/cell/
Dspu_manage.c474 last_spu = list_first_entry(&cbe_spu_info[cbe].spus, struct spu, in init_affinity_node()
/linux-4.4.14/include/drm/
Ddrm_crtc.h1570 connector = list_first_entry(&(dev)->mode_config.connector_list, \
1580 fb = list_first_entry(&(dev)->mode_config.fb_list, \
/linux-4.4.14/drivers/gpu/drm/virtio/
Dvirtgpu_vq.c114 vbuf = list_first_entry(&vgdev->free_vbufs, in virtio_gpu_free_vbufs()
131 vbuf = list_first_entry(&vgdev->free_vbufs, in virtio_gpu_get_vbuf()
/linux-4.4.14/drivers/media/pci/sta2x11/
Dsta2x11_vip.c254 vip->active = list_first_entry(&vip->buffer_list, in vip_active_buf_next()
325 vip->active = list_first_entry(&vip->buffer_list, in buffer_queue()
/linux-4.4.14/drivers/media/pci/netup_unidvb/
Dnetup_unidvb_core.c568 buf = list_first_entry(&dma->free_buffers, in netup_unidvb_dma_worker()
600 buf = list_first_entry(&dma->free_buffers, in netup_unidvb_queue_cleanup()

123