Lines Matching refs:funcs
117 static void debug_print_probes(struct tracepoint_func *funcs) in debug_print_probes() argument
121 if (!tracepoint_debug || !funcs) in debug_print_probes()
124 for (i = 0; funcs[i].func; i++) in debug_print_probes()
125 printk(KERN_DEBUG "Probe %d : %p\n", i, funcs[i].func); in debug_print_probes()
129 func_add(struct tracepoint_func **funcs, struct tracepoint_func *tp_func, in func_add() argument
139 debug_print_probes(*funcs); in func_add()
140 old = *funcs; in func_add()
171 *funcs = new; in func_add()
172 debug_print_probes(*funcs); in func_add()
176 static void *func_remove(struct tracepoint_func **funcs, in func_remove() argument
182 old = *funcs; in func_remove()
187 debug_print_probes(*funcs); in func_remove()
203 *funcs = NULL; in func_remove()
204 debug_print_probes(*funcs); in func_remove()
218 *funcs = new; in func_remove()
220 debug_print_probes(*funcs); in func_remove()
239 tp_funcs = rcu_dereference_protected(tp->funcs, in tracepoint_add_func()
253 rcu_assign_pointer(tp->funcs, tp_funcs); in tracepoint_add_func()
271 tp_funcs = rcu_dereference_protected(tp->funcs, in tracepoint_remove_func()
287 rcu_assign_pointer(tp->funcs, tp_funcs); in tracepoint_remove_func()
440 WARN_ON_ONCE(tp->funcs); in tp_module_going_check_quiescent()