Lines Matching refs:sym
111 #define DECLARE_KVM_VHE_SYM(sym) extern char sym[] argument
112 #define DECLARE_KVM_NVHE_SYM(sym) extern char kvm_nvhe_sym(sym)[] argument
118 #define DECLARE_KVM_HYP_SYM(sym) \ argument
119 DECLARE_KVM_VHE_SYM(sym); \
120 DECLARE_KVM_NVHE_SYM(sym)
122 #define DECLARE_KVM_VHE_PER_CPU(type, sym) \ argument
123 DECLARE_PER_CPU(type, sym)
124 #define DECLARE_KVM_NVHE_PER_CPU(type, sym) \ argument
125 DECLARE_PER_CPU(type, kvm_nvhe_sym(sym))
127 #define DECLARE_KVM_HYP_PER_CPU(type, sym) \ argument
128 DECLARE_KVM_VHE_PER_CPU(type, sym); \
129 DECLARE_KVM_NVHE_PER_CPU(type, sym)
135 #define this_cpu_ptr_nvhe_sym(sym) per_cpu_ptr_nvhe_sym(sym, smp_processor_id()) argument
136 #define per_cpu_ptr_nvhe_sym(sym, cpu) \ argument
140 off = (unsigned long)&CHOOSE_NVHE_SYM(sym) - \
142 base ? (typeof(CHOOSE_NVHE_SYM(sym))*)(base + off) : NULL; \
147 #define CHOOSE_NVHE_SYM(sym) sym argument
148 #define CHOOSE_HYP_SYM(sym) CHOOSE_NVHE_SYM(sym) argument
152 #define CHOOSE_VHE_SYM(sym) __nvhe_undefined_symbol argument
153 #define this_cpu_ptr_hyp_sym(sym) (&__nvhe_undefined_symbol) argument
154 #define per_cpu_ptr_hyp_sym(sym, cpu) (&__nvhe_undefined_symbol) argument
167 #define EXPORT_SYMBOL_GPL(sym) BUILD_BUG() argument
171 #define CHOOSE_VHE_SYM(sym) sym argument
172 #define CHOOSE_HYP_SYM(sym) CHOOSE_VHE_SYM(sym) argument
176 #define CHOOSE_NVHE_SYM(sym) __vhe_undefined_symbol argument
177 #define this_cpu_ptr_hyp_sym(sym) (&__vhe_undefined_symbol) argument
178 #define per_cpu_ptr_hyp_sym(sym, cpu) (&__vhe_undefined_symbol) argument
193 #define CHOOSE_HYP_SYM(sym) (is_kernel_in_hyp_mode() \ argument
194 ? CHOOSE_VHE_SYM(sym) \
195 : CHOOSE_NVHE_SYM(sym))
197 #define this_cpu_ptr_hyp_sym(sym) (is_kernel_in_hyp_mode() \ argument
198 ? this_cpu_ptr(&sym) \
199 : this_cpu_ptr_nvhe_sym(sym))
201 #define per_cpu_ptr_hyp_sym(sym, cpu) (is_kernel_in_hyp_mode() \ argument
202 ? per_cpu_ptr(&sym, cpu) \
203 : per_cpu_ptr_nvhe_sym(sym, cpu))
205 #define CHOOSE_VHE_SYM(sym) sym argument
206 #define CHOOSE_NVHE_SYM(sym) kvm_nvhe_sym(sym) argument
247 #define kvm_ksym_ref_nvhe(sym) kvm_ksym_ref(kvm_nvhe_sym(sym)) argument