Lines Matching refs:edata
3196 struct event_probe_data *edata; in event_enable_probe() local
3203 edata = *pdata; in event_enable_probe()
3204 update_event_probe(edata); in event_enable_probe()
3213 struct event_probe_data *edata; in event_enable_count_probe() local
3220 edata = *pdata; in event_enable_count_probe()
3222 if (!edata->count) in event_enable_count_probe()
3226 if (edata->enable == !(edata->file->flags & EVENT_FILE_FL_SOFT_DISABLED)) in event_enable_count_probe()
3229 if (edata->count != -1) in event_enable_count_probe()
3230 (edata->count)--; in event_enable_count_probe()
3232 update_event_probe(edata); in event_enable_count_probe()
3240 struct event_probe_data *edata; in event_enable_print() local
3248 edata = *pdata; in event_enable_print()
3253 edata->enable ? ENABLE_EVENT_STR : DISABLE_EVENT_STR, in event_enable_print()
3254 edata->file->event_call->class->system, in event_enable_print()
3255 trace_event_name(edata->file->event_call)); in event_enable_print()
3257 if (edata->count == -1) in event_enable_print()
3260 seq_printf(m, ":count=%ld\n", edata->count); in event_enable_print()
3270 struct event_probe_data *edata = init_data; in event_enable_init() local
3280 ret = ftrace_func_mapper_add_ip(mapper, ip, edata); in event_enable_init()
3284 edata->ref++; in event_enable_init()
3291 struct event_probe_data *edata = data; in free_probe_data() local
3293 edata->ref--; in free_probe_data()
3294 if (!edata->ref) { in free_probe_data()
3296 __ftrace_event_enable_disable(edata->file, 0, 1); in free_probe_data()
3297 trace_event_put_ref(edata->file->event_call); in free_probe_data()
3298 kfree(edata); in free_probe_data()
3308 struct event_probe_data *edata; in event_enable_free() local
3317 edata = ftrace_func_mapper_remove_ip(mapper, ip); in event_enable_free()
3319 if (WARN_ON_ONCE(!edata)) in event_enable_free()
3322 if (WARN_ON_ONCE(edata->ref <= 0)) in event_enable_free()
3325 free_probe_data(edata); in event_enable_free()