Lines Matching refs:func

129 	for (i = 0; funcs[i].func; i++)  in debug_print_probes()
130 printk(KERN_DEBUG "Probe %d : %pSb\n", i, funcs[i].func); in debug_print_probes()
142 if (WARN_ON(!tp_func->func)) in func_add()
149 for (iter_probes = 0; old[iter_probes].func; iter_probes++) { in func_add()
150 if (old[iter_probes].func == tp_stub_func) in func_add()
152 if (old[iter_probes].func == tp_func->func && in func_add()
164 for (iter_probes = 0; old[iter_probes].func; iter_probes++) { in func_add()
165 if (old[iter_probes].func == tp_stub_func) in func_add()
180 new[nr_probes].func = NULL; in func_add()
199 if (tp_func->func) { in func_remove()
200 for (nr_probes = 0; old[nr_probes].func; nr_probes++) { in func_remove()
201 if ((old[nr_probes].func == tp_func->func && in func_remove()
203 old[nr_probes].func == tp_stub_func) in func_remove()
223 for (i = 0; old[i].func; i++) { in func_remove()
224 if ((old[i].func != tp_func->func || in func_remove()
226 old[i].func != tp_stub_func) in func_remove()
229 new[nr_probes - nr_del].func = NULL; in func_remove()
236 for (i = 0; old[i].func; i++) { in func_remove()
237 if (old[i].func == tp_func->func && in func_remove()
239 WRITE_ONCE(old[i].func, tp_stub_func); in func_remove()
255 if (!tp_funcs[1].func) in nr_func_state()
257 if (!tp_funcs[2].func) in nr_func_state()
264 void *func = tp->iterator; in tracepoint_update_call() local
270 func = tp_funcs[0].func; in tracepoint_update_call()
271 __static_call_update(tp->static_call_key, tp->static_call_tramp, func); in tracepoint_update_call()
278 struct tracepoint_func *func, int prio, in tracepoint_add_func() argument
292 old = func_add(&tp_funcs, func, prio); in tracepoint_add_func()
351 struct tracepoint_func *func) in tracepoint_remove_func() argument
357 old = func_remove(&tp_funcs, func); in tracepoint_remove_func()
432 tp_func.func = probe; in tracepoint_probe_register_prio_may_exist()
461 tp_func.func = probe; in tracepoint_probe_register_prio()
502 tp_func.func = probe; in tracepoint_probe_unregister()