Lines Matching refs:sym

80 #define DECLARE_KVM_VHE_SYM(sym)	extern char sym[]  argument
81 #define DECLARE_KVM_NVHE_SYM(sym) extern char kvm_nvhe_sym(sym)[] argument
87 #define DECLARE_KVM_HYP_SYM(sym) \ argument
88 DECLARE_KVM_VHE_SYM(sym); \
89 DECLARE_KVM_NVHE_SYM(sym)
91 #define DECLARE_KVM_VHE_PER_CPU(type, sym) \ argument
92 DECLARE_PER_CPU(type, sym)
93 #define DECLARE_KVM_NVHE_PER_CPU(type, sym) \ argument
94 DECLARE_PER_CPU(type, kvm_nvhe_sym(sym))
96 #define DECLARE_KVM_HYP_PER_CPU(type, sym) \ argument
97 DECLARE_KVM_VHE_PER_CPU(type, sym); \
98 DECLARE_KVM_NVHE_PER_CPU(type, sym)
104 #define this_cpu_ptr_nvhe_sym(sym) per_cpu_ptr_nvhe_sym(sym, smp_processor_id()) argument
105 #define per_cpu_ptr_nvhe_sym(sym, cpu) \ argument
109 off = (unsigned long)&CHOOSE_NVHE_SYM(sym) - \
111 base ? (typeof(CHOOSE_NVHE_SYM(sym))*)(base + off) : NULL; \
116 #define CHOOSE_NVHE_SYM(sym) sym argument
117 #define CHOOSE_HYP_SYM(sym) CHOOSE_NVHE_SYM(sym) argument
121 #define CHOOSE_VHE_SYM(sym) __nvhe_undefined_symbol argument
122 #define this_cpu_ptr_hyp_sym(sym) (&__nvhe_undefined_symbol) argument
123 #define per_cpu_ptr_hyp_sym(sym, cpu) (&__nvhe_undefined_symbol) argument
127 #define CHOOSE_VHE_SYM(sym) sym argument
128 #define CHOOSE_HYP_SYM(sym) CHOOSE_VHE_SYM(sym) argument
132 #define CHOOSE_NVHE_SYM(sym) __vhe_undefined_symbol argument
133 #define this_cpu_ptr_hyp_sym(sym) (&__vhe_undefined_symbol) argument
134 #define per_cpu_ptr_hyp_sym(sym, cpu) (&__vhe_undefined_symbol) argument
149 #define CHOOSE_HYP_SYM(sym) (is_kernel_in_hyp_mode() \ argument
150 ? CHOOSE_VHE_SYM(sym) \
151 : CHOOSE_NVHE_SYM(sym))
153 #define this_cpu_ptr_hyp_sym(sym) (is_kernel_in_hyp_mode() \ argument
154 ? this_cpu_ptr(&sym) \
155 : this_cpu_ptr_nvhe_sym(sym))
157 #define per_cpu_ptr_hyp_sym(sym, cpu) (is_kernel_in_hyp_mode() \ argument
158 ? per_cpu_ptr(&sym, cpu) \
159 : per_cpu_ptr_nvhe_sym(sym, cpu))
161 #define CHOOSE_VHE_SYM(sym) sym argument
162 #define CHOOSE_NVHE_SYM(sym) kvm_nvhe_sym(sym) argument
185 #define kvm_ksym_ref_nvhe(sym) kvm_ksym_ref(kvm_nvhe_sym(sym)) argument