Lines Matching refs:tp_func
134 func_add(struct tracepoint_func **funcs, struct tracepoint_func *tp_func, in func_add() argument
142 if (WARN_ON(!tp_func->func)) in func_add()
152 if (old[iter_probes].func == tp_func->func && in func_add()
153 old[iter_probes].data == tp_func->data) in func_add()
179 new[pos] = *tp_func; in func_add()
187 struct tracepoint_func *tp_func) in func_remove() argument
199 if (tp_func->func) { in func_remove()
201 if ((old[nr_probes].func == tp_func->func && in func_remove()
202 old[nr_probes].data == tp_func->data) || in func_remove()
224 if ((old[i].func != tp_func->func || in func_remove()
225 old[i].data != tp_func->data) && in func_remove()
237 if (old[i].func == tp_func->func && in func_remove()
238 old[i].data == tp_func->data) in func_remove()
428 struct tracepoint_func tp_func; in tracepoint_probe_register_prio_may_exist() local
432 tp_func.func = probe; in tracepoint_probe_register_prio_may_exist()
433 tp_func.data = data; in tracepoint_probe_register_prio_may_exist()
434 tp_func.prio = prio; in tracepoint_probe_register_prio_may_exist()
435 ret = tracepoint_add_func(tp, &tp_func, prio, false); in tracepoint_probe_register_prio_may_exist()
457 struct tracepoint_func tp_func; in tracepoint_probe_register_prio() local
461 tp_func.func = probe; in tracepoint_probe_register_prio()
462 tp_func.data = data; in tracepoint_probe_register_prio()
463 tp_func.prio = prio; in tracepoint_probe_register_prio()
464 ret = tracepoint_add_func(tp, &tp_func, prio, true); in tracepoint_probe_register_prio()
498 struct tracepoint_func tp_func; in tracepoint_probe_unregister() local
502 tp_func.func = probe; in tracepoint_probe_unregister()
503 tp_func.data = data; in tracepoint_probe_unregister()
504 ret = tracepoint_remove_func(tp, &tp_func); in tracepoint_probe_unregister()