Home
last modified time | relevance | path

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

12345678910>>...74

/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/drivers/soundwire/
H A Dgeneric_bandwidth_allocation.c46 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_compute_slave_ports()
52 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_compute_slave_ports()
95 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_compute_dp0_slave_ports()
96 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_compute_dp0_slave_ports()
112 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_compute_dp0_master_ports()
126 list_for_each_entry(m_rt, &bus->m_rt_list, bus_node) { in sdw_compute_dp0_port_params()
158 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_compute_master_ports()
209 list_for_each_entry(m_rt, &bus->m_rt_list, bus_node) { in _sdw_compute_port_params()
243 list_for_each_entry(m_rt, &bus->m_rt_list, bus_node) { in sdw_compute_group_params()
258 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_compute_group_params()
[all …]
H A Dstream.c288 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_program_port_params()
289 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_program_port_params()
297 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_program_port_params()
396 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_enable_disable_ports()
397 list_for_each_entry(s_port, &s_rt->port_list, port_node) { in sdw_enable_disable_ports()
406 list_for_each_entry(m_port, &m_rt->port_list, port_node) { in sdw_enable_disable_ports()
588 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_prep_deprep_ports()
589 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_prep_deprep_ports()
598 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_prep_deprep_ports()
628 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_notify_config()
[all …]
/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()
416 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_reserve()
470 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_unreserve()
477 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_unreserve()
539 list_for_each_entry(entry, &ctx->bo_list, base.head) { in vmw_validation_bo_validate()
588 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_validate()
634 list_for_each_entry(entry, &ctx->bo_list, base.head) in vmw_validation_drop_ht()
637 list_for_each_entry(val, &ctx->resource_list, head) in vmw_validation_drop_ht()
[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/tools/testing/selftests/damon/
H A Ddrgn_dump_damon_status.py68 for r in list_for_each_entry(
81 for t in list_for_each_entry(
105 for g in list_for_each_entry(
179 for f in list_for_each_entry(
184 for f in list_for_each_entry(
193 for s in list_for_each_entry(
/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/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/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/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/drivers/gpu/drm/
H A Ddrm_client_event.c99 list_for_each_entry(client, &dev->clientlist, list) in drm_client_dev_hotplug()
114 list_for_each_entry(client, &dev->clientlist, list) { in drm_client_dev_restore()
148 list_for_each_entry(client, &dev->clientlist, list) { in drm_client_dev_suspend()
181 list_for_each_entry(client, &dev->clientlist, list) { in drm_client_dev_resume()
198 list_for_each_entry(client, &dev->clientlist, list) in drm_client_debugfs_internal_clients()
/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()
523 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/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',
/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/drivers/gpio/
H A Dgpiolib-shared.c71 list_for_each_entry(entry, &gpio_shared_list, list) { in gpio_shared_find_entry()
379 list_for_each_entry(entry, &gpio_shared_list, list) { in gpio_shared_add_proxy_lookup()
380 list_for_each_entry(ref, &entry->refs, list) { in gpio_shared_add_proxy_lookup()
430 list_for_each_entry(entry, &gpio_shared_list, list) { in gpio_device_setup_shared()
431 list_for_each_entry(ref, &entry->refs, list) { in gpio_device_setup_shared()
448 list_for_each_entry(entry, &gpio_shared_list, list) { in gpio_device_setup_shared()
468 list_for_each_entry(ref, &entry->refs, list) { in gpio_device_setup_shared()
486 list_for_each_entry(entry, &gpio_shared_list, list) { in gpio_device_teardown_shared()
499 list_for_each_entry(ref, &entry->refs, list) { in gpio_device_teardown_shared()
/linux/net/dsa/
H A Ddsa.c110 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_lag_find()
122 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_bridge_find()
133 list_for_each_entry(dst, &dsa_tree_list, list) { in dsa_bridge_num_find()
185 list_for_each_entry(dst, &dsa_tree_list, list) { in dsa_switch_find()
189 list_for_each_entry(dp, &dst->ports, list) { in dsa_switch_find()
205 list_for_each_entry(dst, &dsa_tree_list, list) in dsa_tree_find()
281 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_find_port_by_node()
297 list_for_each_entry(dl, &dst->rtable, list) in dsa_link_touch()
346 list_for_each_entry(dp, &dst->ports, list) { in dsa_tree_setup_routing_table()
361 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_find_first_cpu()
[all …]

12345678910>>...74