Home
last modified time | relevance | path

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

12345678910>>...35

/linux-6.6.21/drivers/net/ethernet/qlogic/qed/
Dqed_ooo.c176 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()
209 p_isle = list_first_entry(&p_archipelago->isles_list, in qed_ooo_release_all_isles()
217 list_first_entry(&p_isle->buffers_list, in qed_ooo_release_all_isles()
255 p_buffer = list_first_entry(&p_ooo_info->free_buffers_list, in qed_ooo_free()
289 p_buffer = list_first_entry(&p_ooo_info->free_buffers_list, in qed_ooo_get_free_buffer()
316 p_buffer = list_first_entry(&p_ooo_info->ready_buffers_list, in qed_ooo_get_ready_buffer()
380 p_isle = list_first_entry(&p_ooo_info->free_isles_list, in qed_ooo_add_new_isle()
/linux-6.6.21/scripts/mod/
Dlist.h169 #define list_first_entry(ptr, type, member) \ macro
196 for (pos = list_first_entry(head, typeof(*pos), member); \
208 for (pos = list_first_entry(head, typeof(*pos), member), \
/linux-6.6.21/drivers/media/pci/cx18/
Dcx18-queue.c79 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()
420 buf = list_first_entry(&s->buf_pool, struct cx18_buffer, list); in cx18_stream_free()
Dcx18-queue.h35 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-6.6.21/security/apparmor/
Dresource.c92 struct aa_ruleset *rules = list_first_entry(&profile->rules, in profile_setrlimit()
168 struct aa_ruleset *rules = list_first_entry(&old->rules, in __aa_transition_rlimits()
188 struct aa_ruleset *rules = list_first_entry(&new->rules, in __aa_transition_rlimits()
Dcapability.c67 struct aa_ruleset *rules = list_first_entry(&profile->rules, in audit_caps()
119 struct aa_ruleset *rules = list_first_entry(&profile->rules, in profile_capable()
/linux-6.6.21/net/ceph/
Dpagelist.c44 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-6.6.21/include/linux/sunrpc/
Dsvc_rdma_pcl.h64 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-6.6.21/virt/kvm/
Dasync_pf.c100 list_first_entry(&vcpu->async_pf.queue, in kvm_clear_async_pf_completion_queue()
126 list_first_entry(&vcpu->async_pf.done, in kvm_clear_async_pf_completion_queue()
143 work = list_first_entry(&vcpu->async_pf.done, typeof(*work), in kvm_check_async_pf_completion()
/linux-6.6.21/drivers/crypto/ccp/
Dccp-dev.c169 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-6.6.21/drivers/s390/block/
Ddasd_alias.c88 return list_first_entry(&lcu->grouplist, in _find_group()
591 group = list_first_entry(&lcu->grouplist, in _schedule_lcu_update()
594 usedev = list_first_entry(&group->baselist, in _schedule_lcu_update()
598 usedev = list_first_entry(&group->aliaslist, in _schedule_lcu_update()
603 usedev = list_first_entry(&lcu->active_devices, in _schedule_lcu_update()
711 alias_device = list_first_entry(&group->aliaslist, in dasd_alias_get_start_dev()
717 group->next = list_first_entry(&group->aliaslist, in dasd_alias_get_start_dev()
720 group->next = list_first_entry(&alias_device->alias_list, in dasd_alias_get_start_dev()
827 device = list_first_entry(&active, struct dasd_device, in flush_all_alias_devices_on_lcu()
836 if (device == list_first_entry(&active, in flush_all_alias_devices_on_lcu()
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dbase.c328 conn = list_first_entry(&disp->conns, typeof(*conn), head); in nvkm_disp_dtor()
334 outp = list_first_entry(&disp->outps, typeof(*outp), head); in nvkm_disp_dtor()
340 ior = list_first_entry(&disp->iors, typeof(*ior), head); in nvkm_disp_dtor()
345 head = list_first_entry(&disp->heads, typeof(*head), head); in nvkm_disp_dtor()
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Diowait.h290 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-6.6.21/drivers/hid/
Dhid-betopff.c71 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()
Dhid-emsff.c60 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()
Dhid-axff.c77 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()
Dhid-dr.c88 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-6.6.21/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()
289 packet = list_first_entry(pkt_queue, in htc_issue_packets()
370 packet = list_first_entry(txq, in htc_try_send()
698 packet = list_first_entry(&ep->txq, struct htc_packet, list); in htc_flush_tx_endpoint()
790 packet = list_first_entry(pkt_queue, struct htc_packet, list); in htc_send_packets_multiple()
921 packet = list_first_entry(queue_to_indicate, in do_recv_completion()
[all …]
/linux-6.6.21/drivers/dma/
Dtegra20-apb-dma.c316 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 …]
Dimx-dma.c227 desc = list_first_entry(&imxdmac->ld_active, struct imxdma_desc, in imxdma_chan_is_doing_cyclic()
420 desc = list_first_entry(&imxdmac->ld_active, in dma_irq_handle_channel()
610 desc = list_first_entry(&imxdmac->ld_active, struct imxdma_desc, node); in imxdma_tasklet()
630 next_desc = list_first_entry(&imxdmac->ld_queue, in imxdma_tasklet()
808 desc = list_first_entry(&imxdmac->ld_free, struct imxdma_desc, node); in imxdma_prep_slave_sg()
865 desc = list_first_entry(&imxdmac->ld_free, struct imxdma_desc, node); in imxdma_prep_dma_cyclic()
921 desc = list_first_entry(&imxdmac->ld_free, struct imxdma_desc, node); in imxdma_prep_dma_memcpy()
958 desc = list_first_entry(&imxdmac->ld_free, struct imxdma_desc, node); in imxdma_prep_dma_interleaved()
990 desc = list_first_entry(&imxdmac->ld_queue, in imxdma_issue_pending()
/linux-6.6.21/kernel/sched/
Dswait.c28 curr = list_first_entry(&q->task_list, typeof(*curr), task_list); in swake_up_locked()
69 curr = list_first_entry(&tmp, typeof(*curr), task_list); in swake_up_all()
/linux-6.6.21/drivers/net/ethernet/brocade/bna/
Dbna_tx_rx.c426 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-6.6.21/drivers/soc/fsl/qbman/
Dqman_test_stash.c454 hp_cpu->iterator = list_first_entry( in init_phase2()
478 hp_cpu = list_first_entry(&hp_cpu_list, struct hp_cpu, node); in init_phase2()
479 handler = list_first_entry(&hp_cpu->handlers, struct hp_handler, node); in init_phase2()
497 hp_cpu->iterator = list_first_entry( in init_phase3()
/linux-6.6.21/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-6.6.21/kernel/
Dasync.c97 first = list_first_entry(&domain->pending, in lowest_in_progress()
101 first = list_first_entry(&async_global_pending, in lowest_in_progress()

12345678910>>...35