Lines Matching refs:funcs
83 static void debug_print_probes(struct tracepoint_func *funcs) in debug_print_probes() argument
87 if (!tracepoint_debug || !funcs) in debug_print_probes()
90 for (i = 0; funcs[i].func; i++) in debug_print_probes()
91 printk(KERN_DEBUG "Probe %d : %p\n", i, funcs[i].func); in debug_print_probes()
95 func_add(struct tracepoint_func **funcs, struct tracepoint_func *tp_func, in func_add() argument
105 debug_print_probes(*funcs); in func_add()
106 old = *funcs; in func_add()
137 *funcs = new; in func_add()
138 debug_print_probes(*funcs); in func_add()
142 static void *func_remove(struct tracepoint_func **funcs, in func_remove() argument
148 old = *funcs; in func_remove()
153 debug_print_probes(*funcs); in func_remove()
169 *funcs = NULL; in func_remove()
170 debug_print_probes(*funcs); in func_remove()
184 *funcs = new; in func_remove()
186 debug_print_probes(*funcs); in func_remove()
201 tp_funcs = rcu_dereference_protected(tp->funcs, in tracepoint_add_func()
216 rcu_assign_pointer(tp->funcs, tp_funcs); in tracepoint_add_func()
234 tp_funcs = rcu_dereference_protected(tp->funcs, in tracepoint_remove_func()
250 rcu_assign_pointer(tp->funcs, tp_funcs); in tracepoint_remove_func()
397 WARN_ON_ONCE((*iter)->funcs); in tp_module_going_check_quiescent()