Home
last modified time | relevance | path

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

12

/linux/include/linux/
H A Drculist.h711 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 Dlist.h1143 #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 Ddcache.h599 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 Dlist.h400 #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 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/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()
/linux/fs/proc/
H A Dconsoles.c95 return hlist_entry_safe(con->node.next, struct console, node); in c_next()
/linux/drivers/net/ethernet/freescale/fman/
H A Dfman_mac.h77 hlist_entry_safe(ptr, struct eth_hash_entry, node)
/linux/drivers/perf/hisilicon/
H A Dhisi_uncore_pmu.c467 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 Dhisi_pcie_pmu.c693 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 Dstarfive_starlink_pmu.c591 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 Darm_pmu.c704 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 Ddwc_pcie_pmu.c682 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 Dcxl_pmu.c913 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 Darm_spe_pmu.c1129 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 Dip_vs_est.c608 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 Dsock_map.c1067 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 Dcoresight-trbe.c1404 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 Dpadata.c819 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 Dcache.c1361 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 Ddevmap.c307 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 Dmmdc.c219 struct mmdc_pmu *pmu_mmdc = hlist_entry_safe(node, struct mmdc_pmu, node); in mmdc_pmu_offline_cpu()
/linux/io_uring/
H A Dio-wq.c1312 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 Dmeson_ddr_pmu_core.c395 struct ddr_pmu *pmu = hlist_entry_safe(node, struct ddr_pmu, node); in ddr_perf_offline_cpu()
/linux/lib/
H A Dlist-test.c1028 hlist_entry_safe(&(test_struct.list), in hlist_test_entry_safe()
1032 hlist_entry_safe((struct hlist_node *)NULL, in hlist_test_entry_safe()

12