Searched refs:trigger_data (Results 1 – 3 of 3) sorted by relevance
646 struct event_trigger_data *trigger_data; in event_trigger_callback() local665 trigger_data = kzalloc(sizeof(*trigger_data), GFP_KERNEL); in event_trigger_callback()666 if (!trigger_data) in event_trigger_callback()669 trigger_data->count = -1; in event_trigger_callback()670 trigger_data->ops = trigger_ops; in event_trigger_callback()671 trigger_data->cmd_ops = cmd_ops; in event_trigger_callback()672 trigger_data->private_data = file; in event_trigger_callback()673 INIT_LIST_HEAD(&trigger_data->list); in event_trigger_callback()674 INIT_LIST_HEAD(&trigger_data->named_list); in event_trigger_callback()677 cmd_ops->unreg(glob+1, trigger_ops, trigger_data, file); in event_trigger_callback()[all …]
6169 struct event_trigger_data *trigger_data; in event_hist_trigger_func() local6249 trigger_data = kzalloc(sizeof(*trigger_data), GFP_KERNEL); in event_hist_trigger_func()6250 if (!trigger_data) { in event_hist_trigger_func()6255 trigger_data->count = -1; in event_hist_trigger_func()6256 trigger_data->ops = trigger_ops; in event_hist_trigger_func()6257 trigger_data->cmd_ops = cmd_ops; in event_hist_trigger_func()6259 INIT_LIST_HEAD(&trigger_data->list); in event_hist_trigger_func()6260 RCU_INIT_POINTER(trigger_data->filter, NULL); in event_hist_trigger_func()6262 trigger_data->private_data = hist_data; in event_hist_trigger_func()6266 ret = cmd_ops->set_filter(param, trigger_data, file); in event_hist_trigger_func()[all …]
1605 struct event_trigger_data *trigger_data,