Lines Matching refs:tp_func
129 func_add(struct tracepoint_func **funcs, struct tracepoint_func *tp_func, in func_add() argument
136 if (WARN_ON(!tp_func->func)) in func_add()
147 if (old[nr_probes].func == tp_func->func && in func_add()
148 old[nr_probes].data == tp_func->data) in func_add()
169 new[pos] = *tp_func; in func_add()
177 struct tracepoint_func *tp_func) in func_remove() argument
189 if (tp_func->func) { in func_remove()
191 if (old[nr_probes].func == tp_func->func && in func_remove()
192 old[nr_probes].data == tp_func->data) in func_remove()
214 if (old[i].func != tp_func->func in func_remove()
215 || old[i].data != tp_func->data) in func_remove()
308 struct tracepoint_func tp_func; in tracepoint_probe_register_prio() local
312 tp_func.func = probe; in tracepoint_probe_register_prio()
313 tp_func.data = data; in tracepoint_probe_register_prio()
314 tp_func.prio = prio; in tracepoint_probe_register_prio()
315 ret = tracepoint_add_func(tp, &tp_func, prio); in tracepoint_probe_register_prio()
349 struct tracepoint_func tp_func; in tracepoint_probe_unregister() local
353 tp_func.func = probe; in tracepoint_probe_unregister()
354 tp_func.data = data; in tracepoint_probe_unregister()
355 ret = tracepoint_remove_func(tp, &tp_func); in tracepoint_probe_unregister()