Lines Matching defs:tp
814 static void free_synth_tracepoint(struct tracepoint *tp)
816 if (!tp)
819 kfree(tp->name);
820 kfree(tp);
825 struct tracepoint *tp;
827 tp = kzalloc(sizeof(*tp), GFP_KERNEL);
828 if (!tp)
831 tp->name = kstrdup(name, GFP_KERNEL);
832 if (!tp->name) {
833 kfree(tp);
837 return tp;
874 event->tp = alloc_synth_tracepoint(event->name);
875 if (IS_ERR(event->tp)) {
876 ret = PTR_ERR(event->tp);
877 event->tp = NULL;
894 call->tp = event->tp;
938 free_synth_tracepoint(event->tp);