Home
last modified time | relevance | path

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

12345678910>>...88

/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.c116 list_for_each_entry(client_tmp, &hnae3_client_list, node) { in hnae3_register_client()
124 list_for_each_entry(ae_dev, &hnae3_ae_dev_list, node) { in hnae3_register_client()
148 list_for_each_entry(ae_dev, &hnae3_ae_dev_list, node) { in hnae3_unregister_client()
173 list_for_each_entry(ae_dev, &hnae3_ae_dev_list, node) { in hnae3_register_ae_algo()
192 list_for_each_entry(client, &hnae3_client_list, node) { in hnae3_register_ae_algo()
216 list_for_each_entry(ae_dev, &hnae3_ae_dev_list, node) { in hnae3_unregister_ae_algo()
227 list_for_each_entry(client, &hnae3_client_list, node) in hnae3_unregister_ae_algo()
255 list_for_each_entry(ae_algo, &hnae3_ae_algo_list, node) { in hnae3_register_ae_dev()
282 list_for_each_entry(client, &hnae3_client_list, node) { in hnae3_register_ae_dev()
306 list_for_each_entry(ae_algo, &hnae3_ae_algo_list, node) { in hnae3_unregister_ae_dev()
[all …]
/Linux-v4.19/virt/lib/
Dirqbypass.c102 list_for_each_entry(tmp, &producers, node) { in irq_bypass_register_producer()
110 list_for_each_entry(consumer, &consumers, node) { in irq_bypass_register_producer()
152 list_for_each_entry(tmp, &producers, node) { in irq_bypass_unregister_producer()
156 list_for_each_entry(consumer, &consumers, node) { in irq_bypass_unregister_producer()
197 list_for_each_entry(tmp, &consumers, node) { in irq_bypass_register_consumer()
205 list_for_each_entry(producer, &producers, node) { in irq_bypass_register_consumer()
247 list_for_each_entry(tmp, &consumers, node) { in irq_bypass_unregister_consumer()
251 list_for_each_entry(producer, &producers, node) { in irq_bypass_unregister_consumer()
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dgf119.c44 list_for_each_entry(head, &disp->base.head, head) { in gf119_disp_super()
52 list_for_each_entry(head, &disp->base.head, head) { in gf119_disp_super()
59 list_for_each_entry(head, &disp->base.head, head) { in gf119_disp_super()
65 list_for_each_entry(head, &disp->base.head, head) { in gf119_disp_super()
70 list_for_each_entry(head, &disp->base.head, head) { in gf119_disp_super()
77 list_for_each_entry(head, &disp->base.head, head) { in gf119_disp_super()
84 list_for_each_entry(head, &disp->base.head, head) in gf119_disp_super()
158 list_for_each_entry(head, &disp->base.head, head) { in gf119_disp_intr()
193 list_for_each_entry(head, &disp->base.head, head) { in gf119_disp_init()
240 list_for_each_entry(head, &disp->base.head, head) { in gf119_disp_init()
Dgv100.c51 list_for_each_entry(head, &disp->base.head, head) { in gv100_disp_super()
59 list_for_each_entry(head, &disp->base.head, head) { in gv100_disp_super()
66 list_for_each_entry(head, &disp->base.head, head) { in gv100_disp_super()
72 list_for_each_entry(head, &disp->base.head, head) { in gv100_disp_super()
77 list_for_each_entry(head, &disp->base.head, head) { in gv100_disp_super()
84 list_for_each_entry(head, &disp->base.head, head) { in gv100_disp_super()
91 list_for_each_entry(head, &disp->base.head, head) in gv100_disp_super()
337 list_for_each_entry(head, &disp->base.head, head) { in gv100_disp_init()
397 list_for_each_entry(head, &disp->base.head, head) { in gv100_disp_init()
Dbase.c111 list_for_each_entry(outp, &disp->outp, head) { in nvkm_disp_hpd_ctor()
226 list_for_each_entry(outp, &disp->outp, head) { in nvkm_disp_fini()
230 list_for_each_entry(conn, &disp->conn, head) { in nvkm_disp_fini()
245 list_for_each_entry(conn, &disp->conn, head) { in nvkm_disp_init()
249 list_for_each_entry(outp, &disp->outp, head) { in nvkm_disp_init()
262 list_for_each_entry(ior, &disp->ior, head) { in nvkm_disp_init()
348 list_for_each_entry(pair, &disp->outp, head) { in nvkm_disp_oneinit()
368 list_for_each_entry(conn, &disp->conn, head) { in nvkm_disp_oneinit()
406 list_for_each_entry(outp, &disp->outp, head) { in nvkm_disp_oneinit()
417 list_for_each_entry(head, &disp->head, head) in nvkm_disp_oneinit()
/Linux-v4.19/drivers/gpu/drm/nouveau/dispnv04/
Ddisp.c106 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { in nv04_display_create()
114 list_for_each_entry(crtc, &dev->mode_config.crtc_list, base.head) in nv04_display_create()
117 list_for_each_entry(nv_encoder, &dev->mode_config.encoder_list, base.base.head) in nv04_display_create()
134 list_for_each_entry(encoder, &dev->mode_config.encoder_list, base.base.head) in nv04_display_destroy()
137 list_for_each_entry(nv_crtc, &dev->mode_config.crtc_list, base.head) in nv04_display_destroy()
162 list_for_each_entry(crtc, &dev->mode_config.crtc_list, base.head) in nv04_display_init()
165 list_for_each_entry(encoder, &dev->mode_config.encoder_list, base.base.head) in nv04_display_init()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Ddev.c167 list_for_each_entry(dev_ctx, &priv->ctx_list, list) in mlx5_get_device()
238 list_for_each_entry(intf, &intf_list, list) in mlx5_attach_device()
271 list_for_each_entry(intf, &intf_list, list) in mlx5_detach_device()
282 list_for_each_entry(priv, &mlx5_dev_list, dev_list) in mlx5_device_registered()
297 list_for_each_entry(intf, &intf_list, list) in mlx5_register_device()
310 list_for_each_entry(intf, &intf_list, list) in mlx5_unregister_device()
325 list_for_each_entry(priv, &mlx5_dev_list, dev_list) in mlx5_register_interface()
338 list_for_each_entry(priv, &mlx5_dev_list, dev_list) in mlx5_unregister_interface()
362 list_for_each_entry(dev_ctx, &mdev->priv.ctx_list, list) in mlx5_get_protocol_dev()
380 list_for_each_entry(intf, &intf_list, list) in mlx5_add_dev_by_protocol()
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/top/
Dbase.c50 list_for_each_entry(info, &top->device, head) { in nvkm_top_reset()
66 list_for_each_entry(info, &top->device, head) { in nvkm_top_intr_mask()
84 list_for_each_entry(info, &top->device, head) { in nvkm_top_intr()
104 list_for_each_entry(info, &top->device, head) { in nvkm_top_fault_id()
118 list_for_each_entry(info, &top->device, head) { in nvkm_top_fault()
133 list_for_each_entry(info, &top->device, head) { in nvkm_top_engine()
/Linux-v4.19/arch/x86/pci/
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-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dintf.c78 list_for_each_entry(dev_ctx, &priv->ctx_list, list) in mlx4_remove_device()
100 list_for_each_entry(priv, &dev_list, dev_list) { in mlx4_register_interface()
121 list_for_each_entry(priv, &dev_list, dev_list) in mlx4_unregister_interface()
167 list_for_each_entry(dev_ctx, &bond_list, bond_list) { in mlx4_do_bond()
191 list_for_each_entry(dev_ctx, &priv->ctx_list, list) in mlx4_dispatch_event()
207 list_for_each_entry(intf, &intf_list, list) in mlx4_register_device()
239 list_for_each_entry(intf, &intf_list, list) in mlx4_unregister_device()
257 list_for_each_entry(dev_ctx, &priv->ctx_list, list) in mlx4_get_protocol_dev()
/Linux-v4.19/scripts/coccinelle/iterators/
Dlist_entry_update.cocci1 /// list_for_each_entry uses its first argument to get from one element of
19 iterator name list_for_each_entry;
24 list_for_each_entry@p1(x,...) { <... x =@p2 E ...> }
34 list_for_each_entry@p1(x,...) S
46 list_for_each_entry@p1(x,...) S
/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_display.h280 list_for_each_entry(crtc, &(dev)->mode_config.crtc_list, head)
283 list_for_each_entry(intel_plane, \
288 list_for_each_entry(intel_plane, \
295 list_for_each_entry(intel_plane, \
301 list_for_each_entry(intel_crtc, \
306 list_for_each_entry(intel_crtc, \
312 list_for_each_entry(intel_encoder, \
324 list_for_each_entry((intel_encoder), &(dev)->mode_config.encoder_list, base.head) \
328 list_for_each_entry((intel_connector), &(dev)->mode_config.connector_list, base.head) \
/Linux-v4.19/drivers/acpi/
Dnvs.c57 list_for_each_entry(region, &nvs_region_list, node) { in acpi_nvs_for_each_region()
133 list_for_each_entry(entry, &nvs_list, node) in suspend_nvs_free()
157 list_for_each_entry(entry, &nvs_list, node) { in suspend_nvs_alloc()
176 list_for_each_entry(entry, &nvs_list, node) in suspend_nvs_save()
208 list_for_each_entry(entry, &nvs_list, node) in suspend_nvs_restore()
/Linux-v4.19/tools/objtool/
Delf.c38 list_for_each_entry(sec, &elf->sections, list) in find_section_by_name()
50 list_for_each_entry(sec, &elf->sections, list) in find_section_by_index()
62 list_for_each_entry(sec, &elf->sections, list) in find_symbol_by_index()
74 list_for_each_entry(sym, &sec->symbol_list, list) in find_symbol_by_offset()
87 list_for_each_entry(sec, &elf->sections, list) in find_symbol_by_name()
88 list_for_each_entry(sym, &sec->symbol_list, list) in find_symbol_by_name()
99 list_for_each_entry(sym, &sec->symbol_list, list) in find_symbol_containing()
133 list_for_each_entry(func, &sec->symbol_list, list) in find_containing_func()
299 list_for_each_entry(sec, &elf->sections, list) { in read_symbols()
300 list_for_each_entry(sym, &sec->symbol_list, list) { in read_symbols()
[all …]
/Linux-v4.19/drivers/gpu/host1x/
Dbus.c207 list_for_each_entry(client, &device->clients, list) { in host1x_device_init()
276 list_for_each_entry(device, &host1x->devices, list) { in host1x_add_client()
277 list_for_each_entry(subdev, &device->subdevs, list) { in host1x_add_client()
299 list_for_each_entry(subdev, &device->active, list) { in host1x_del_client()
437 list_for_each_entry(subdev, &device->subdevs, list) { in host1x_device_add()
475 list_for_each_entry(device, &host1x->devices, list) { in host1x_attach_driver()
521 list_for_each_entry(driver, &drivers, list) in host1x_register()
542 list_for_each_entry(driver, &drivers, list) in host1x_unregister()
608 list_for_each_entry(host1x, &devices, list) in host1x_driver_register_full()
658 list_for_each_entry(host1x, &devices, list) { in host1x_client_register()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_encoders.c44 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in amdgpu_link_encoder_connector()
46 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { in amdgpu_link_encoder_connector()
65 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in amdgpu_encoder_set_active_device()
84 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in amdgpu_get_connector_for_encoder()
100 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in amdgpu_get_connector_for_encoder_init()
118 list_for_each_entry(other_encoder, &dev->mode_config.encoder_list, head) { in amdgpu_get_external_encoder()
/Linux-v4.19/drivers/pci/hotplug/
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 …]
Dacpiphp_glue.c269 list_for_each_entry(slot, &bridge->slots, node) in acpiphp_add_context()
335 list_for_each_entry(slot, &bridge->slots, node) { in cleanup_bridge()
336 list_for_each_entry(func, &slot->funcs, sibling) { in cleanup_bridge()
377 list_for_each_entry(tmp, &bus->children, node) { in acpiphp_max_busnr()
391 list_for_each_entry(func, &slot->funcs, sibling) { in acpiphp_set_acpi_region()
412 list_for_each_entry(func, &slot->funcs, sibling) { in check_hotplug_bridge()
424 list_for_each_entry(func, &slot->funcs, sibling) { in acpiphp_rescan_slot()
511 list_for_each_entry(dev, &bus->devices, bus_list) { in enable_slot()
520 list_for_each_entry(func, &slot->funcs, sibling) { in enable_slot()
552 list_for_each_entry(func, &slot->funcs, sibling) in disable_slot()
[all …]
/Linux-v4.19/include/media/
Dv4l2-device.h229 list_for_each_entry(sd, &(v4l2_dev)->subdevs, list)
253 list_for_each_entry((sd), &(v4l2_dev)->subdevs, list) \
312 list_for_each_entry((sd), &(v4l2_dev)->subdevs, list) { \
488 list_for_each_entry(__sd, &(v4l2_dev)->subdevs, list) { \
516 list_for_each_entry(__sd, &(v4l2_dev)->subdevs, list) { \
Dmedia-device.h371 list_for_each_entry(entity, &(mdev)->entities, graph_obj.list)
375 list_for_each_entry(intf, &(mdev)->interfaces, graph_obj.list)
379 list_for_each_entry(pad, &(mdev)->pads, graph_obj.list)
383 list_for_each_entry(link, &(mdev)->links, graph_obj.list)
/Linux-v4.19/drivers/pnp/
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()
317 list_for_each_entry(pnp_res, &dev->resources, list) { in quirk_amd_mmconfig_area()
400 list_for_each_entry(pnp_res, &dev->resources, list) { in quirk_intel_mch()
/Linux-v4.19/drivers/leds/
Dled-triggers.c53 list_for_each_entry(trig, &trigger_list, next_trig) { in led_trigger_store()
88 list_for_each_entry(trig, &trigger_list, next_trig) { in led_trigger_show()
202 list_for_each_entry(trig, &trigger_list, next_trig) { in led_trigger_set_default()
236 list_for_each_entry(_trig, &trigger_list, next_trig) { in led_trigger_register()
248 list_for_each_entry(led_cdev, &leds_list, node) { in led_trigger_register()
275 list_for_each_entry(led_cdev, &leds_list, node) { in led_trigger_unregister()
324 list_for_each_entry(led_cdev, &trig->led_cdevs, trig_list) in led_trigger_event()
342 list_for_each_entry(led_cdev, &trig->led_cdevs, trig_list) { in led_trigger_blink_setup()
/Linux-v4.19/drivers/cpuidle/
Dgovernor.c31 list_for_each_entry(gov, &cpuidle_governors, governor_list) in __cpuidle_find_governor()
56 list_for_each_entry(dev, &cpuidle_detected_devices, device_list) in cpuidle_switch_governor()
63 list_for_each_entry(dev, &cpuidle_detected_devices, device_list) in cpuidle_switch_governor()
/Linux-v4.19/drivers/clk/ti/
Dautoidle.c110 list_for_each_entry(c, &autoidle_clks, node) in _clk_generic_allow_autoidle_all()
124 list_for_each_entry(c, &autoidle_clks, node) in _clk_generic_deny_autoidle_all()
203 list_for_each_entry(c, &clk_hw_omap_clocks, node) in omap2_clk_enable_autoidle_all()
225 list_for_each_entry(c, &clk_hw_omap_clocks, node) in omap2_clk_disable_autoidle_all()
/Linux-v4.19/fs/dlm/
Dmember.c131 list_for_each_entry(memb, &ls->ls_nodes, list) { in dlm_slots_copy_in()
180 list_for_each_entry(memb, &ls->ls_nodes, list) { in dlm_slots_assign()
188 list_for_each_entry(memb, &ls->ls_nodes, list) { in dlm_slots_assign()
228 list_for_each_entry(memb, &ls->ls_nodes, list) { in dlm_slots_assign()
245 list_for_each_entry(memb, &ls->ls_nodes, list) { in dlm_slots_assign()
343 list_for_each_entry(memb, head, list) { in find_memb()
394 list_for_each_entry(memb, &ls->ls_nodes, list) { in make_member_array()
411 list_for_each_entry(memb, &ls->ls_nodes, list) { in make_member_array()
436 list_for_each_entry(memb, &ls->ls_nodes, list) { in ping_members()
498 list_for_each_entry(memb, &ls->ls_nodes, list) { in dlm_lsop_recover_done()
[all …]

12345678910>>...88