Home
last modified time | relevance | path

Searched refs:bp_hardening_data (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/arch/arm64/include/asm/
Dmmu.h49 struct bp_hardening_data { struct
61 DECLARE_PER_CPU_READ_MOSTLY(struct bp_hardening_data, bp_hardening_data); argument
63 static inline struct bp_hardening_data *arm64_get_bp_hardening_data(void) in arm64_get_bp_hardening_data()
65 return this_cpu_ptr(&bp_hardening_data); in arm64_get_bp_hardening_data()
70 struct bp_hardening_data *d; in arm64_apply_bp_hardening()
80 static inline struct bp_hardening_data *arm64_get_bp_hardening_data(void) in arm64_get_bp_hardening_data()
Dkvm_mmu.h426 struct bp_hardening_data *data = arm64_get_bp_hardening_data();
/Linux-v4.19/arch/arm64/kernel/
Dcpu_errata.c94 DEFINE_PER_CPU_READ_MOSTLY(struct bp_hardening_data, bp_hardening_data);
121 if (per_cpu(bp_hardening_data.fn, cpu) == fn) { in __install_bp_hardening_cb()
122 slot = per_cpu(bp_hardening_data.hyp_vectors_slot, cpu); in __install_bp_hardening_cb()
133 __this_cpu_write(bp_hardening_data.hyp_vectors_slot, slot); in __install_bp_hardening_cb()
134 __this_cpu_write(bp_hardening_data.fn, fn); in __install_bp_hardening_cb()
145 __this_cpu_write(bp_hardening_data.fn, fn); in __install_bp_hardening_cb()