Lines Matching refs:trigger_data
6137 struct event_trigger_data *trigger_data; in event_hist_trigger_func() local
6217 trigger_data = kzalloc(sizeof(*trigger_data), GFP_KERNEL); in event_hist_trigger_func()
6218 if (!trigger_data) { in event_hist_trigger_func()
6223 trigger_data->count = -1; in event_hist_trigger_func()
6224 trigger_data->ops = trigger_ops; in event_hist_trigger_func()
6225 trigger_data->cmd_ops = cmd_ops; in event_hist_trigger_func()
6227 INIT_LIST_HEAD(&trigger_data->list); in event_hist_trigger_func()
6228 RCU_INIT_POINTER(trigger_data->filter, NULL); in event_hist_trigger_func()
6230 trigger_data->private_data = hist_data; in event_hist_trigger_func()
6234 ret = cmd_ops->set_filter(param, trigger_data, file); in event_hist_trigger_func()
6240 if (!have_hist_trigger_match(trigger_data, file)) in event_hist_trigger_func()
6243 if (hist_trigger_check_refs(trigger_data, file)) { in event_hist_trigger_func()
6248 cmd_ops->unreg(glob+1, trigger_ops, trigger_data, file); in event_hist_trigger_func()
6257 ret = cmd_ops->reg(glob, trigger_ops, trigger_data, file); in event_hist_trigger_func()
6270 if (get_named_trigger_data(trigger_data)) in event_hist_trigger_func()
6284 ret = hist_trigger_enable(trigger_data, file); in event_hist_trigger_func()
6300 cmd_ops->unreg(glob+1, trigger_ops, trigger_data, file); in event_hist_trigger_func()
6303 cmd_ops->set_filter(NULL, trigger_data, NULL); in event_hist_trigger_func()
6307 kfree(trigger_data); in event_hist_trigger_func()