Lines Matching refs:func
144 extern void arch_static_call_transform(void *site, void *tramp, void *func, bool tail);
152 #define static_call_update(name, func) \ argument
154 typeof(&STATIC_CALL_TRAMP(name)) __F = (func); \
159 #define static_call_query(name) (READ_ONCE(STATIC_CALL_KEY(name).func))
181 extern void __static_call_update(struct static_call_key *key, void *tramp, void *func);
190 .func = _func, \
198 .func = NULL, \
206 .func = __static_call_return0, \
237 .func = _func, \
244 .func = NULL, \
251 .func = __static_call_return0, \
258 void __static_call_update(struct static_call_key *key, void *tramp, void *func) in __static_call_update() argument
261 WRITE_ONCE(key->func, func); in __static_call_update()
262 arch_static_call_transform(NULL, tramp, func, false); in __static_call_update()
300 .func = _func_init, \
328 void *func = READ_ONCE(STATIC_CALL_KEY(name).func); \
329 if (!func) \
330 func = &__static_call_nop; \
331 (typeof(STATIC_CALL_TRAMP(name))*)func; \
337 void __static_call_update(struct static_call_key *key, void *tramp, void *func) in __static_call_update() argument
339 WRITE_ONCE(key->func, func); in __static_call_update()