Home
last modified time | relevance | path

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

/kernel/
Dtracepoint.c277 struct tracepoint_func *old, *tp_funcs; in tracepoint_add_func() local
286 tp_funcs = rcu_dereference_protected(tp->funcs, in tracepoint_add_func()
288 old = func_add(&tp_funcs, func, prio); in tracepoint_add_func()
300 rcu_assign_pointer(tp->funcs, tp_funcs); in tracepoint_add_func()
316 struct tracepoint_func *old, *tp_funcs; in tracepoint_remove_func() local
318 tp_funcs = rcu_dereference_protected(tp->funcs, in tracepoint_remove_func()
320 old = func_remove(&tp_funcs, func); in tracepoint_remove_func()
324 if (tp_funcs == old) in tracepoint_remove_func()
328 if (!tp_funcs) { in tracepoint_remove_func()
336 rcu_assign_pointer(tp->funcs, tp_funcs); in tracepoint_remove_func()