/linux/include/linux/ |
H A D | rculist.h | 711 pos = hlist_entry_safe(rcu_dereference_raw(hlist_first_rcu(head)),\ 714 pos = hlist_entry_safe(rcu_dereference_raw(hlist_next_rcu(\ 732 pos = hlist_entry_safe(rcu_dereference_raw(hlist_first_rcu(head)),\ 735 pos = hlist_entry_safe(rcu_dereference_raw(hlist_next_rcu(\ 752 for (pos = hlist_entry_safe(rcu_dereference_raw_check(hlist_first_rcu(head)),\ 755 pos = hlist_entry_safe(rcu_dereference_raw_check(hlist_next_rcu(\ 769 for (pos = hlist_entry_safe(rcu_dereference_bh(hlist_first_rcu(head)),\ 772 pos = hlist_entry_safe(rcu_dereference_bh(hlist_next_rcu(\ 781 for (pos = hlist_entry_safe(rcu_dereference_raw(hlist_next_rcu( \ 784 pos = hlist_entry_safe(rcu_dereference_raw(hlist_next_rcu( \ [all …]
|
H A D | list.h | 1143 #define hlist_entry_safe(ptr, type, member) \ 1155 for (pos = hlist_entry_safe((head)->first, typeof(*(pos)), member);\ 1157 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member)) 1165 for (pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member);\ 1167 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member)) 1176 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member)) 1186 for (pos = hlist_entry_safe((head)->first, typeof(*pos), member);\ 1188 pos = hlist_entry_safe(n, typeof(*pos), member)) 1151 #define hlist_entry_safe( global() macro
|
H A D | dcache.h | 599 return hlist_entry_safe(dentry->d_children.first, struct dentry, d_sib); in d_first_child() 604 return hlist_entry_safe(dentry->d_sib.next, struct dentry, d_sib); in d_next_sibling()
|
/linux/scripts/include/ |
H A D | list.h | 400 #define hlist_entry_safe(ptr, type, member) \ macro 412 for (pos = hlist_entry_safe((head)->first, typeof(*(pos)), member);\ 414 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member)) 424 for (pos = hlist_entry_safe((head)->first, typeof(*pos), member);\ 426 pos = hlist_entry_safe(n, typeof(*pos), member))
|
/linux/tools/include/linux/ |
H A D | list.h | 714 #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/drivers/nvdimm/ |
H A D | nd_perf.c | 136 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/fs/proc/ |
H A D | consoles.c | 95 return hlist_entry_safe(con->node.next, struct console, node); in c_next()
|
/linux/drivers/net/ethernet/freescale/fman/ |
H A D | fman_mac.h | 77 hlist_entry_safe(ptr, struct eth_hash_entry, node)
|
/linux/drivers/perf/hisilicon/ |
H A D | hisi_uncore_pmu.c | 467 struct hisi_pmu *hisi_pmu = hlist_entry_safe(node, struct hisi_pmu, in hisi_uncore_pmu_online_cpu() 491 struct hisi_pmu *hisi_pmu = hlist_entry_safe(node, struct hisi_pmu, in hisi_uncore_pmu_offline_cpu()
|
H A D | hisi_pcie_pmu.c | 693 struct hisi_pcie_pmu *pcie_pmu = hlist_entry_safe(node, struct hisi_pcie_pmu, node); in hisi_pcie_pmu_online_cpu() 705 struct hisi_pcie_pmu *pcie_pmu = hlist_entry_safe(node, struct hisi_pcie_pmu, node); in hisi_pcie_pmu_offline_cpu()
|
/linux/drivers/perf/ |
H A D | starfive_starlink_pmu.c | 591 struct starlink_pmu *starlink_pmu = hlist_entry_safe(node, in starlink_pmu_online_cpu() 606 struct starlink_pmu *starlink_pmu = hlist_entry_safe(node, in starlink_pmu_offline_cpu()
|
H A D | arm_pmu.c | 704 struct arm_pmu *pmu = hlist_entry_safe(node, struct arm_pmu, node); in arm_perf_starting_cpu() 723 struct arm_pmu *pmu = hlist_entry_safe(node, struct arm_pmu, node); in arm_perf_teardown_cpu()
|
H A D | dwc_pcie_pmu.c | 682 pcie_pmu = hlist_entry_safe(cpuhp_node, struct dwc_pcie_pmu, cpuhp_node); in dwc_pcie_pmu_online_cpu() 697 pcie_pmu = hlist_entry_safe(cpuhp_node, struct dwc_pcie_pmu, cpuhp_node); in dwc_pcie_pmu_offline_cpu()
|
H A D | cxl_pmu.c | 913 struct cxl_pmu_info *info = hlist_entry_safe(node, struct cxl_pmu_info, node); in cxl_pmu_online_cpu() 930 struct cxl_pmu_info *info = hlist_entry_safe(node, struct cxl_pmu_info, node); in cxl_pmu_offline_cpu()
|
H A D | arm_spe_pmu.c | 1129 spe_pmu = hlist_entry_safe(node, struct arm_spe_pmu, hotplug_node); in arm_spe_pmu_cpu_startup() 1141 spe_pmu = hlist_entry_safe(node, struct arm_spe_pmu, hotplug_node); in arm_spe_pmu_cpu_teardown()
|
/linux/net/netfilter/ipvs/ |
H A D | ip_vs_est.c | 608 est = hlist_entry_safe(ipvs->est_temp_list.first, in ip_vs_est_drain_temp_list() 832 est = hlist_entry_safe(td->chains[cid].first, struct ip_vs_estimator, in ip_vs_est_calc_phase()
|
/linux/net/core/ |
H A D | sock_map.c | 1067 elem_next = hlist_entry_safe(rcu_dereference(hlist_next_rcu(&elem->node)), in sock_hash_get_next_key() 1079 elem_next = hlist_entry_safe(rcu_dereference(hlist_first_rcu(head)), in sock_hash_get_next_key() 1321 elem = hlist_entry_safe(node, struct bpf_shtab_elem, node); in sock_hash_seq_find_next() 1332 elem = hlist_entry_safe(node, struct bpf_shtab_elem, node); in sock_hash_seq_find_next()
|
/linux/drivers/hwtracing/coresight/ |
H A D | coresight-trbe.c | 1404 struct trbe_drvdata *drvdata = hlist_entry_safe(node, struct trbe_drvdata, hotplug_node); in arm_trbe_cpu_startup() 1427 struct trbe_drvdata *drvdata = hlist_entry_safe(node, struct trbe_drvdata, hotplug_node); in arm_trbe_cpu_teardown()
|
/linux/kernel/ |
H A D | padata.c | 819 pinst = hlist_entry_safe(node, struct padata_instance, cpu_online_node); in padata_cpu_online() 834 pinst = hlist_entry_safe(node, struct padata_instance, cpu_dead_node); in padata_cpu_dead()
|
/linux/net/sunrpc/ |
H A D | cache.c | 1361 return hlist_entry_safe(rcu_dereference_raw( in __cache_seq_start() 1379 return hlist_entry_safe(rcu_dereference_raw( in cache_seq_next() 1392 return hlist_entry_safe(rcu_dereference_raw( in cache_seq_next()
|
/linux/kernel/bpf/ |
H A D | devmap.c | 307 next_dev = hlist_entry_safe(rcu_dereference_raw(hlist_next_rcu(&dev->index_hlist)), in dev_map_hash_get_next_key() 322 next_dev = hlist_entry_safe(rcu_dereference_raw(hlist_first_rcu(head)), in dev_map_hash_get_next_key()
|
/linux/arch/arm/mach-imx/ |
H A D | mmdc.c | 219 struct mmdc_pmu *pmu_mmdc = hlist_entry_safe(node, struct mmdc_pmu, node); in mmdc_pmu_offline_cpu()
|
/linux/io_uring/ |
H A D | io-wq.c | 1312 struct io_wq *wq = hlist_entry_safe(node, struct io_wq, cpuhp_node); in io_wq_cpu_online() 1319 struct io_wq *wq = hlist_entry_safe(node, struct io_wq, cpuhp_node); in io_wq_cpu_offline()
|
/linux/drivers/perf/amlogic/ |
H A D | meson_ddr_pmu_core.c | 395 struct ddr_pmu *pmu = hlist_entry_safe(node, struct ddr_pmu, node); in ddr_perf_offline_cpu()
|
/linux/lib/ |
H A D | list-test.c | 1028 hlist_entry_safe(&(test_struct.list), in hlist_test_entry_safe() 1032 hlist_entry_safe((struct hlist_node *)NULL, in hlist_test_entry_safe()
|