Lines Matching refs:funcs
130 static void debug_print_probes(struct tracepoint_func *funcs) in debug_print_probes() argument
134 if (!tracepoint_debug || !funcs) in debug_print_probes()
137 for (i = 0; funcs[i].func; i++) in debug_print_probes()
138 printk(KERN_DEBUG "Probe %d : %p\n", i, funcs[i].func); in debug_print_probes()
142 func_add(struct tracepoint_func **funcs, struct tracepoint_func *tp_func, in func_add() argument
152 debug_print_probes(*funcs); in func_add()
153 old = *funcs; in func_add()
184 *funcs = new; in func_add()
185 debug_print_probes(*funcs); in func_add()
189 static void *func_remove(struct tracepoint_func **funcs, in func_remove() argument
195 old = *funcs; in func_remove()
200 debug_print_probes(*funcs); in func_remove()
216 *funcs = NULL; in func_remove()
217 debug_print_probes(*funcs); in func_remove()
231 *funcs = new; in func_remove()
233 debug_print_probes(*funcs); in func_remove()
252 tp_funcs = rcu_dereference_protected(tp->funcs, in tracepoint_add_func()
266 rcu_assign_pointer(tp->funcs, tp_funcs); in tracepoint_add_func()
284 tp_funcs = rcu_dereference_protected(tp->funcs, in tracepoint_remove_func()
300 rcu_assign_pointer(tp->funcs, tp_funcs); in tracepoint_remove_func()
453 WARN_ON_ONCE(tp->funcs); in tp_module_going_check_quiescent()