Home
last modified time | relevance | path

Searched refs:list_for_each_entry (Results 1 – 25 of 2023) sorted by relevance

12345678910>>...81

/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Ddisp.c78 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_fini()
88 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_fini()
115 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_init()
120 list_for_each_entry(encoder, &dev->mode_config.encoder_list, base.base.head) in nv04_display_init()
130 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_init()
142 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_init()
156 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_init()
172 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_init()
196 list_for_each_entry(encoder, &dev->mode_config.encoder_list, base.base.head) in nv04_display_destroy()
199 list_for_each_entry(nv_crtc, &dev->mode_config.crtc_list, base.head) in nv04_display_destroy()
[all …]
/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhnae3.c21 list_for_each_entry(ae_dev, &hnae3_ae_dev_list, node) { in hnae3_unregister_ae_algo_prepare()
152 list_for_each_entry(client_tmp, &hnae3_client_list, node) { in hnae3_register_client()
160 list_for_each_entry(ae_dev, &hnae3_ae_dev_list, node) { in hnae3_register_client()
189 list_for_each_entry(client_tmp, &hnae3_client_list, node) { in hnae3_unregister_client()
203 list_for_each_entry(ae_dev, &hnae3_ae_dev_list, node) { in hnae3_unregister_client()
231 list_for_each_entry(ae_dev, &hnae3_ae_dev_list, node) { in hnae3_register_ae_algo()
255 list_for_each_entry(client, &hnae3_client_list, node) { in hnae3_register_ae_algo()
282 list_for_each_entry(ae_dev, &hnae3_ae_dev_list, node) { in hnae3_unregister_ae_algo()
293 list_for_each_entry(client, &hnae3_client_list, node) in hnae3_unregister_ae_algo()
325 list_for_each_entry(ae_algo, &hnae3_ae_algo_list, node) { in hnae3_register_ae_dev()
[all …]
/linux/virt/lib/
H A Dirqbypass.c100 list_for_each_entry(tmp, &producers, node) { in irq_bypass_register_producer()
107 list_for_each_entry(consumer, &consumers, node) { in irq_bypass_register_producer()
150 list_for_each_entry(tmp, &producers, node) { in irq_bypass_unregister_producer()
154 list_for_each_entry(consumer, &consumers, node) { in irq_bypass_unregister_producer()
196 list_for_each_entry(tmp, &consumers, node) { in irq_bypass_register_consumer()
203 list_for_each_entry(producer, &producers, node) { in irq_bypass_register_consumer()
246 list_for_each_entry(tmp, &consumers, node) { in irq_bypass_unregister_consumer()
250 list_for_each_entry(producer, &producers, node) { in irq_bypass_unregister_consumer()
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_validation.c178 list_for_each_entry(entry, &ctx->bo_list, base.head) { in vmw_validation_find_bo_dup()
220 list_for_each_entry(entry, &ctx->resource_ctx_list, head) { in vmw_validation_find_res_dup()
227 list_for_each_entry(entry, &ctx->resource_list, head) { in vmw_validation_find_res_dup()
415 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_reserve()
469 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_unreserve()
476 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_unreserve()
538 list_for_each_entry(entry, &ctx->bo_list, base.head) { in vmw_validation_bo_validate()
587 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_validate()
633 list_for_each_entry(entry, &ctx->bo_list, base.head) in vmw_validation_drop_ht()
636 list_for_each_entry(val, &ctx->resource_list, head) in vmw_validation_drop_ht()
[all …]
/linux/drivers/hwtracing/coresight/
H A Dcoresight-syscfg.c37 list_for_each_entry(feat_csdev, &csdev->feature_csdev_list, node) { in cscfg_get_feat_csdev()
110 list_for_each_entry(csdev_item, &cscfg_mgr->csdev_desc_list, item) { in cscfg_add_cfg_to_csdevs()
214 list_for_each_entry(csdev_item, &cscfg_mgr->csdev_desc_list, item) { in cscfg_add_feat_to_csdevs()
229 list_for_each_entry(feat_desc, &cscfg_mgr->feat_desc_list, item) { in cscfg_match_list_feat()
256 list_for_each_entry(feat_desc_exist, &cscfg_mgr->feat_desc_list, item) { in cscfg_load_feat()
280 list_for_each_entry(config_desc_exist, &cscfg_mgr->config_desc_list, item) { in cscfg_load_config()
312 list_for_each_entry(feat_desc_item, &cscfg_mgr->feat_desc_list, item) { in cscfg_get_named_feat_desc()
330 list_for_each_entry(feat_csdev, &csdev->feature_csdev_list, node) { in cscfg_csdev_get_feat_from_desc()
360 list_for_each_entry(csdev_item, &cscfg_mgr->csdev_desc_list, item) { in cscfg_update_feat_param_val()
428 list_for_each_entry(config_desc, &cscfg_mgr->config_desc_list, item) { in cscfg_fs_unregister_cfgs_feats()
[all …]
/linux/drivers/gpu/host1x/
H A Dbus.c200 list_for_each_entry(client, &device->clients, list) { in host1x_device_init()
211 list_for_each_entry(client, &device->clients, list) { in host1x_device_init()
300 list_for_each_entry(device, &host1x->devices, list) { in host1x_add_client()
301 list_for_each_entry(subdev, &device->subdevs, list) { in host1x_add_client()
323 list_for_each_entry(subdev, &device->active, list) { in host1x_del_client()
469 list_for_each_entry(subdev, &device->subdevs, list) { in host1x_device_add()
507 list_for_each_entry(device, &host1x->devices, list) { in host1x_attach_driver()
542 list_for_each_entry(device, &host1x->devices, list) { in host1x_devices_show()
549 list_for_each_entry(subdev, &device->active, list) in host1x_devices_show()
553 list_for_each_entry(subdev, &device->subdevs, list) in host1x_devices_show()
[all …]
/linux/arch/x86/pci/
H A Di386.c64 list_for_each_entry(map, &pcibios_fwaddrmappings, list) in pcibios_fwaddrmap_lookup()
240 list_for_each_entry(child, &bus->children, node) in pcibios_allocate_bus_resources()
312 list_for_each_entry(dev, &bus->devices, bus_list) { in pcibios_allocate_resources()
346 list_for_each_entry(dev, &bus->devices, bus_list) { in pcibios_allocate_rom_resources()
360 list_for_each_entry(bus, &pci_root_buses, node) in pcibios_assign_resources()
394 list_for_each_entry(bus, &pci_root_buses, node) in pcibios_resource_survey()
397 list_for_each_entry(bus, &pci_root_buses, node) in pcibios_resource_survey()
399 list_for_each_entry(bus, &pci_root_buses, node) in pcibios_resource_survey()
/linux/scripts/gdb/linux/
H A Dgenpd.py9 from linux.lists import list_for_each_entry
53 for link in list_for_each_entry(
65 for pm_data in list_for_each_entry(genpd['dev_list'],
78 for genpd in list_for_each_entry(
/linux/scripts/coccinelle/iterators/
H A Dlist_entry_update.cocci2 /// list_for_each_entry uses its first argument to get from one element of
20 iterator name list_for_each_entry;
25 list_for_each_entry@p1(x,...) { <... x =@p2 E ...> }
35 list_for_each_entry@p1(x,...) S
47 list_for_each_entry@p1(x,...) S
/linux/drivers/pci/hotplug/
H A Dibmphp_ebda.c113 list_for_each_entry(ptr, &bus_info_head, bus_info_list) { in print_bus_info()
134 list_for_each_entry(ptr, &rio_lo_head, rio_detail_list) { in print_lo_info()
149 list_for_each_entry(ptr, &rio_vg_head, rio_detail_list) { in print_vg_info()
164 list_for_each_entry(ptr, &ibmphp_ebda_pci_rsrc_head, ebda_pci_rsrc_list) { in print_ebda_pci_rsrc()
174 list_for_each_entry(ptr, &ibmphp_slot_head, ibm_slot_list) { in print_ibm_slot()
183 list_for_each_entry(ptr, &opt_vg_head, opt_rio_list) { in print_opt_vg()
196 list_for_each_entry(hpc_ptr, &ebda_hpc_head, ebda_hpc_list) { in print_ebda_hpc()
449 list_for_each_entry(ptr, &opt_vg_head, opt_rio_list) { in search_opt_vg()
461 list_for_each_entry(rio_detail_ptr, &rio_vg_head, rio_detail_list) { in combine_wpg_for_chassis()
487 list_for_each_entry(ptr, &opt_lo_head, opt_rio_lo_list) { in search_opt_lo()
[all …]
H A Dacpiphp_glue.c278 list_for_each_entry(slot, &bridge->slots, node) in acpiphp_add_context()
344 list_for_each_entry(slot, &bridge->slots, node) { in cleanup_bridge()
345 list_for_each_entry(func, &slot->funcs, sibling) { in cleanup_bridge()
386 list_for_each_entry(tmp, &bus->children, node) { in acpiphp_max_busnr()
398 list_for_each_entry(func, &slot->funcs, sibling) { in acpiphp_set_acpi_region()
422 list_for_each_entry(func, &slot->funcs, sibling) { in check_hotplug_bridge()
434 list_for_each_entry(func, &slot->funcs, sibling) { in acpiphp_rescan_slot()
527 list_for_each_entry(dev, &bus->devices, bus_list) { in enable_slot()
536 list_for_each_entry(func, &slot->funcs, sibling) { in enable_slot()
569 list_for_each_entry(func, &slot->funcs, sibling) in disable_slot()
[all …]
/linux/drivers/staging/media/imx/
H A Dimx-media-dev-common.c28 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_create_csi2_links()
37 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_create_csi2_links()
80 list_for_each_entry(pad_vdev, pad_vdev_list, list) { in imx_media_add_vdev_to_pad()
103 list_for_each_entry(link, &entity->links, list) { in imx_media_add_vdev_to_pad()
128 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_alloc_pad_vdev_lists()
157 list_for_each_entry(vdev, &imxmd->vdev_list, list) { in imx_media_create_pad_vdev_lists()
273 list_for_each_entry(pad_vdev, pad_vdev_list, list) { in imx_media_link_notify()
285 list_for_each_entry(pad_vdev, pad_vdev_list, list) { in imx_media_link_notify()
319 list_for_each_entry(pad_vdev, pad_vdev_list, list) in imx_media_notify()
/linux/drivers/usb/core/
H A Dphy.c151 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_init()
178 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_exit()
200 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_set_mode()
227 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_calibrate()
256 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_notify_connect()
285 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_notify_disconnect()
306 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_power_on()
/linux/drivers/soundwire/
H A Dstream.c274 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_program_port_params()
275 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_program_port_params()
283 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_program_port_params()
382 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_enable_disable_ports()
383 list_for_each_entry(s_port, &s_rt->port_list, port_node) { in sdw_enable_disable_ports()
392 list_for_each_entry(m_port, &m_rt->port_list, port_node) { in sdw_enable_disable_ports()
556 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_prep_deprep_ports()
557 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_prep_deprep_ports()
566 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_prep_deprep_ports()
596 list_for_each_entry(s_r in sdw_notify_config()
[all...]
/linux/drivers/acpi/
H A Dnvs.c58 list_for_each_entry(region, &nvs_region_list, node) { in acpi_nvs_for_each_region()
134 list_for_each_entry(entry, &nvs_list, node) in suspend_nvs_free()
158 list_for_each_entry(entry, &nvs_list, node) { in suspend_nvs_alloc()
177 list_for_each_entry(entry, &nvs_list, node) in suspend_nvs_save()
209 list_for_each_entry(entry, &nvs_list, node) in suspend_nvs_restore()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/top/
H A Dbase.c51 list_for_each_entry(info, &top->device, head) { in nvkm_top_addr()
67 list_for_each_entry(info, &top->device, head) { in nvkm_top_reset()
83 list_for_each_entry(info, &top->device, head) { in nvkm_top_intr_mask()
98 list_for_each_entry(info, &top->device, head) { in nvkm_top_fault_id()
112 list_for_each_entry(info, &top->device, head) { in nvkm_top_fault()
/linux/drivers/pnp/
H A Dquirks.c59 list_for_each_entry(option, &dev->options, list) { in quirk_awe32_resources()
75 list_for_each_entry(option, &dev->options, list) { in quirk_cmi8330_resources()
114 list_for_each_entry(option, &dev->options, list) { in quirk_sb16audio_resources()
145 list_for_each_entry(option, &dev->options, list) { in pnp_clone_dependent_set()
155 list_for_each_entry(option, &dev->options, list) { in pnp_clone_dependent_set()
214 list_for_each_entry(option, &dev->options, list) { in quirk_ad1815_mpu_resources()
306 list_for_each_entry(pnp_res, &dev->resources, list) { in quirk_amd_mmconfig_area()
389 list_for_each_entry(pnp_res, &dev->resources, list) { in quirk_intel_mch()
/linux/drivers/gpu/drm/radeon/
H A Dradeon_encoders.c60 list_for_each_entry(clone_encoder, &dev->mode_config.encoder_list, head) { in radeon_encoder_clones()
81 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { in radeon_setup_encoder_clones()
218 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in radeon_link_encoder_connector()
220 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { in radeon_link_encoder_connector()
237 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in radeon_encoder_set_active_device()
257 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in radeon_get_connector_for_encoder()
273 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in radeon_get_connector_for_encoder_init()
291 list_for_each_entry(other_encoder, &dev->mode_config.encoder_list, head) { in radeon_get_external_encoder()
/linux/drivers/gpu/drm/omapdrm/dss/
H A Dbase.c52 list_for_each_entry(dssdev, &omapdss_devices_list, list) { in omapdss_device_is_registered()
80 list_for_each_entry(dssdev, &omapdss_devices_list, list) { in omapdss_find_device_by_node()
110 list_for_each_entry(dssdev, list, list) { in omapdss_device_next_output()
192 list_for_each_entry(comp, &omapdss_comp_list, list) { in omapdss_list_contains()
275 list_for_each_entry(comp, &omapdss_comp_list, list) { in omapdss_stack_is_ready()
/linux/fs/dlm/
H A Dmember.c125 list_for_each_entry(memb, &ls->ls_nodes, list) { in dlm_slots_copy_in()
174 list_for_each_entry(memb, &ls->ls_nodes, list) { in dlm_slots_assign()
182 list_for_each_entry(memb, &ls->ls_nodes, list) { in dlm_slots_assign()
222 list_for_each_entry(memb, &ls->ls_nodes, list) { in dlm_slots_assign()
239 list_for_each_entry(memb, &ls->ls_nodes, list) { in dlm_slots_assign()
353 list_for_each_entry(memb, head, list) { in find_memb()
417 list_for_each_entry(memb, &ls->ls_nodes, list) { in make_member_array()
434 list_for_each_entry(memb, &ls->ls_nodes, list) { in make_member_array()
459 list_for_each_entry(memb, &ls->ls_nodes, list) { in ping_members()
522 list_for_each_entry(memb, &ls->ls_nodes, list) { in dlm_lsop_recover_done()
[all …]
/linux/drivers/media/v4l2-core/
H A Dv4l2-async.c144 list_for_each_entry(ase, &sd->async_subdev_endpoint_list, in match_fwnode()
187 list_for_each_entry(asc, &notifier->waiting_list, asc_entry) { in v4l2_async_find_match()
236 list_for_each_entry(n, &notifier_list, notifier_entry) in v4l2_async_find_subdev_notifier()
264 list_for_each_entry(asc, &notifier->done_list, asc_entry) { in v4l2_async_nf_can_complete()
433 list_for_each_entry(sd, &subdev_list, async_list) { in v4l2_async_nf_try_all_subdevs()
499 list_for_each_entry(asc, &notifier->waiting_list, asc_entry) in v4l2_async_nf_has_async_match_entry()
503 list_for_each_entry(asc, &notifier->done_list, asc_entry) in v4l2_async_nf_has_async_match_entry()
530 list_for_each_entry(asc, heads[i], asc_entry) { in v4l2_async_nf_has_async_match()
539 list_for_each_entry(notifier, &notifier_list, notifier_entry) in v4l2_async_nf_has_async_match()
595 list_for_each_entry(asc, &notifier->waiting_list, asc_entry) { in __v4l2_async_nf_register()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/core/
H A Dintr.c41 list_for_each_entry(tdev, &device->top->device, head) { in nvkm_intr_xlat()
81 list_for_each_entry(intr, &subdev->device->intr.intr, head) { in nvkm_intr_find()
150 list_for_each_entry(intr, &device->intr.intr, head) in nvkm_intr_rearm_locked()
159 list_for_each_entry(intr, &device->intr.intr, head) in nvkm_intr_unarm_locked()
182 list_for_each_entry(intr, &device->intr.intr, head) { in nvkm_intr()
196 list_for_each_entry(inth, &device->intr.prio[prio], head) { in nvkm_intr()
212 list_for_each_entry(intr, &device->intr.intr, head) { in nvkm_intr()
302 list_for_each_entry(tdev, &device->top->device, head) { in nvkm_intr_subdev_add()
322 list_for_each_entry(intr, &device->intr.intr, head) in nvkm_intr_rearm()
328 list_for_each_entry(intr, &device->intr.intr, head) { in nvkm_intr_rearm()
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_topology.c59 list_for_each_entry(top_dev, &topology_device_list, list) in kfd_topology_device_by_proximity_domain_no_lock()
89 list_for_each_entry(top_dev, &topology_device_list, list) in kfd_topology_device_by_id()
118 list_for_each_entry(top_dev, &topology_device_list, list) in kfd_device_by_pci_dev()
579 list_for_each_entry(iolink, &dev->io_link_props, list) in kfd_remove_sysfs_node_entry()
591 list_for_each_entry(p2plink, &dev->p2p_link_props, list) in kfd_remove_sysfs_node_entry()
603 list_for_each_entry(cache, &dev->cache_props, list) in kfd_remove_sysfs_node_entry()
615 list_for_each_entry(mem, &dev->mem_props, list) in kfd_remove_sysfs_node_entry()
626 list_for_each_entry(perf, &dev->perf_props, list) { in kfd_remove_sysfs_node_entry()
717 list_for_each_entry(mem, &dev->mem_props, list) { in kfd_build_sysfs_node_entry()
738 list_for_each_entry(cache, &dev->cache_props, list) { in kfd_build_sysfs_node_entry()
[all …]
/linux/drivers/s390/block/
H A Ddasd_alias.c48 list_for_each_entry(pos, &aliastree.serverlist, server) { in _find_server()
62 list_for_each_entry(pos, &server->lculist, lcu) { in _find_lcu()
89 list_for_each_entry(pos, &lcu->grouplist, group) { in _find_group()
765 list_for_each_entry(device, &lcu->active_devices, alias_list) { in _restart_all_base_devices_on_lcu()
772 list_for_each_entry(device, &lcu->inactive_devices, alias_list) { in _restart_all_base_devices_on_lcu()
779 list_for_each_entry(pavgroup, &lcu->grouplist, group) { in _restart_all_base_devices_on_lcu()
780 list_for_each_entry(device, &pavgroup->baselist, alias_list) { in _restart_all_base_devices_on_lcu()
815 list_for_each_entry(pavgroup, &lcu->grouplist, group) { in flush_all_alias_devices_on_lcu()
843 list_for_each_entry(device, &lcu->active_devices, alias_list) { in _stop_all_devices_on_lcu()
848 list_for_each_entry(device, &lcu->inactive_devices, alias_list) { in _stop_all_devices_on_lcu()
[all …]
/linux/tools/cgroup/
H A Dmemcg_slabinfo.py10 from drgn.helpers.linux import list_for_each_entry, list_empty
38 for css in list_for_each_entry('struct cgroup_subsys_state',
73 for slab in list_for_each_entry('struct slab', n.partial.address_of_(),
187 for ptr in list_for_each_entry('struct obj_cgroup',
219 for s in list_for_each_entry('struct kmem_cache',

12345678910>>...81