Home
last modified time | relevance | path

Searched refs:list_for_each_entry_safe (Results 1 – 25 of 1728) sorted by relevance

12345678910>>...70

/linux-6.6.21/drivers/target/iscsi/
Discsi_target_erl2.c126 list_for_each_entry_safe(cr, cr_tmp, &sess->cr_active_list, cr_list) { in iscsit_free_connection_recovery_entries()
131 list_for_each_entry_safe(cmd, cmd_tmp, in iscsit_free_connection_recovery_entries()
148 list_for_each_entry_safe(cr, cr_tmp, &sess->cr_inactive_list, cr_list) { in iscsit_free_connection_recovery_entries()
153 list_for_each_entry_safe(cmd, cmd_tmp, in iscsit_free_connection_recovery_entries()
225 list_for_each_entry_safe(cmd, cmd_tmp, in iscsit_discard_cr_cmds_by_expstatsn()
274 list_for_each_entry_safe(ooo_cmdsn, ooo_cmdsn_tmp, in iscsit_discard_unacknowledged_ooo_cmdsns_for_conn()
289 list_for_each_entry_safe(cmd, cmd_tmp, &conn->conn_cmd_list, i_conn_node) { in iscsit_discard_unacknowledged_ooo_cmdsns_for_conn()
338 list_for_each_entry_safe(cmd, cmd_tmp, &conn->conn_cmd_list, i_conn_node) { in iscsit_prepare_cmds_for_reallegiance()
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_gem_evict.c199 list_for_each_entry_safe(vma, next, &vm->bound_list, vm_link) { in i915_gem_evict_something()
235 list_for_each_entry_safe(vma, next, &eviction_list, evict_link) { in i915_gem_evict_something()
282 list_for_each_entry_safe(vma, next, &eviction_list, evict_link) { in i915_gem_evict_something()
293 list_for_each_entry_safe(vma, next, &eviction_list, evict_link) { in i915_gem_evict_something()
428 list_for_each_entry_safe(vma, next, &eviction_list, evict_link) { in i915_gem_evict_for_node()
515 list_for_each_entry_safe(vma, vn, &locked_eviction_list, evict_link) { in i915_gem_evict_vm()
527 list_for_each_entry_safe(vma, vn, &eviction_list, evict_link) { in i915_gem_evict_vm()
/linux-6.6.21/drivers/iommu/
Dio-pgfault.c85 list_for_each_entry_safe(iopf, next, &group->faults, list) { in iopf_handler()
198 list_for_each_entry_safe(iopf, next, &iopf_param->partial, list) { in iommu_queue_iopf()
208 list_for_each_entry_safe(iopf, next, &iopf_param->partial, list) { in iommu_queue_iopf()
271 list_for_each_entry_safe(iopf, next, &iopf_param->partial, in iopf_queue_discard_partial()
356 list_for_each_entry_safe(iopf, next, &iopf_param->partial, list) in iopf_queue_remove_device()
412 list_for_each_entry_safe(iopf_param, next, &queue->devices, queue_list) in iopf_queue_free()
/linux-6.6.21/security/tomoyo/
Dgc.c263 list_for_each_entry_safe(acl, tmp, &domain->acl_info_list, list) { in tomoyo_del_domain()
491 list_for_each_entry_safe(member, tmp, member_list, list) { in tomoyo_collect_member()
511 list_for_each_entry_safe(acl, tmp, list, list) { in tomoyo_collect_acl()
535 list_for_each_entry_safe(domain, tmp, &tomoyo_domain_list, in tomoyo_collect_entry()
553 list_for_each_entry_safe(ptr, tmp, &tomoyo_condition_list, in tomoyo_collect_entry()
578 list_for_each_entry_safe(group, tmp, list, head.list) { in tomoyo_collect_entry()
595 list_for_each_entry_safe(ptr, tmp, list, list) { in tomoyo_collect_entry()
625 list_for_each_entry_safe(head, tmp, &tomoyo_io_buffer_list, in tomoyo_gc_thread()
/linux-6.6.21/drivers/staging/rtl8192e/
Drtl819x_TSProc.c397 list_for_each_entry_safe(pTS, pTmpTS, &ieee->Tx_TS_Pending_List, List) { in RemovePeerTS()
405 list_for_each_entry_safe(pTS, pTmpTS, &ieee->Tx_TS_Admit_List, List) { in RemovePeerTS()
415 list_for_each_entry_safe(pTS, pTmpTS, &ieee->Rx_TS_Pending_List, List) { in RemovePeerTS()
423 list_for_each_entry_safe(pTS, pTmpTS, &ieee->Rx_TS_Admit_List, List) { in RemovePeerTS()
437 list_for_each_entry_safe(pTS, pTmpTS, &ieee->Tx_TS_Pending_List, List) { in RemoveAllTS()
443 list_for_each_entry_safe(pTS, pTmpTS, &ieee->Tx_TS_Admit_List, List) { in RemoveAllTS()
449 list_for_each_entry_safe(pTS, pTmpTS, &ieee->Rx_TS_Pending_List, List) { in RemoveAllTS()
455 list_for_each_entry_safe(pTS, pTmpTS, &ieee->Rx_TS_Admit_List, List) { in RemoveAllTS()
/linux-6.6.21/drivers/acpi/
Dwakeup.c42 list_for_each_entry_safe(dev, tmp, &acpi_wakeup_device_list, in acpi_enable_wakeup_devices()
67 list_for_each_entry_safe(dev, tmp, &acpi_wakeup_device_list, in acpi_disable_wakeup_devices()
88 list_for_each_entry_safe(dev, tmp, &acpi_wakeup_device_list, in acpi_wakeup_device_init()
/linux-6.6.21/drivers/greybus/
Dmanifest.c56 list_for_each_entry_safe(descriptor, next, &intf->manifest_descs, links) in release_manifest_descriptors()
65 list_for_each_entry_safe(desc, tmp, head, links) { in release_cport_descriptors()
81 list_for_each_entry_safe(descriptor, next, &intf->manifest_descs, links) in get_next_bundle_desc()
240 list_for_each_entry_safe(desc, next, &intf->manifest_descs, links) { in gb_manifest_parse_cports()
286 list_for_each_entry_safe(desc, next, &list, links) { in gb_manifest_parse_cports()
381 list_for_each_entry_safe(bundle, bundle_next, &intf->bundles, links) { in gb_manifest_parse_bundles()
/linux-6.6.21/net/core/
Ddev_addr_lists.c252 list_for_each_entry_safe(ha, tmp, &from_list->list, list) { in __hw_addr_sync_multiple()
276 list_for_each_entry_safe(ha, tmp, &from_list->list, list) { in __hw_addr_sync()
294 list_for_each_entry_safe(ha, tmp, &from_list->list, list) { in __hw_addr_unsync()
324 list_for_each_entry_safe(ha, tmp, &list->list, list) { in __hw_addr_sync_dev()
337 list_for_each_entry_safe(ha, tmp, &list->list, list) { in __hw_addr_sync_dev()
380 list_for_each_entry_safe(ha, tmp, &list->list, list) { in __hw_addr_ref_sync_dev()
396 list_for_each_entry_safe(ha, tmp, &list->list, list) { in __hw_addr_ref_sync_dev()
435 list_for_each_entry_safe(ha, tmp, &list->list, list) { in __hw_addr_ref_unsync_dev()
469 list_for_each_entry_safe(ha, tmp, &list->list, list) { in __hw_addr_unsync_dev()
488 list_for_each_entry_safe(ha, tmp, &list->list, list) { in __hw_addr_flush()
/linux-6.6.21/drivers/scsi/cxlflash/
Dlunmgt.c88 list_for_each_entry_safe(lli, temp, &cfg->lluns, list) in lookup_local()
105 list_for_each_entry_safe(gli, temp, &global.gluns, list) in lookup_global()
183 list_for_each_entry_safe(lli, temp, &cfg->lluns, list) { in cxlflash_term_local_luns()
208 list_for_each_entry_safe(gli, temp, &global.gluns, list) { in cxlflash_term_global_luns()
/linux-6.6.21/drivers/target/
Dtarget_core_ua.c93 list_for_each_entry_safe(ua_p, ua_tmp, &deve->ua_list, ua_nacl_list) { in core_scsi3_ua_allocate()
181 list_for_each_entry_safe(ua, ua_p, &deve->ua_list, ua_nacl_list) { in core_scsi3_ua_release_all()
228 list_for_each_entry_safe(ua, ua_p, &deve->ua_list, ua_nacl_list) { in core_scsi3_ua_for_check_condition()
305 list_for_each_entry_safe(ua, ua_p, &deve->ua_list, ua_nacl_list) { in core_scsi3_ua_clear_for_request_sense()
Dtarget_core_tmr.c121 list_for_each_entry_safe(se_cmd, next, &dev->queues[i].state_list, in core_tmr_abort_task()
191 list_for_each_entry_safe(tmr_p, tmr_pp, &dev->dev_tmr_list, tmr_list) { in core_tmr_drain_tmr_list()
234 list_for_each_entry_safe(tmr_p, tmr_pp, &drain_tmr_list, tmr_list) { in core_tmr_drain_tmr_list()
304 list_for_each_entry_safe(cmd, next, &dev->queues[i].state_list, in core_tmr_drain_state_list()
/linux-6.6.21/drivers/staging/rtl8192u/ieee80211/
Drtl819x_TSProc.c456 list_for_each_entry_safe(pTS, pTmpTS, &ieee->Tx_TS_Pending_List, list) { in RemovePeerTS()
464 list_for_each_entry_safe(pTS, pTmpTS, &ieee->Tx_TS_Admit_List, list) { in RemovePeerTS()
473 list_for_each_entry_safe(pTS, pTmpTS, &ieee->Rx_TS_Pending_List, list) { in RemovePeerTS()
481 list_for_each_entry_safe(pTS, pTmpTS, &ieee->Rx_TS_Admit_List, list) { in RemovePeerTS()
494 list_for_each_entry_safe(pTS, pTmpTS, &ieee->Tx_TS_Pending_List, list) { in RemoveAllTS()
500 list_for_each_entry_safe(pTS, pTmpTS, &ieee->Tx_TS_Admit_List, list) { in RemoveAllTS()
506 list_for_each_entry_safe(pTS, pTmpTS, &ieee->Rx_TS_Pending_List, list) { in RemoveAllTS()
512 list_for_each_entry_safe(pTS, pTmpTS, &ieee->Rx_TS_Admit_List, list) { in RemoveAllTS()
/linux-6.6.21/scripts/coccinelle/iterators/
Duse_after_iter.cocci29 iterator name list_for_each_entry_safe;
68 list_for_each_entry_safe@p1(c,...,member) { ... when != break;
100 list_for_each_entry_safe(c,...) S
102 list_for_each_entry_safe(x,c,...) S
/linux-6.6.21/drivers/soc/xilinx/
Dxlnx_event_manager.c133 list_for_each_entry_safe(cb_pos, cb_next, &eve_data->cb_list_head, list) { in xlnx_add_cb_for_notify_event()
203 list_for_each_entry_safe(cb_pos, cb_next, &eve_data->cb_list_head, list) { in xlnx_remove_cb_for_suspend()
240 list_for_each_entry_safe(cb_pos, cb_next, &eve_data->cb_list_head, list) { in xlnx_remove_cb_for_notify_event()
436 list_for_each_entry_safe(cb_pos, cb_next, &eve_data->cb_list_head, list) { in xlnx_call_suspend_cb_handler()
458 list_for_each_entry_safe(cb_pos, cb_next, &eve_data->cb_list_head, list) { in xlnx_call_notify_cb_handler()
469 list_for_each_entry_safe(cb_pos, cb_next, &eve_data->cb_list_head, in xlnx_call_notify_cb_handler()
682 list_for_each_entry_safe(cb_pos, cb_next, &eve_data->cb_list_head, list) { in xlnx_event_manager_remove()
/linux-6.6.21/drivers/infiniband/hw/usnic/
Dusnic_uiom_interval_tree.c164 list_for_each_entry_safe(interval, tmp, diff_set, link) { in usnic_uiom_get_intervals_diff()
175 list_for_each_entry_safe(interval, tmp, intervals, link) in usnic_uiom_put_interval_set()
233 list_for_each_entry_safe(interval, tmp, &intersection_set, link) { in usnic_uiom_insert_interval()
244 list_for_each_entry_safe(interval, tmp, &to_add, link) in usnic_uiom_insert_interval()
/linux-6.6.21/drivers/isdn/mISDN/
Ddsp_pipeline.c123 list_for_each_entry_safe(entry, n, &dsp_elements, list) in mISDN_dsp_element_unregister()
151 list_for_each_entry_safe(entry, n, &dsp_elements, list) { in dsp_pipeline_module_exit()
173 list_for_each_entry_safe(entry, n, &pipeline->list, list) { in _dsp_pipeline_destroy()
218 list_for_each_entry_safe(entry, n, &dsp_elements, list) in dsp_pipeline_build()
/linux-6.6.21/net/rds/
Dloop.c190 list_for_each_entry_safe(lc, _lc, &tmp_list, loop_node) { in rds_loop_exit()
202 list_for_each_entry_safe(lc, _lc, &loop_conns, loop_node) { in rds_loop_kill_conns()
211 list_for_each_entry_safe(lc, _lc, &tmp_list, loop_node) { in rds_loop_kill_conns()
/linux-6.6.21/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cmdbuf_res.c128 list_for_each_entry_safe(entry, next, list, head) { in vmw_cmdbuf_res_commit()
164 list_for_each_entry_safe(entry, next, list, head) { in vmw_cmdbuf_res_revert()
311 list_for_each_entry_safe(entry, next, &man->list, head) in vmw_cmdbuf_res_man_destroy()
/linux-6.6.21/drivers/usb/usbip/
Dvudc_main.c75 list_for_each_entry_safe(udc_dev, udc_dev2, &vudc_devices, dev_entry) { in vudc_init()
95 list_for_each_entry_safe(udc_dev, udc_dev2, &vudc_devices, dev_entry) { in vudc_cleanup()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dcrypto.c537 list_for_each_entry_safe(dek, next, &pool->wait_for_free, entry) { in mlx5_crypto_dek_pool_free_wait_keys()
553 list_for_each_entry_safe(bulk, tmp, &pool->partial_list, entry) { in mlx5_crypto_dek_pool_reset_synced()
559 list_for_each_entry_safe(bulk, tmp, &pool->full_list, entry) { in mlx5_crypto_dek_pool_reset_synced()
571 list_for_each_entry_safe(bulk, tmp, &pool->sync_list, entry) { in mlx5_crypto_dek_pool_reset_synced()
666 list_for_each_entry_safe(bulk, tmp, destroy_list, entry) in mlx5_crypto_dek_free_destroy_list()
716 list_for_each_entry_safe(bulk, tmp, &pool->avail_list, entry) in mlx5_crypto_dek_pool_destroy()
719 list_for_each_entry_safe(bulk, tmp, &pool->full_list, entry) in mlx5_crypto_dek_pool_destroy()
722 list_for_each_entry_safe(bulk, tmp, &pool->sync_list, entry) in mlx5_crypto_dek_pool_destroy()
725 list_for_each_entry_safe(bulk, tmp, &pool->partial_list, entry) in mlx5_crypto_dek_pool_destroy()
/linux-6.6.21/drivers/net/vxlan/
Dvxlan_multicast.c111 list_for_each_entry_safe(v, tmp, &vg->vni_list, vlist) { in vxlan_group_used_by_vnifilter()
185 list_for_each_entry_safe(v, tmp, &vg->vni_list, vlist) { in vxlan_multicast_join_vnigrp()
201 list_for_each_entry_safe(v, tmp, &vg->vni_list, vlist) { in vxlan_multicast_join_vnigrp()
223 list_for_each_entry_safe(v, tmp, &vg->vni_list, vlist) { in vxlan_multicast_leave_vnigrp()
/linux-6.6.21/include/linux/
Ddamon.h584 list_for_each_entry_safe(r, next, &t->regions_list, list)
590 list_for_each_entry_safe(t, next, &(ctx)->adaptive_targets, list)
596 list_for_each_entry_safe(s, next, &(ctx)->schemes, list)
602 list_for_each_entry_safe(f, next, &(scheme)->filters, list)
/linux-6.6.21/drivers/net/wireless/ath/
Ddfs_pri_detector.c104 list_for_each_entry_safe(p, p0, &pulse_pool, head) { in pool_deregister_ref()
109 list_for_each_entry_safe(ps, ps0, &pseq_pool, head) { in pool_deregister_ref()
308 list_for_each_entry_safe(ps, ps2, &pde->sequences, head) { in pseq_handler_add_to_existing_seqs()
362 list_for_each_entry_safe(ps, ps0, &pde->sequences, head) { in pri_detector_reset()
366 list_for_each_entry_safe(p, p0, &pde->pulses, head) { in pri_detector_reset()
/linux-6.6.21/fs/xfs/scrub/
Drefcount.c192 list_for_each_entry_safe(frag, n, &refchk->fragments, list) { in xchk_refcountbt_process_rmap_fragments()
213 list_for_each_entry_safe(frag, n, &worklist, list) { in xchk_refcountbt_process_rmap_fragments()
226 list_for_each_entry_safe(frag, n, &refchk->fragments, list) { in xchk_refcountbt_process_rmap_fragments()
261 list_for_each_entry_safe(frag, n, &worklist, list) { in xchk_refcountbt_process_rmap_fragments()
265 list_for_each_entry_safe(frag, n, &refchk->fragments, list) { in xchk_refcountbt_process_rmap_fragments()
312 list_for_each_entry_safe(frag, n, &refchk.fragments, list) { in xchk_refcountbt_xref_rmap()
/linux-6.6.21/fs/smb/client/
Dcached_dir.c491 list_for_each_entry_safe(cfid, q, &cfids->entries, entry) { in invalidate_all_cached_dirs()
501 list_for_each_entry_safe(cfid, q, &entry, entry) { in invalidate_all_cached_dirs()
596 list_for_each_entry_safe(dirent, q, &cfid->dirents.entries, entry) { in free_cached_dir()
616 list_for_each_entry_safe(cfid, q, &cfids->entries, entry) { in cfids_laundromat_worker()
628 list_for_each_entry_safe(cfid, q, &entry, entry) { in cfids_laundromat_worker()
684 list_for_each_entry_safe(cfid, q, &cfids->entries, entry) { in free_cached_dirs()
691 list_for_each_entry_safe(cfid, q, &entry, entry) { in free_cached_dirs()

12345678910>>...70