Lines Matching refs:tp_func
95 struct tracepoint_func *tp_func) in func_add() argument
100 if (WARN_ON(!tp_func->func)) in func_add()
108 if (old[nr_probes].func == tp_func->func && in func_add()
109 old[nr_probes].data == tp_func->data) in func_add()
118 new[nr_probes] = *tp_func; in func_add()
126 struct tracepoint_func *tp_func) in func_remove() argument
138 if (tp_func->func) { in func_remove()
140 if (old[nr_probes].func == tp_func->func && in func_remove()
141 old[nr_probes].data == tp_func->data) in func_remove()
163 if (old[i].func != tp_func->func in func_remove()
164 || old[i].data != tp_func->data) in func_remove()
252 struct tracepoint_func tp_func; in tracepoint_probe_register() local
256 tp_func.func = probe; in tracepoint_probe_register()
257 tp_func.data = data; in tracepoint_probe_register()
258 ret = tracepoint_add_func(tp, &tp_func); in tracepoint_probe_register()
274 struct tracepoint_func tp_func; in tracepoint_probe_unregister() local
278 tp_func.func = probe; in tracepoint_probe_unregister()
279 tp_func.data = data; in tracepoint_probe_unregister()
280 ret = tracepoint_remove_func(tp, &tp_func); in tracepoint_probe_unregister()