Home
last modified time | relevance | path

Searched refs:list_entry (Results 1 – 25 of 959) sorted by relevance

12345678910>>...39

/Linux-v5.15/drivers/net/ethernet/qlogic/qed/
Dqed_ooo.c55 list_for_each_entry(p_isle, &p_archipelago->isles_list, list_entry) { in qed_ooo_seek_isle()
129 list_add_tail(&p_ooo_info->p_isles_mem[i].list_entry, in qed_ooo_alloc()
177 struct qed_ooo_isle, list_entry); in qed_ooo_release_connection_isles()
179 list_del(&p_isle->list_entry); in qed_ooo_release_connection_isles()
184 list_entry); in qed_ooo_release_connection_isles()
189 list_move_tail(&p_buffer->list_entry, in qed_ooo_release_connection_isles()
192 list_add_tail(&p_isle->list_entry, in qed_ooo_release_connection_isles()
211 list_entry); in qed_ooo_release_all_isles()
213 list_del(&p_isle->list_entry); in qed_ooo_release_all_isles()
219 list_entry); in qed_ooo_release_all_isles()
[all …]
/Linux-v5.15/scripts/kconfig/
Dlist.h40 #define list_entry(ptr, type, member) \ macro
50 for (pos = list_entry((head)->next, typeof(*pos), member); \
52 pos = list_entry(pos->member.next, typeof(*pos), member))
62 for (pos = list_entry((head)->next, typeof(*pos), member), \
63 n = list_entry(pos->member.next, typeof(*pos), member); \
65 pos = n, n = list_entry(n->member.next, typeof(*n), member))
/Linux-v5.15/sound/pci/ctxfi/
Dctimap.c34 pos_ent = list_entry(pos, struct imapper, list); in input_mapper_add()
53 pre_ent = list_entry(pre, struct imapper, list); in input_mapper_add()
54 pos_ent = list_entry(pos, struct imapper, list); in input_mapper_add()
86 pre_ent = list_entry(pre, struct imapper, list); in input_mapper_delete()
87 next_ent = list_entry(next, struct imapper, list); in input_mapper_delete()
104 entry = list_entry(pos, struct imapper, list); in free_input_mapper_list()
Dctvmem.c44 entry = list_entry(pos, struct ct_vm_block, list); in get_vm_block()
87 entry = list_entry(pos, struct ct_vm_block, list); in put_vm_block()
108 entry = list_entry(pos, struct ct_vm_block, list); in put_vm_block()
109 pre_ent = list_entry(pre, struct ct_vm_block, list); in put_vm_block()
225 entry = list_entry(pos, struct ct_vm_block, list); in ct_vm_destroy()
231 entry = list_entry(pos, struct ct_vm_block, list); in ct_vm_destroy()
/Linux-v5.15/drivers/scsi/elx/efct/
Defct_io.c69 INIT_LIST_HEAD(&io->list_entry); in efct_io_pool_create()
70 list_add_tail(&io->list_entry, &io_pool->freelist); in efct_io_pool_create()
118 list_entry); in efct_io_pool_io_alloc()
119 list_del_init(&io->list_entry); in efct_io_pool_io_alloc()
160 INIT_LIST_HEAD(&io->list_entry); in efct_io_pool_io_free()
161 list_add(&io->list_entry, &io_pool->freelist); in efct_io_pool_io_free()
181 list_for_each_entry(io, &node->active_ios, list_entry) { in efct_io_find_tgt_io()
Defct_hw_queues.c151 INIT_LIST_HEAD(&eq->list_entry); in efct_hw_new_eq()
152 list_add_tail(&eq->list_entry, &hw->eq_list); in efct_hw_new_eq()
184 INIT_LIST_HEAD(&cq->list_entry); in efct_hw_new_cq()
185 list_add_tail(&cq->list_entry, &eq->cq_list); in efct_hw_new_cq()
229 INIT_LIST_HEAD(&cqs[i]->list_entry); in efct_hw_new_cq_set()
230 list_add_tail(&cqs[i]->list_entry, &cqs[i]->eq->cq_list); in efct_hw_new_cq_set()
267 INIT_LIST_HEAD(&mq->list_entry); in efct_hw_new_mq()
268 list_add_tail(&mq->list_entry, &cq->q_list); in efct_hw_new_mq()
302 INIT_LIST_HEAD(&wq->list_entry); in efct_hw_new_wq()
303 list_add_tail(&wq->list_entry, &cq->q_list); in efct_hw_new_wq()
[all …]
Defct_hw.c660 INIT_LIST_HEAD(&io->list_entry); in efct_hw_init_prereg_io()
661 list_add_tail(&io->list_entry, &hw->io_free); in efct_hw_init_prereg_io()
688 INIT_LIST_HEAD(&io->list_entry); in efct_hw_init_io()
689 list_add_tail(&io->list_entry, &hw->io_free); in efct_hw_init_io()
928 list_entry); in efct_hw_init()
929 list_del_init(&temp->list_entry); in efct_hw_init()
939 list_entry); in efct_hw_init()
940 list_del_init(&temp->list_entry); in efct_hw_init()
950 list_entry); in efct_hw_init()
951 list_del_init(&temp->list_entry); in efct_hw_init()
[all …]
Defct_hw.h136 struct list_head list_entry; member
165 struct list_head list_entry; member
219 struct list_head list_entry; member
337 struct list_head list_entry; member
470 struct list_head list_entry; member
482 struct list_head list_entry; member
494 struct list_head list_entry; member
499 struct list_head list_entry; member
512 struct list_head list_entry; member
539 struct list_head list_entry; member
/Linux-v5.15/drivers/net/ethernet/intel/ice/
Dice_arfs.c113 hlist_for_each_entry_safe(e, n, del_list_head, list_entry) { in ice_arfs_del_flow_rules()
126 hlist_del(&e->list_entry); in ice_arfs_del_flow_rules()
150 hlist_for_each_entry_safe(ep, n, add_list_head, list_entry) { in ice_arfs_add_flow_rules()
166 hlist_del(&ep->list_entry); in ice_arfs_add_flow_rules()
225 hlist_for_each_entry_safe(e, n, &vsi->arfs_fltr_list[idx], list_entry) in ice_arfs_update_flow_rules()
234 INIT_HLIST_NODE(&ep->list_entry); in ice_arfs_update_flow_rules()
237 hlist_add_head(&ep->list_entry, add_list); in ice_arfs_update_flow_rules()
250 hlist_del(&e->list_entry); in ice_arfs_update_flow_rules()
253 hlist_add_head(&e->list_entry, del_list); in ice_arfs_update_flow_rules()
442 list_entry) { in ice_rx_flow_steer()
[all …]
/Linux-v5.15/drivers/usb/host/
Dfhci-q.c75 td = list_entry(ed->td_list.next, struct td, node); in peek_td_from_ed()
87 td = list_entry(frame->tds_list.next, struct td, frame_lh); in fhci_remove_td_from_frame()
100 td = list_entry(frame->tds_list.next, struct td, frame_lh); in fhci_peek_td_from_frame()
112 td = list_entry(ed->td_list.next, struct td, node); in fhci_remove_td_from_ed()
117 ed->td_head = list_entry(ed->td_list.next, struct td, in fhci_remove_td_from_ed()
132 td = list_entry(p_list->done_list.next, struct td, node); in fhci_remove_td_from_done_list()
149 ed->td_head = list_entry(ed->td_list.next, struct td, node); in fhci_move_td_from_ed_to_done_list()
174 ed->td_head = list_entry(ed->td_list.next, struct td, node); in free_urb_priv()
Duhci-q.c55 lqh = list_entry(uhci->skel_async_qh->node.prev, in uhci_fsbr_on()
67 lqh = list_entry(uhci->skel_async_qh->node.prev, in uhci_fsbr_off()
167 ltd = list_entry(ftd->fl_list.prev, struct uhci_td, fl_list); in uhci_insert_td_in_frame_list()
198 ntd = list_entry(td->fl_list.next, in uhci_remove_td_from_frame_list()
207 ptd = list_entry(td->fl_list.prev, struct uhci_td, fl_list); in uhci_remove_td_from_frame_list()
224 ltd = list_entry(ftd->fl_list.prev, struct uhci_td, fl_list); in uhci_remove_tds_from_frame()
338 purbp = list_entry(urbp->node.prev, struct urb_priv, node); in uhci_cleanup_queue()
340 ptd = list_entry(purbp->td_list.prev, struct uhci_td, in uhci_cleanup_queue()
342 td = list_entry(urbp->td_list.prev, struct uhci_td, in uhci_cleanup_queue()
360 td = list_entry(urbp->td_list.next, struct uhci_td, list); in uhci_cleanup_queue()
[all …]
/Linux-v5.15/drivers/vme/
Dvme.c53 return list_entry(resource->entry, struct vme_master_resource, in find_bridge()
56 return list_entry(resource->entry, struct vme_slave_resource, in find_bridge()
59 return list_entry(resource->entry, struct vme_dma_resource, in find_bridge()
62 return list_entry(resource->entry, struct vme_lm_resource, in find_bridge()
298 slave_image = list_entry(slave_pos, in vme_slave_request()
374 image = list_entry(resource->entry, struct vme_slave_resource, list); in vme_slave_set()
423 image = list_entry(resource->entry, struct vme_slave_resource, list); in vme_slave_get()
450 slave_image = list_entry(resource->entry, struct vme_slave_resource, in vme_slave_free()
499 master_image = list_entry(master_pos, in vme_master_request()
578 image = list_entry(resource->entry, struct vme_master_resource, list); in vme_master_set()
[all …]
/Linux-v5.15/tools/firewire/
Dlist.h47 #define list_entry(link, type, member) \ macro
51 list_entry((list)->next, type, member)
54 list_entry((list)->prev, type, member)
57 list_entry((elm)->member.next, typeof(*elm), member)
/Linux-v5.15/drivers/scsi/arm/
Dqueue.c117 q = list_entry(l, QE_t, list); in __queue_add()
142 q = list_entry(ent, QE_t, list); in __queue_remove()
166 QE_t *q = list_entry(l, QE_t, list); in queue_remove_exclude()
215 QE_t *q = list_entry(l, QE_t, list); in queue_remove_tgtluntag()
241 QE_t *q = list_entry(l, QE_t, list); in queue_remove_all_target()
265 QE_t *q = list_entry(l, QE_t, list); in queue_probetgtlun()
291 QE_t *q = list_entry(l, QE_t, list); in queue_remove_cmd()
/Linux-v5.15/drivers/scsi/elx/libefc/
Defc_nport.c50 list_for_each_entry(nport, &domain->nport_list, list_entry) { in efc_nport_find_wwn()
124 INIT_LIST_HEAD(&nport->list_entry); in efc_nport_alloc()
125 list_add_tail(&nport->list_entry, &domain->nport_list); in efc_nport_alloc()
144 list_del(&nport->list_entry); in efc_nport_free()
261 list_for_each_entry(vport, &efc->vport_list, list_entry) { in efc_vport_link_down()
480 list_for_each_entry(vport, &efc->vport_list, list_entry) { in efc_vport_update_spec()
631 list_for_each_entry_safe(vport, next, &efc->vport_list, list_entry) { in efc_vport_start()
691 list_for_each_entry_safe(vport, next, &efc->vport_list, list_entry) { in efc_nport_vport_del()
693 list_del(&vport->list_entry); in efc_nport_vport_del()
706 list_for_each_entry(nport, &domain->nport_list, list_entry) { in efc_nport_vport_del()
[all …]
/Linux-v5.15/drivers/char/xillybus/
Dxillybus_class.c31 struct list_head list_entry; member
73 list_for_each_entry(u, &unit_list, list_entry) in xillybus_init_chrdev()
145 list_add_tail(&unit->list_entry, &unit_list); in xillybus_init_chrdev()
182 list_for_each_entry(unit, &unit_list, list_entry) in xillybus_cleanup_chrdev()
207 list_del(&unit->list_entry); in xillybus_cleanup_chrdev()
224 list_for_each_entry(unit, &unit_list, list_entry) in xillybus_find_inode()
/Linux-v5.15/drivers/crypto/qat/qat_common/
Dadf_dev_mgr.c40 list_entry(itr, struct vf_id_map, list); in adf_find_vf()
54 list_entry(itr, struct vf_id_map, list); in adf_get_vf_real_id()
75 map = list_entry(ptr, struct vf_id_map, list); in adf_clean_vf_map()
105 list_entry(itr, struct adf_accel_dev, list); in adf_devmgr_update_class_index()
160 list_entry(itr, struct adf_accel_dev, list); in adf_devmgr_add_dev()
303 list_entry(itr, struct adf_accel_dev, list); in adf_devmgr_pci_to_accel_dev()
329 list_entry(itr, struct adf_accel_dev, list); in adf_devmgr_get_dev_by_id()
359 list_entry(itr, struct vf_id_map, list); in adf_get_num_dettached_vfs()
Dadf_cfg.c25 list_entry(v, struct adf_cfg_section, list); in qat_dev_cfg_show()
30 list_entry(list, struct adf_cfg_key_val, list); in qat_dev_cfg_show()
137 list_entry(list_ptr, struct adf_cfg_key_val, list); in adf_cfg_keyval_del_all()
149 ptr = list_entry(list, struct adf_cfg_section, list); in adf_cfg_section_del_all()
163 list_entry(list, struct adf_cfg_key_val, list); in adf_cfg_key_value_find()
178 list_entry(list, struct adf_cfg_section, list); in adf_cfg_sec_find()
Dadf_init.c125 service = list_entry(list_itr, struct service_hndl, list); in adf_dev_init()
173 service = list_entry(list_itr, struct service_hndl, list); in adf_dev_start()
228 service = list_entry(list_itr, struct service_hndl, list); in adf_dev_stop()
286 service = list_entry(list_itr, struct service_hndl, list); in adf_dev_shutdown()
325 service = list_entry(list_itr, struct service_hndl, list); in adf_dev_restarting_notify()
340 service = list_entry(list_itr, struct service_hndl, list); in adf_dev_restarted_notify()
/Linux-v5.15/drivers/usb/mon/
Dmon_main.c46 m1 = list_entry(p, struct mon_bus, bus_link); in mon_reader_add()
90 r = list_entry(pos, struct mon_reader, r_link); in mon_bus_submit()
117 r = list_entry(pos, struct mon_reader, r_link); in mon_bus_submit_error()
144 r = list_entry(pos, struct mon_reader, r_link); in mon_bus_complete()
172 mbus = list_entry(p, struct mon_bus, bus_link); in mon_stop()
342 mbus = list_entry(p, struct mon_bus, bus_link); in mon_bus_lookup()
396 mbus = list_entry(p, struct mon_bus, bus_link); in mon_exit()
/Linux-v5.15/drivers/w1/
Dw1_family.c29 f = list_entry(ent, struct w1_family, family_entry); in w1_register_family()
61 f = list_entry(ent, struct w1_family, family_entry); in w1_unregister_family()
93 f = list_entry(ent, struct w1_family, family_entry); in w1_family_registered()
/Linux-v5.15/drivers/net/phy/
Dmii_timestamper.c59 desc = list_entry(this, struct mii_timestamping_desc, list); in unregister_mii_tstamp_controller()
87 desc = list_entry(this, struct mii_timestamping_desc, list); in register_mii_timestamper()
126 desc = list_entry(this, struct mii_timestamping_desc, list); in unregister_mii_timestamper()
/Linux-v5.15/drivers/char/agp/
Disoch.c25 struct agp_3_5_dev *cur, *n = list_entry(new, struct agp_3_5_dev, list); in agp_3_5_dev_list_insert()
29 cur = list_entry(pos, struct agp_3_5_dev, list); in agp_3_5_dev_list_insert()
46 cur = list_entry(pos, struct agp_3_5_dev, list); in agp_3_5_dev_list_sort()
137 cur = list_entry(pos, struct agp_3_5_dev, list); in agp_3_5_isochronous_node_enable()
300 cur = list_entry(pos, struct agp_3_5_dev, list); in agp_3_5_nonisochronous_node_enable()
388 cur = list_entry(pos, struct agp_3_5_dev, list); in agp_3_5_enable()
456 cur = list_entry(pos, struct agp_3_5_dev, list); in agp_3_5_enable()
/Linux-v5.15/drivers/hid/
Dhid-lg3ff.c53 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lg3ff_play()
91 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lg3ff_set_autocenter()
130 hidinput = list_entry(hid->inputs.next, struct hid_input, list); in lg3ff_init()
/Linux-v5.15/arch/m68k/sun3/
Dsun3dvma.c92 hole = list_entry(cur, struct hole, list); in print_holes()
114 hole = list_entry(cur, struct hole, list); in refill()
144 ret = list_entry(hole_cache.next, struct hole, list); in rmcache()
169 hole = list_entry(cur, struct hole, list); in get_baddr()
222 hole = list_entry(cur, struct hole, list); in free_baddr()

12345678910>>...39