Lines Matching refs:tp_func
180 func_add(struct tracepoint_func **funcs, struct tracepoint_func *tp_func, in func_add() argument
188 if (WARN_ON(!tp_func->func)) in func_add()
198 if (old[iter_probes].func == tp_func->func && in func_add()
199 old[iter_probes].data == tp_func->data) in func_add()
225 new[pos] = *tp_func; in func_add()
233 struct tracepoint_func *tp_func) in func_remove() argument
245 if (tp_func->func) { in func_remove()
247 if ((old[nr_probes].func == tp_func->func && in func_remove()
248 old[nr_probes].data == tp_func->data) || in func_remove()
270 if ((old[i].func != tp_func->func || in func_remove()
271 old[i].data != tp_func->data) && in func_remove()
283 if (old[i].func == tp_func->func && in func_remove()
284 old[i].data == tp_func->data) in func_remove()
475 struct tracepoint_func tp_func; in tracepoint_probe_register_prio_may_exist() local
479 tp_func.func = probe; in tracepoint_probe_register_prio_may_exist()
480 tp_func.data = data; in tracepoint_probe_register_prio_may_exist()
481 tp_func.prio = prio; in tracepoint_probe_register_prio_may_exist()
482 ret = tracepoint_add_func(tp, &tp_func, prio, false); in tracepoint_probe_register_prio_may_exist()
504 struct tracepoint_func tp_func; in tracepoint_probe_register_prio() local
508 tp_func.func = probe; in tracepoint_probe_register_prio()
509 tp_func.data = data; in tracepoint_probe_register_prio()
510 tp_func.prio = prio; in tracepoint_probe_register_prio()
511 ret = tracepoint_add_func(tp, &tp_func, prio, true); in tracepoint_probe_register_prio()
545 struct tracepoint_func tp_func; in tracepoint_probe_unregister() local
549 tp_func.func = probe; in tracepoint_probe_unregister()
550 tp_func.data = data; in tracepoint_probe_unregister()
551 ret = tracepoint_remove_func(tp, &tp_func); in tracepoint_probe_unregister()