Home
last modified time | relevance | path

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

/linux-4.1.27/kernel/
Dtracepoint.c179 struct tracepoint_func *old, *tp_funcs; in tracepoint_add_func() local
184 tp_funcs = rcu_dereference_protected(tp->funcs, in tracepoint_add_func()
186 old = func_add(&tp_funcs, func); in tracepoint_add_func()
199 rcu_assign_pointer(tp->funcs, tp_funcs); in tracepoint_add_func()
215 struct tracepoint_func *old, *tp_funcs; in tracepoint_remove_func() local
217 tp_funcs = rcu_dereference_protected(tp->funcs, in tracepoint_remove_func()
219 old = func_remove(&tp_funcs, func); in tracepoint_remove_func()
225 if (!tp_funcs) { in tracepoint_remove_func()
233 rcu_assign_pointer(tp->funcs, tp_funcs); in tracepoint_remove_func()