Lines Matching refs:tp_func
142 func_add(struct tracepoint_func **funcs, struct tracepoint_func *tp_func, in func_add() argument
149 if (WARN_ON(!tp_func->func)) in func_add()
160 if (old[nr_probes].func == tp_func->func && in func_add()
161 old[nr_probes].data == tp_func->data) in func_add()
182 new[pos] = *tp_func; in func_add()
190 struct tracepoint_func *tp_func) in func_remove() argument
202 if (tp_func->func) { in func_remove()
204 if (old[nr_probes].func == tp_func->func && in func_remove()
205 old[nr_probes].data == tp_func->data) in func_remove()
227 if (old[i].func != tp_func->func in func_remove()
228 || old[i].data != tp_func->data) in func_remove()
321 struct tracepoint_func tp_func; in tracepoint_probe_register_prio() local
325 tp_func.func = probe; in tracepoint_probe_register_prio()
326 tp_func.data = data; in tracepoint_probe_register_prio()
327 tp_func.prio = prio; in tracepoint_probe_register_prio()
328 ret = tracepoint_add_func(tp, &tp_func, prio); in tracepoint_probe_register_prio()
362 struct tracepoint_func tp_func; in tracepoint_probe_unregister() local
366 tp_func.func = probe; in tracepoint_probe_unregister()
367 tp_func.data = data; in tracepoint_probe_unregister()
368 ret = tracepoint_remove_func(tp, &tp_func); in tracepoint_probe_unregister()