Lines Matching refs:func
106 extern void arch_static_call_transform(void *site, void *tramp, void *func, bool tail);
126 #define DECLARE_STATIC_CALL(name, func) \ argument
128 extern typeof(func) STATIC_CALL_TRAMP(name);
130 #define static_call_update(name, func) \ argument
132 BUILD_BUG_ON(!__same_type(*(func), STATIC_CALL_TRAMP(name))); \
134 STATIC_CALL_TRAMP_ADDR(name), func); \
148 void *func; member
157 extern void __static_call_update(struct static_call_key *key, void *tramp, void *func);
164 .func = _func, \
172 .func = NULL, \
193 void *func; member
199 .func = _func, \
206 .func = NULL, \
214 void __static_call_update(struct static_call_key *key, void *tramp, void *func) in __static_call_update() argument
217 WRITE_ONCE(key->func, func); in __static_call_update()
218 arch_static_call_transform(NULL, tramp, func, false); in __static_call_update()
240 void *func; member
246 .func = _func, \
252 .func = NULL, \
256 ((typeof(STATIC_CALL_TRAMP(name))*)(STATIC_CALL_KEY(name).func))
274 void *func = READ_ONCE(STATIC_CALL_KEY(name).func); \
275 if (!func) \
276 func = &__static_call_nop; \
277 (typeof(STATIC_CALL_TRAMP(name))*)func; \
283 void __static_call_update(struct static_call_key *key, void *tramp, void *func) in __static_call_update() argument
285 WRITE_ONCE(key->func, func); in __static_call_update()