Home
last modified time | relevance | path

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

12345678910>>...73

/linux-6.1.9/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.1.9/drivers/gpu/drm/i915/
Di915_gem_evict.c182 list_for_each_entry_safe(vma, next, &vm->bound_list, vm_link) { in i915_gem_evict_something()
218 list_for_each_entry_safe(vma, next, &eviction_list, evict_link) { in i915_gem_evict_something()
265 list_for_each_entry_safe(vma, next, &eviction_list, evict_link) { in i915_gem_evict_something()
276 list_for_each_entry_safe(vma, next, &eviction_list, evict_link) { in i915_gem_evict_something()
403 list_for_each_entry_safe(vma, next, &eviction_list, evict_link) { in i915_gem_evict_for_node()
490 list_for_each_entry_safe(vma, vn, &locked_eviction_list, evict_link) { in i915_gem_evict_vm()
502 list_for_each_entry_safe(vma, vn, &eviction_list, evict_link) { in i915_gem_evict_vm()
/linux-6.1.9/drivers/iommu/
Dio-pgfault.c136 list_for_each_entry_safe(iopf, next, &group->faults, list) { in iopf_handle_group()
241 list_for_each_entry_safe(iopf, next, &iopf_param->partial, list) { in iommu_queue_iopf()
251 list_for_each_entry_safe(iopf, next, &iopf_param->partial, list) { in iommu_queue_iopf()
314 list_for_each_entry_safe(iopf, next, &iopf_param->partial, in iopf_queue_discard_partial()
399 list_for_each_entry_safe(iopf, next, &iopf_param->partial, list) in iopf_queue_remove_device()
455 list_for_each_entry_safe(iopf_param, next, &queue->devices, queue_list) in iopf_queue_free()
/linux-6.1.9/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.1.9/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.1.9/fs/xfs/scrub/
Drefcount.c189 list_for_each_entry_safe(frag, n, &refchk->fragments, list) { in xchk_refcountbt_process_rmap_fragments()
210 list_for_each_entry_safe(frag, n, &worklist, list) { in xchk_refcountbt_process_rmap_fragments()
223 list_for_each_entry_safe(frag, n, &refchk->fragments, list) { in xchk_refcountbt_process_rmap_fragments()
258 list_for_each_entry_safe(frag, n, &worklist, list) { in xchk_refcountbt_process_rmap_fragments()
262 list_for_each_entry_safe(frag, n, &refchk->fragments, list) { in xchk_refcountbt_process_rmap_fragments()
307 list_for_each_entry_safe(frag, n, &refchk.fragments, list) { in xchk_refcountbt_xref_rmap()
Dbitmap.h23 list_for_each_entry_safe((bex), (n), &(bitmap)->list, list)
26 list_for_each_entry_safe((bex), (n), &(bitmap)->list, list) \
/linux-6.1.9/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.1.9/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.1.9/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.1.9/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()
193 list_for_each_entry_safe(tmr_p, tmr_pp, &dev->dev_tmr_list, tmr_list) { in core_tmr_drain_tmr_list()
225 list_for_each_entry_safe(tmr_p, tmr_pp, &drain_tmr_list, tmr_list) { in core_tmr_drain_tmr_list()
295 list_for_each_entry_safe(cmd, next, &dev->queues[i].state_list, in core_tmr_drain_state_list()
/linux-6.1.9/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.1.9/drivers/staging/rtl8192e/
Drtl819x_TSProc.c442 list_for_each_entry_safe(pTS, pTmpTS, &ieee->Tx_TS_Pending_List, List) { in RemovePeerTS()
450 list_for_each_entry_safe(pTS, pTmpTS, &ieee->Tx_TS_Admit_List, List) { in RemovePeerTS()
460 list_for_each_entry_safe(pTS, pTmpTS, &ieee->Rx_TS_Pending_List, List) { in RemovePeerTS()
468 list_for_each_entry_safe(pTS, pTmpTS, &ieee->Rx_TS_Admit_List, List) { in RemovePeerTS()
482 list_for_each_entry_safe(pTS, pTmpTS, &ieee->Tx_TS_Pending_List, List) { in RemoveAllTS()
488 list_for_each_entry_safe(pTS, pTmpTS, &ieee->Tx_TS_Admit_List, List) { in RemoveAllTS()
494 list_for_each_entry_safe(pTS, pTmpTS, &ieee->Rx_TS_Pending_List, List) { in RemoveAllTS()
500 list_for_each_entry_safe(pTS, pTmpTS, &ieee->Rx_TS_Admit_List, List) { in RemoveAllTS()
/linux-6.1.9/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.1.9/drivers/soc/xilinx/
Dxlnx_event_manager.c131 list_for_each_entry_safe(cb_pos, cb_next, &eve_data->cb_list_head, list) { in xlnx_add_cb_for_notify_event()
200 list_for_each_entry_safe(cb_pos, cb_next, &eve_data->cb_list_head, list) { in xlnx_remove_cb_for_suspend()
236 list_for_each_entry_safe(cb_pos, cb_next, &eve_data->cb_list_head, list) { in xlnx_remove_cb_for_notify_event()
432 list_for_each_entry_safe(cb_pos, cb_next, &eve_data->cb_list_head, list) { in xlnx_call_suspend_cb_handler()
454 list_for_each_entry_safe(cb_pos, cb_next, &eve_data->cb_list_head, list) { in xlnx_call_notify_cb_handler()
465 list_for_each_entry_safe(cb_pos, cb_next, &eve_data->cb_list_head, in xlnx_call_notify_cb_handler()
675 list_for_each_entry_safe(cb_pos, cb_next, &eve_data->cb_list_head, list) { in xlnx_event_manager_remove()
/linux-6.1.9/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.1.9/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.1.9/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.1.9/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.1.9/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.1.9/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.1.9/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.1.9/samples/livepatch/
Dlivepatch-shadow-mod.c177 list_for_each_entry_safe(d, tmp, &dummy_list, list) { in cleanup_work_func()
210 list_for_each_entry_safe(d, tmp, &dummy_list, list) { in livepatch_shadow_mod_exit()
/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_gt_requests.c21 list_for_each_entry_safe(rq, rn, &tl->requests, link) in retire_requests()
143 list_for_each_entry_safe(tl, tn, &timelines->active_list, link) { in intel_gt_retire_requests_timeout()
193 list_for_each_entry_safe(tl, tn, &free, link) in intel_gt_retire_requests_timeout()

12345678910>>...73