Home
last modified time | relevance | path

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

123

/openbmc/linux/include/linux/
H A Drculist.h706 pos = hlist_entry_safe(rcu_dereference_raw(hlist_first_rcu(head)),\
709 pos = hlist_entry_safe(rcu_dereference_raw(hlist_next_rcu(\
730 pos = hlist_entry_safe(rcu_dereference_raw(hlist_next_rcu(\
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( \
788 for (pos = hlist_entry_safe(rcu_dereference_bh(hlist_next_rcu( \
791 pos = hlist_entry_safe(rcu_dereference_bh(hlist_next_rcu( \
[all …]
H A 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))
/openbmc/linux/tools/include/linux/
H A 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))
/openbmc/linux/fs/proc/
H A Dconsoles.c93 return hlist_entry_safe(con->node.next, struct console, node); in c_next()
/openbmc/linux/drivers/nvdimm/
H A 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()
/openbmc/linux/drivers/net/ethernet/freescale/fman/
H A Dfman_mac.h77 hlist_entry_safe(ptr, struct eth_hash_entry, node)
/openbmc/linux/drivers/perf/hisilicon/
H A 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()
H A Dhisi_pcie_pmu.c692 struct hisi_pcie_pmu *pcie_pmu = hlist_entry_safe(node, struct hisi_pcie_pmu, node); in hisi_pcie_pmu_online_cpu()
704 struct hisi_pcie_pmu *pcie_pmu = hlist_entry_safe(node, struct hisi_pcie_pmu, node); in hisi_pcie_pmu_offline_cpu()
/openbmc/linux/fs/notify/
H A Dfsnotify.c388 return hlist_entry_safe(node, struct fsnotify_mark, obj_list); in fsnotify_first_mark()
399 return hlist_entry_safe(node, struct fsnotify_mark, obj_list); in fsnotify_next_mark()
/openbmc/linux/drivers/perf/
H A 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()
H A 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()
H A 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()
H A 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()
H A Dmarvell_cn10k_tad_pmu.c393 struct tad_pmu *pmu = hlist_entry_safe(node, struct tad_pmu, node); in tad_pmu_offline_cpu()
H A 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()
H A 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()
H A Darm_spe_pmu.c1150 spe_pmu = hlist_entry_safe(node, struct arm_spe_pmu, hotplug_node); in arm_spe_pmu_cpu_startup()
1162 spe_pmu = hlist_entry_safe(node, struct arm_spe_pmu, hotplug_node); in arm_spe_pmu_cpu_teardown()
/openbmc/linux/drivers/dma/idxd/
H A 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()
/openbmc/linux/net/core/
H A Dsock_map.c1064 elem_next = hlist_entry_safe(rcu_dereference(hlist_next_rcu(&elem->node)), in sock_hash_get_next_key()
1076 elem_next = hlist_entry_safe(rcu_dereference(hlist_first_rcu(head)), in sock_hash_get_next_key()
1318 elem = hlist_entry_safe(node, struct bpf_shtab_elem, node); in sock_hash_seq_find_next()
1329 elem = hlist_entry_safe(node, struct bpf_shtab_elem, node); in sock_hash_seq_find_next()
/openbmc/linux/net/netfilter/ipvs/
H A 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()
/openbmc/linux/drivers/iommu/intel/
H A 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()
/openbmc/linux/drivers/hwtracing/coresight/
H A 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()
/openbmc/linux/kernel/
H A Dpadata.c816 pinst = hlist_entry_safe(node, struct padata_instance, cpu_online_node); in padata_cpu_online()
831 pinst = hlist_entry_safe(node, struct padata_instance, cpu_dead_node); in padata_cpu_dead()
/openbmc/linux/drivers/perf/arm_cspmu/
H A 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()
/openbmc/linux/kernel/bpf/
H A Ddevmap.c296 next_dev = hlist_entry_safe(rcu_dereference_raw(hlist_next_rcu(&dev->index_hlist)), in dev_map_hash_get_next_key()
311 next_dev = hlist_entry_safe(rcu_dereference_raw(hlist_first_rcu(head)), in dev_map_hash_get_next_key()

123