Lines Matching refs:tp_func
95 func_add(struct tracepoint_func **funcs, struct tracepoint_func *tp_func, in func_add() argument
102 if (WARN_ON(!tp_func->func)) in func_add()
113 if (old[nr_probes].func == tp_func->func && in func_add()
114 old[nr_probes].data == tp_func->data) in func_add()
135 new[pos] = *tp_func; in func_add()
143 struct tracepoint_func *tp_func) in func_remove() argument
155 if (tp_func->func) { in func_remove()
157 if (old[nr_probes].func == tp_func->func && in func_remove()
158 old[nr_probes].data == tp_func->data) in func_remove()
180 if (old[i].func != tp_func->func in func_remove()
181 || old[i].data != tp_func->data) in func_remove()
271 struct tracepoint_func tp_func; in tracepoint_probe_register_prio() local
275 tp_func.func = probe; in tracepoint_probe_register_prio()
276 tp_func.data = data; in tracepoint_probe_register_prio()
277 tp_func.prio = prio; in tracepoint_probe_register_prio()
278 ret = tracepoint_add_func(tp, &tp_func, prio); in tracepoint_probe_register_prio()
313 struct tracepoint_func tp_func; in tracepoint_probe_unregister() local
317 tp_func.func = probe; in tracepoint_probe_unregister()
318 tp_func.data = data; in tracepoint_probe_unregister()
319 ret = tracepoint_remove_func(tp, &tp_func); in tracepoint_probe_unregister()