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()
94 static struct tracepoint_func *func_add(struct tracepoint_func **funcs, in func_add() argument
103 debug_print_probes(*funcs); in func_add()
104 old = *funcs; in func_add()
120 *funcs = new; in func_add()
121 debug_print_probes(*funcs); in func_add()
125 static void *func_remove(struct tracepoint_func **funcs, in func_remove() argument
131 old = *funcs; in func_remove()
136 debug_print_probes(*funcs); in func_remove()
152 *funcs = NULL; in func_remove()
153 debug_print_probes(*funcs); in func_remove()
167 *funcs = new; in func_remove()
169 debug_print_probes(*funcs); in func_remove()
184 tp_funcs = rcu_dereference_protected(tp->funcs, in tracepoint_add_func()
199 rcu_assign_pointer(tp->funcs, tp_funcs); in tracepoint_add_func()
217 tp_funcs = rcu_dereference_protected(tp->funcs, in tracepoint_remove_func()
233 rcu_assign_pointer(tp->funcs, tp_funcs); in tracepoint_remove_func()
358 WARN_ON_ONCE((*iter)->funcs); in tp_module_going_check_quiescent()