Home
last modified time | relevance | path

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

/kernel/
Dtracepoint.c230 struct tracepoint_func *old, *tp_funcs; in tracepoint_add_func() local
239 tp_funcs = rcu_dereference_protected(tp->funcs, in tracepoint_add_func()
241 old = func_add(&tp_funcs, func, prio); in tracepoint_add_func()
253 rcu_assign_pointer(tp->funcs, tp_funcs); in tracepoint_add_func()
269 struct tracepoint_func *old, *tp_funcs; in tracepoint_remove_func() local
271 tp_funcs = rcu_dereference_protected(tp->funcs, in tracepoint_remove_func()
273 old = func_remove(&tp_funcs, func); in tracepoint_remove_func()
279 if (!tp_funcs) { in tracepoint_remove_func()
287 rcu_assign_pointer(tp->funcs, tp_funcs); in tracepoint_remove_func()