| /linux/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_ooo.c | 176 p_isle = list_first_entry(&p_archipelago->isles_list, in qed_ooo_release_connection_isles() 182 p_buffer = list_first_entry(&p_isle->buffers_list, in qed_ooo_release_connection_isles() 206 p_isle = list_first_entry(&p_archipelago->isles_list, in qed_ooo_release_all_isles() 214 list_first_entry(&p_isle->buffers_list, in qed_ooo_release_all_isles() 249 p_buffer = list_first_entry(&p_ooo_info->free_buffers_list, in qed_ooo_free() 280 p_buffer = list_first_entry(&p_ooo_info->free_buffers_list, in qed_ooo_get_free_buffer() 307 p_buffer = list_first_entry(&p_ooo_info->ready_buffers_list, in qed_ooo_get_ready_buffer() 371 p_isle = list_first_entry(&p_ooo_info->free_isles_list, in qed_ooo_add_new_isle()
|
| /linux/net/unix/ |
| H A D | garbage.c | 154 vertex = list_first_entry(&fpl->vertices, typeof(*vertex), entry); in unix_add_edge() 338 edge = list_first_entry(&vertex->edges, typeof(*edge), vertex_entry); in unix_vertex_dead() 358 edge = list_first_entry(&vertex->edges, typeof(*edge), vertex_entry); in unix_collect_skb() 391 vertex = list_first_entry(scc, typeof(*vertex), scc_entry); in unix_scc_cyclic() 445 edge = list_first_entry(&edge_stack, typeof(*edge), stack_entry); in __unix_walk_scc() 517 vertex = list_first_entry(&unix_unvisited_vertices, typeof(*vertex), entry); in unix_walk_scc() 536 vertex = list_first_entry(&unix_unvisited_vertices, typeof(*vertex), entry); in unix_walk_scc_fast()
|
| /linux/net/ceph/ |
| H A D | pagelist.c | 44 struct page *page = list_first_entry(&pl->head, struct page, in ceph_pagelist_release() 61 page = list_first_entry(&pl->free_list, struct page, lru); in ceph_pagelist_addpage() 124 struct page *page = list_first_entry(&pl->free_list, in ceph_pagelist_free_reserve()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | mptcp_bpf.h | 17 #define list_first_entry(ptr, type, member) \ macro 28 for (pos = list_first_entry(head, typeof(*pos), member); \
|
| /linux/drivers/media/pci/cx18/ |
| H A D | cx18-queue.c | 79 mdl = list_first_entry(&q->list, struct cx18_mdl, list); in cx18_dequeue() 115 buf = list_first_entry(&mdl->buf_list, struct cx18_buffer, in cx18_mdl_update_bufs_for_cpu() 207 mdl = list_first_entry(&q_src->list, struct cx18_mdl, list); in cx18_queue_flush() 246 buf = list_first_entry(&mdl->buf_list, in cx18_unload_queues() 287 buf = list_first_entry(&s->buf_pool, struct cx18_buffer, in cx18_load_queues() 427 buf = list_first_entry(&s->buf_pool, struct cx18_buffer, list); in cx18_stream_free()
|
| H A D | cx18-queue.h | 35 cx18_buf_sync_for_device(s, list_first_entry(&mdl->buf_list, in cx18_mdl_sync_for_device() 48 cx18_buf_swap(list_first_entry(&mdl->buf_list, in cx18_mdl_swap()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
| H A D | base.c | 191 conn = list_first_entry(&disp->conns, typeof(*conn), head); in nvkm_disp_dtor() 197 outp = list_first_entry(&disp->outps, typeof(*outp), head); in nvkm_disp_dtor() 203 ior = list_first_entry(&disp->iors, typeof(*ior), head); in nvkm_disp_dtor() 208 head = list_first_entry(&disp->heads, typeof(*head), head); in nvkm_disp_dtor()
|
| /linux/virt/kvm/ |
| H A D | async_pf.c | 125 list_first_entry(&vcpu->async_pf.queue, in kvm_clear_async_pf_completion_queue() 140 list_first_entry(&vcpu->async_pf.done, in kvm_clear_async_pf_completion_queue() 160 work = list_first_entry(&vcpu->async_pf.done, typeof(*work), in kvm_check_async_pf_completion()
|
| /linux/include/linux/sunrpc/ |
| H A D | svc_rdma_pcl.h | 64 return list_first_entry(&pcl->cl_chunks, struct svc_rdma_chunk, in pcl_first_chunk() 89 for (pos = list_first_entry(&(pcl)->cl_chunks, struct svc_rdma_chunk, ch_list); \
|
| /linux/drivers/crypto/ccp/ |
| H A D | ccp-dev.c | 169 ccp_rr = list_first_entry(&ccp_units, struct ccp_device, in ccp_del_device() 216 ccp_rr = list_first_entry(&ccp_units, struct ccp_device, in ccp_get_device() 259 dp = list_first_entry(&ccp_units, struct ccp_device, entry); in ccp_version() 397 cmd = list_first_entry(&ccp->cmd, struct ccp_cmd, entry); in ccp_dequeue_cmd() 404 backlog = list_first_entry(&ccp->backlog, struct ccp_cmd, in ccp_dequeue_cmd()
|
| /linux/drivers/s390/block/ |
| H A D | dasd_alias.c | 80 return list_first_entry(&lcu->grouplist, in _find_group() 583 group = list_first_entry(&lcu->grouplist, in _schedule_lcu_update() 586 usedev = list_first_entry(&group->baselist, in _schedule_lcu_update() 590 usedev = list_first_entry(&group->aliaslist, in _schedule_lcu_update() 595 usedev = list_first_entry(&lcu->active_devices, in _schedule_lcu_update() 703 alias_device = list_first_entry(&group->aliaslist, in dasd_alias_get_start_dev() 709 group->next = list_first_entry(&group->aliaslist, in dasd_alias_get_start_dev() 712 group->next = list_first_entry(&alias_device->alias_list, in dasd_alias_get_start_dev() 819 device = list_first_entry(&active, struct dasd_device, in flush_all_alias_devices_on_lcu() 828 if (device == list_first_entry(&active, in flush_all_alias_devices_on_lcu()
|
| /linux/drivers/net/wireless/ath/ath6kl/ |
| H A D | htc_pipe.c | 65 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() 288 packet = list_first_entry(pkt_queue, in htc_issue_packets() 369 packet = list_first_entry(txq, in htc_try_send() 697 packet = list_first_entry(&ep->txq, struct htc_packet, list); in htc_flush_tx_endpoint() 789 packet = list_first_entry(pkt_queue, struct htc_packet, list); in htc_send_packets_multiple() 920 packet = list_first_entry(queue_to_indicate, in do_recv_completion() [all …]
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | iowait.h | 290 tx = list_first_entry( in iowait_get_txhead() 305 tx = list_first_entry(&w->tx_head, struct sdma_txreq, in iowait_get_desc() 328 tx = list_first_entry(&w->tx_head, struct sdma_txreq, in iowait_update_priority()
|
| /linux/drivers/dma/ |
| H A D | tegra20-apb-dma.c | 316 sg_req = list_first_entry(&tdc->free_sg_req, typeof(*sg_req), in tegra_dma_sg_req_get() 493 sg_req = list_first_entry(&tdc->pending_sg_req, typeof(*sg_req), node); in tdc_start_head_req() 504 hsgreq = list_first_entry(&tdc->pending_sg_req, typeof(*hsgreq), node); in tdc_configure_next_head_desc() 506 hnsgreq = list_first_entry(&hsgreq->node, typeof(*hnsgreq), in tdc_configure_next_head_desc() 526 sgreq = list_first_entry(&tdc->pending_sg_req, typeof(*sgreq), in tegra_dma_abort_all() 554 hsgreq = list_first_entry(&tdc->pending_sg_req, typeof(*hsgreq), node); in handle_continuous_head_request() 577 sgreq = list_first_entry(&tdc->pending_sg_req, typeof(*sgreq), node); in handle_once_dma_done() 611 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, typeof(*dma_desc), in tegra_dma_tasklet() 768 sgreq = list_first_entry(&tdc->pending_sg_req, typeof(*sgreq), in tegra_dma_terminate_all() [all …]
|
| H A D | imx-dma.c | 225 desc = list_first_entry(&imxdmac->ld_active, struct imxdma_desc, in imxdma_chan_is_doing_cyclic() 419 desc = list_first_entry(&imxdmac->ld_active, in dma_irq_handle_channel() 609 desc = list_first_entry(&imxdmac->ld_active, struct imxdma_desc, node); in imxdma_tasklet() 629 next_desc = list_first_entry(&imxdmac->ld_queue, in imxdma_tasklet() 807 desc = list_first_entry(&imxdmac->ld_free, struct imxdma_desc, node); in imxdma_prep_slave_sg() 864 desc = list_first_entry(&imxdmac->ld_free, struct imxdma_desc, node); in imxdma_prep_dma_cyclic() 920 desc = list_first_entry(&imxdmac->ld_free, struct imxdma_desc, node); in imxdma_prep_dma_memcpy() 957 desc = list_first_entry(&imxdmac->ld_free, struct imxdma_desc, node); in imxdma_prep_dma_interleaved() 989 desc = list_first_entry(&imxdmac->ld_queue, in imxdma_issue_pending()
|
| /linux/drivers/hid/ |
| H A D | hid-betopff.c | 71 hidinput = list_first_entry(&hid->inputs, struct hid_input, list); in betopff_init() 79 report = list_first_entry(report_list, struct hid_report, list); in betopff_init()
|
| H A D | hid-emsff.c | 60 hidinput = list_first_entry(&hid->inputs, struct hid_input, list); in emsff_init() 68 report = list_first_entry(report_list, struct hid_report, list); in emsff_init()
|
| H A D | hid-axff.c | 77 hidinput = list_first_entry(&hid->inputs, struct hid_input, list); in axff_init() 85 report = list_first_entry(report_list, struct hid_report, list); in axff_init()
|
| H A D | hid-dr.c | 88 hidinput = list_first_entry(&hid->inputs, struct hid_input, list); in drff_init() 96 report = list_first_entry(report_list, struct hid_report, list); in drff_init()
|
| /linux/drivers/net/ethernet/brocade/bna/ |
| H A D | bna_tx_rx.c | 426 mac = list_first_entry(&rxf->mcast_pending_del_q, in bna_rxf_mcast_cfg_apply() 436 mac = list_first_entry(&rxf->mcast_pending_add_q, in bna_rxf_mcast_cfg_apply() 474 mac = list_first_entry(&rxf->mcast_pending_del_q, in bna_rxf_mcast_cfg_reset() 484 mac = list_first_entry(&rxf->mcast_active_q, in bna_rxf_mcast_cfg_reset() 659 mac = list_first_entry(&rxf->ucast_pending_add_q, in bna_rxf_uninit() 671 mac = list_first_entry(&rxf->mcast_pending_add_q, in bna_rxf_uninit() 786 mac = list_first_entry(&rxf->ucast_pending_add_q, in bna_rx_ucast_listset() 793 mac = list_first_entry(&rxf->ucast_active_q, in bna_rx_ucast_listset() 815 mac = list_first_entry(&list_head, struct bna_mac, qe); in bna_rx_ucast_listset() 825 mac = list_first_entry(&list_head, struct bna_mac, qe); in bna_rx_ucast_listset() [all …]
|
| /linux/scripts/include/ |
| H A D | list.h | 239 #define list_first_entry(ptr, type, member) \ macro 285 for (pos = list_first_entry(head, typeof(*pos), member); \ 308 for (pos = list_first_entry(head, typeof(*pos), member), \
|
| /linux/kernel/sched/ |
| H A D | swait.c | 29 curr = list_first_entry(&q->task_list, typeof(*curr), task_list); in swake_up_locked() 70 curr = list_first_entry(&tmp, typeof(*curr), task_list); in swake_up_all()
|
| /linux/drivers/soc/fsl/qbman/ |
| H A D | qman_test_stash.c | 452 hp_cpu->iterator = list_first_entry( in init_phase2() 476 hp_cpu = list_first_entry(&hp_cpu_list, struct hp_cpu, node); in init_phase2() 477 handler = list_first_entry(&hp_cpu->handlers, struct hp_handler, node); in init_phase2() 495 hp_cpu->iterator = list_first_entry( in init_phase3()
|
| /linux/drivers/s390/char/ |
| H A D | sclp_con.c | 63 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/kernel/ |
| H A D | async.c | 99 first = list_first_entry(&domain->pending, in lowest_in_progress() 103 first = list_first_entry(&async_global_pending, in lowest_in_progress()
|