Home
last modified time | relevance | path

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

12

/Linux-v5.4/include/linux/
Drculist.h647 pos = hlist_entry_safe(rcu_dereference_raw(hlist_first_rcu(head)),\
650 pos = hlist_entry_safe(rcu_dereference_raw(hlist_next_rcu(\
667 for (pos = hlist_entry_safe(rcu_dereference_raw_check(hlist_first_rcu(head)),\
670 pos = hlist_entry_safe(rcu_dereference_raw_check(hlist_next_rcu(\
684 for (pos = hlist_entry_safe(rcu_dereference_bh(hlist_first_rcu(head)),\
687 pos = hlist_entry_safe(rcu_dereference_bh(hlist_next_rcu(\
696 for (pos = hlist_entry_safe(rcu_dereference_raw(hlist_next_rcu( \
699 pos = hlist_entry_safe(rcu_dereference_raw(hlist_next_rcu( \
708 for (pos = hlist_entry_safe(rcu_dereference_bh(hlist_next_rcu( \
711 pos = hlist_entry_safe(rcu_dereference_bh(hlist_next_rcu( \
[all …]
Dlist.h856 #define hlist_entry_safe(ptr, type, member) \ macro
868 for (pos = hlist_entry_safe((head)->first, typeof(*(pos)), member);\
870 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
878 for (pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member);\
880 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
889 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
899 for (pos = hlist_entry_safe((head)->first, typeof(*pos), member);\
901 pos = hlist_entry_safe(n, typeof(*pos), member))
/Linux-v5.4/tools/include/linux/
Dlist.h703 #define hlist_entry_safe(ptr, type, member) \ macro
715 for (pos = hlist_entry_safe((head)->first, typeof(*(pos)), member);\
717 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
725 for (pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member);\
727 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
736 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
746 for (pos = hlist_entry_safe((head)->first, typeof(*pos), member);\
748 pos = hlist_entry_safe(n, typeof(*pos), member))
/Linux-v5.4/fs/notify/
Dfsnotify.c243 return hlist_entry_safe(node, struct fsnotify_mark, obj_list); in fsnotify_first_mark()
254 return hlist_entry_safe(node, struct fsnotify_mark, obj_list); in fsnotify_next_mark()
/Linux-v5.4/drivers/perf/hisilicon/
Dhisi_uncore_pmu.c385 struct hisi_pmu *hisi_pmu = hlist_entry_safe(node, struct hisi_pmu, in hisi_uncore_pmu_online_cpu()
408 struct hisi_pmu *hisi_pmu = hlist_entry_safe(node, struct hisi_pmu, in hisi_uncore_pmu_offline_cpu()
/Linux-v5.4/drivers/net/ethernet/freescale/fman/
Dfman_mac.h76 hlist_entry_safe(ptr, struct eth_hash_entry, node)
/Linux-v5.4/drivers/perf/
Darm_pmu.c617 struct arm_pmu *pmu = hlist_entry_safe(node, struct arm_pmu, node); in arm_perf_starting_cpu()
640 struct arm_pmu *pmu = hlist_entry_safe(node, struct arm_pmu, node); in arm_perf_teardown_cpu()
Darm_dsu_pmu.c769 struct dsu_pmu *dsu_pmu = hlist_entry_safe(node, struct dsu_pmu, in dsu_pmu_cpu_online()
788 struct dsu_pmu *dsu_pmu = hlist_entry_safe(node, struct dsu_pmu, in dsu_pmu_cpu_teardown()
Dqcom_l3_pmu.c708 struct l3cache_pmu *l3pmu = hlist_entry_safe(node, struct l3cache_pmu, node); in qcom_l3_cache_pmu_online_cpu()
719 struct l3cache_pmu *l3pmu = hlist_entry_safe(node, struct l3cache_pmu, node); in qcom_l3_cache_pmu_offline_cpu()
Dthunderx2_pmu.c721 tx2_pmu = hlist_entry_safe(hpnode, in tx2_uncore_pmu_online_cpu()
741 tx2_pmu = hlist_entry_safe(hpnode, in tx2_uncore_pmu_offline_cpu()
Dqcom_l2_pmu.c817 l2cache_pmu = hlist_entry_safe(node, struct l2cache_pmu, node); in l2cache_pmu_online_cpu()
854 l2cache_pmu = hlist_entry_safe(node, struct l2cache_pmu, node); in l2cache_pmu_offline_cpu()
Darm_spe_pmu.c1075 spe_pmu = hlist_entry_safe(node, struct arm_spe_pmu, hotplug_node); in arm_spe_pmu_cpu_startup()
1087 spe_pmu = hlist_entry_safe(node, struct arm_spe_pmu, hotplug_node); in arm_spe_pmu_cpu_teardown()
Dfsl_imx8_ddr_perf.c497 struct ddr_pmu *pmu = hlist_entry_safe(node, struct ddr_pmu, node); in ddr_perf_offline_cpu()
Darm_smmuv3_pmu.c590 smmu_pmu = hlist_entry_safe(node, struct smmu_pmu, node); in smmu_pmu_offline_cpu()
Dxgene_pmu.c1796 struct xgene_pmu *xgene_pmu = hlist_entry_safe(node, struct xgene_pmu, in xgene_pmu_online_cpu()
1810 struct xgene_pmu *xgene_pmu = hlist_entry_safe(node, struct xgene_pmu, in xgene_pmu_offline_cpu()
/Linux-v5.4/net/bridge/
Dbr_forward.c285 rport = hlist_entry_safe(rp, struct net_bridge_port, rlist); in br_multicast_flood()
/Linux-v5.4/kernel/bpf/
Ddevmap.c303 next_dev = hlist_entry_safe(rcu_dereference_raw(hlist_next_rcu(&dev->index_hlist)), in dev_map_hash_get_next_key()
318 next_dev = hlist_entry_safe(rcu_dereference_raw(hlist_first_rcu(head)), in dev_map_hash_get_next_key()
/Linux-v5.4/kernel/
Dpadata.c786 pinst = hlist_entry_safe(node, struct padata_instance, node); in padata_cpu_online()
801 pinst = hlist_entry_safe(node, struct padata_instance, node); in padata_cpu_prep_down()
/Linux-v5.4/drivers/gpu/drm/i915/
Di915_pmu.c988 struct i915_pmu *pmu = hlist_entry_safe(node, typeof(*pmu), node); in i915_pmu_cpu_online()
1001 struct i915_pmu *pmu = hlist_entry_safe(node, typeof(*pmu), node); in i915_pmu_cpu_offline()
/Linux-v5.4/arch/arm/mach-imx/
Dmmdc.c216 struct mmdc_pmu *pmu_mmdc = hlist_entry_safe(node, struct mmdc_pmu, node); in mmdc_pmu_offline_cpu()
/Linux-v5.4/net/core/
Dsock_map.c770 elem_next = hlist_entry_safe(rcu_dereference_raw(hlist_next_rcu(&elem->node)), in sock_hash_get_next_key()
782 elem_next = hlist_entry_safe(rcu_dereference_raw(hlist_first_rcu(head)), in sock_hash_get_next_key()
Dbpf_sk_storage.c582 while ((selem = hlist_entry_safe(rcu_dereference_raw(hlist_first_rcu(&b->list)), in bpf_sk_storage_map_free()
/Linux-v5.4/net/sunrpc/
Dcache.c1347 return hlist_entry_safe(rcu_dereference_raw( in __cache_seq_start()
1365 return hlist_entry_safe(rcu_dereference_raw( in cache_seq_next()
1378 return hlist_entry_safe(rcu_dereference_raw( in cache_seq_next()
/Linux-v5.4/drivers/net/
Dvirtio_net.c1971 struct virtnet_info *vi = hlist_entry_safe(node, struct virtnet_info, in virtnet_cpu_online()
1979 struct virtnet_info *vi = hlist_entry_safe(node, struct virtnet_info, in virtnet_cpu_dead()
1987 struct virtnet_info *vi = hlist_entry_safe(node, struct virtnet_info, in virtnet_cpu_down_prep()
/Linux-v5.4/drivers/net/ethernet/marvell/
Dmvneta.c3717 struct mvneta_port *pp = hlist_entry_safe(node, struct mvneta_port, in mvneta_cpu_online()
3774 struct mvneta_port *pp = hlist_entry_safe(node, struct mvneta_port, in mvneta_cpu_down_prepare()
3796 struct mvneta_port *pp = hlist_entry_safe(node, struct mvneta_port, in mvneta_cpu_dead()

12