Home
last modified time | relevance | path

Searched refs:hlist_entry_safe (Results 1 – 25 of 58) sorted by relevance

123

/linux-6.6.21/include/linux/
Drculist.h706 pos = hlist_entry_safe(rcu_dereference_raw(hlist_first_rcu(head)),\
709 pos = hlist_entry_safe(rcu_dereference_raw(hlist_next_rcu(\
727 pos = hlist_entry_safe(rcu_dereference_raw(hlist_first_rcu(head)),\
730 pos = hlist_entry_safe(rcu_dereference_raw(hlist_next_rcu(\
747 for (pos = hlist_entry_safe(rcu_dereference_raw_check(hlist_first_rcu(head)),\
750 pos = hlist_entry_safe(rcu_dereference_raw_check(hlist_next_rcu(\
764 for (pos = hlist_entry_safe(rcu_dereference_bh(hlist_first_rcu(head)),\
767 pos = hlist_entry_safe(rcu_dereference_bh(hlist_next_rcu(\
776 for (pos = hlist_entry_safe(rcu_dereference_raw(hlist_next_rcu( \
779 pos = hlist_entry_safe(rcu_dereference_raw(hlist_next_rcu( \
[all …]
Dlist.h1123 #define hlist_entry_safe(ptr, type, member) \ macro
1135 for (pos = hlist_entry_safe((head)->first, typeof(*(pos)), member);\
1137 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
1145 for (pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member);\
1147 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
1156 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
1166 for (pos = hlist_entry_safe((head)->first, typeof(*pos), member);\
1168 pos = hlist_entry_safe(n, typeof(*pos), member))
/linux-6.6.21/tools/include/linux/
Dlist.h714 #define hlist_entry_safe(ptr, type, member) \ macro
726 for (pos = hlist_entry_safe((head)->first, typeof(*(pos)), member);\
728 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
736 for (pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member);\
738 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
747 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
757 for (pos = hlist_entry_safe((head)->first, typeof(*pos), member);\
759 pos = hlist_entry_safe(n, typeof(*pos), member))
/linux-6.6.21/drivers/nvdimm/
Dnd_perf.c136 nd_pmu = hlist_entry_safe(node, struct nvdimm_pmu, node); in nvdimm_pmu_cpu_offline()
173 nd_pmu = hlist_entry_safe(node, struct nvdimm_pmu, node); in nvdimm_pmu_cpu_online()
/linux-6.6.21/fs/proc/
Dconsoles.c93 return hlist_entry_safe(con->node.next, struct console, node); in c_next()
/linux-6.6.21/drivers/net/ethernet/freescale/fman/
Dfman_mac.h77 hlist_entry_safe(ptr, struct eth_hash_entry, node)
/linux-6.6.21/fs/notify/
Dfsnotify.c377 return hlist_entry_safe(node, struct fsnotify_mark, obj_list); in fsnotify_first_mark()
388 return hlist_entry_safe(node, struct fsnotify_mark, obj_list); in fsnotify_next_mark()
/linux-6.6.21/drivers/perf/hisilicon/
Dhisi_uncore_pmu.c481 struct hisi_pmu *hisi_pmu = hlist_entry_safe(node, struct hisi_pmu, in hisi_uncore_pmu_online_cpu()
505 struct hisi_pmu *hisi_pmu = hlist_entry_safe(node, struct hisi_pmu, in hisi_uncore_pmu_offline_cpu()
Dhisi_pcie_pmu.c666 struct hisi_pcie_pmu *pcie_pmu = hlist_entry_safe(node, struct hisi_pcie_pmu, node); in hisi_pcie_pmu_online_cpu()
678 struct hisi_pcie_pmu *pcie_pmu = hlist_entry_safe(node, struct hisi_pcie_pmu, node); in hisi_pcie_pmu_offline_cpu()
/linux-6.6.21/drivers/dma/idxd/
Dperfmon.c509 idxd_pmu = hlist_entry_safe(node, typeof(*idxd_pmu), cpuhp_node); in perf_event_cpu_online()
525 idxd_pmu = hlist_entry_safe(node, typeof(*idxd_pmu), cpuhp_node); in perf_event_cpu_offline()
/linux-6.6.21/drivers/perf/
Dqcom_l3_pmu.c705 struct l3cache_pmu *l3pmu = hlist_entry_safe(node, struct l3cache_pmu, node); in qcom_l3_cache_pmu_online_cpu()
716 struct l3cache_pmu *l3pmu = hlist_entry_safe(node, struct l3cache_pmu, node); in qcom_l3_cache_pmu_offline_cpu()
Darm_pmu.c705 struct arm_pmu *pmu = hlist_entry_safe(node, struct arm_pmu, node); in arm_perf_starting_cpu()
724 struct arm_pmu *pmu = hlist_entry_safe(node, struct arm_pmu, node); in arm_perf_teardown_cpu()
Darm_dsu_pmu.c814 struct dsu_pmu *dsu_pmu = hlist_entry_safe(node, struct dsu_pmu, in dsu_pmu_cpu_online()
833 struct dsu_pmu *dsu_pmu = hlist_entry_safe(node, struct dsu_pmu, in dsu_pmu_cpu_teardown()
Dqcom_l2_pmu.c772 l2cache_pmu = hlist_entry_safe(node, struct l2cache_pmu, node); in l2cache_pmu_online_cpu()
809 l2cache_pmu = hlist_entry_safe(node, struct l2cache_pmu, node); in l2cache_pmu_offline_cpu()
Dmarvell_cn10k_tad_pmu.c393 struct tad_pmu *pmu = hlist_entry_safe(node, struct tad_pmu, node); in tad_pmu_offline_cpu()
Dthunderx2_pmu.c919 tx2_pmu = hlist_entry_safe(hpnode, in tx2_uncore_pmu_online_cpu()
939 tx2_pmu = hlist_entry_safe(hpnode, in tx2_uncore_pmu_offline_cpu()
Dcxl_pmu.c921 struct cxl_pmu_info *info = hlist_entry_safe(node, struct cxl_pmu_info, node); in cxl_pmu_online_cpu()
938 struct cxl_pmu_info *info = hlist_entry_safe(node, struct cxl_pmu_info, node); in cxl_pmu_offline_cpu()
Darm_spe_pmu.c1151 spe_pmu = hlist_entry_safe(node, struct arm_spe_pmu, hotplug_node); in arm_spe_pmu_cpu_startup()
1163 spe_pmu = hlist_entry_safe(node, struct arm_spe_pmu, hotplug_node); in arm_spe_pmu_cpu_teardown()
/linux-6.6.21/net/core/
Dsock_map.c1060 elem_next = hlist_entry_safe(rcu_dereference(hlist_next_rcu(&elem->node)), in sock_hash_get_next_key()
1072 elem_next = hlist_entry_safe(rcu_dereference(hlist_first_rcu(head)), in sock_hash_get_next_key()
1309 elem = hlist_entry_safe(node, struct bpf_shtab_elem, node); in sock_hash_seq_find_next()
1320 elem = hlist_entry_safe(node, struct bpf_shtab_elem, node); in sock_hash_seq_find_next()
/linux-6.6.21/net/netfilter/ipvs/
Dip_vs_est.c607 est = hlist_entry_safe(ipvs->est_temp_list.first, in ip_vs_est_drain_temp_list()
831 est = hlist_entry_safe(td->chains[cid].first, struct ip_vs_estimator, in ip_vs_est_calc_phase()
/linux-6.6.21/drivers/iommu/intel/
Dperfmon.c778 struct iommu_pmu *iommu_pmu = hlist_entry_safe(node, typeof(*iommu_pmu), cpuhp_node); in iommu_pmu_cpu_online()
791 struct iommu_pmu *iommu_pmu = hlist_entry_safe(node, typeof(*iommu_pmu), cpuhp_node); in iommu_pmu_cpu_offline()
/linux-6.6.21/kernel/
Dpadata.c805 pinst = hlist_entry_safe(node, struct padata_instance, cpu_online_node); in padata_cpu_online()
820 pinst = hlist_entry_safe(node, struct padata_instance, cpu_dead_node); in padata_cpu_dead()
/linux-6.6.21/drivers/hwtracing/coresight/
Dcoresight-trbe.c1393 struct trbe_drvdata *drvdata = hlist_entry_safe(node, struct trbe_drvdata, hotplug_node); in arm_trbe_cpu_startup()
1416 struct trbe_drvdata *drvdata = hlist_entry_safe(node, struct trbe_drvdata, hotplug_node); in arm_trbe_cpu_teardown()
/linux-6.6.21/kernel/bpf/
Ddevmap.c295 next_dev = hlist_entry_safe(rcu_dereference_raw(hlist_next_rcu(&dev->index_hlist)), in dev_map_hash_get_next_key()
310 next_dev = hlist_entry_safe(rcu_dereference_raw(hlist_first_rcu(head)), in dev_map_hash_get_next_key()
/linux-6.6.21/drivers/perf/arm_cspmu/
Darm_cspmu.c1245 hlist_entry_safe(node, struct arm_cspmu, cpuhp_node); in arm_cspmu_cpu_online()
1266 hlist_entry_safe(node, struct arm_cspmu, cpuhp_node); in arm_cspmu_cpu_teardown()

123