Home
last modified time | relevance | path

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

12345678910>>...29

/linux/drivers/net/ethernet/qlogic/qed/
H A 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/net/unix/
H A Dgarbage.c145 vertex = list_first_entry(&fpl->vertices, typeof(*vertex), entry); in unix_add_edge()
329 edge = list_first_entry(&vertex->edges, typeof(*edge), vertex_entry); in unix_vertex_dead()
349 edge = list_first_entry(&vertex->edges, typeof(*edge), vertex_entry); in unix_collect_skb()
382 vertex = list_first_entry(scc, typeof(*vertex), scc_entry); in unix_scc_cyclic()
436 edge = list_first_entry(&edge_stack, typeof(*edge), stack_entry); in __unix_walk_scc()
508 vertex = list_first_entry(&unix_unvisited_vertices, typeof(*vertex), entry); in unix_walk_scc()
527 vertex = list_first_entry(&unix_unvisited_vertices, typeof(*vertex), entry); in unix_walk_scc_fast()
/linux/net/ceph/
H A 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/drivers/media/pci/cx18/
H A 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()
H A 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/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dbase.c191 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/security/apparmor/
H A 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()
H A Dcapability.c71 struct aa_ruleset *rules = list_first_entry(&profile->rules, in audit_caps()
124 struct aa_ruleset *rules = list_first_entry(&profile->rules, in profile_capable()
/linux/virt/kvm/
H A Dasync_pf.c125 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 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/drivers/crypto/ccp/
H A 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/drivers/s390/block/
H A Ddasd_alias.c80 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 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()
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 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/drivers/net/ethernet/brocade/bna/
H A 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/drivers/hid/
H A 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()
H A 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()
H A 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()
H A 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/scripts/include/
H A Dlist.h239 #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 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/drivers/soc/fsl/qbman/
H A 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/drivers/s390/char/
H A 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/fs/
H A Dpnode.c86 slave_mnt = list_first_entry(p, in do_make_slave()
342 child = list_first_entry(&mnt->mnt_mounts, struct mount, mnt_child); in find_topper()
541 mnt = list_first_entry(to_restore, struct mount, mnt_umounting); in restore_mounts()
561 list_first_entry(visited, struct mount, mnt_umounting); in cleanup_umount_visitations()
/linux/kernel/
H A Dasync.c99 first = list_first_entry(&domain->pending, in lowest_in_progress()
103 first = list_first_entry(&async_global_pending, in lowest_in_progress()

12345678910>>...29