Lines Matching refs:edata
511 __eprobe_trace_func(struct eprobe_data *edata, void *rec) in __eprobe_trace_func() argument
514 struct trace_event_call *call = trace_probe_event_call(&edata->ep->tp); in __eprobe_trace_func()
518 if (WARN_ON_ONCE(call != edata->file->event_call)) in __eprobe_trace_func()
521 if (trace_trigger_soft_disabled(edata->file)) in __eprobe_trace_func()
524 dsize = get_eprobe_size(&edata->ep->tp, rec); in __eprobe_trace_func()
526 entry = trace_event_buffer_reserve(&fbuffer, edata->file, in __eprobe_trace_func()
527 sizeof(*entry) + edata->ep->tp.size + dsize); in __eprobe_trace_func()
533 store_trace_args(&entry[1], &edata->ep->tp, rec, sizeof(*entry), dsize); in __eprobe_trace_func()
565 struct eprobe_data *edata = data->private_data; in eprobe_trigger_func() local
573 __eprobe_trace_func(edata, rec); in eprobe_trigger_func()
628 struct eprobe_data *edata; in new_eprobe_trigger() local
631 edata = kzalloc(sizeof(*edata), GFP_KERNEL); in new_eprobe_trigger()
633 if (!trigger || !edata) { in new_eprobe_trigger()
659 edata->file = file; in new_eprobe_trigger()
660 edata->ep = ep; in new_eprobe_trigger()
661 trigger->private_data = edata; in new_eprobe_trigger()
666 kfree(edata); in new_eprobe_trigger()
703 struct eprobe_data *edata; in disable_eprobe() local
712 edata = iter->private_data; in disable_eprobe()
713 if (edata->ep == ep) { in disable_eprobe()
733 kfree(edata); in disable_eprobe()