Lines Matching defs:cmd_ops
1154 if (test->cmd_ops->trigger_type == ETT_EVENT_HIST) {
1206 if (test->cmd_ops->trigger_type == ETT_EVENT_HIST) {
2877 if (test->cmd_ops->trigger_type == ETT_EVENT_HIST) {
2887 static int event_hist_trigger_parse(struct event_command *cmd_ops,
2933 if (test->cmd_ops->trigger_type == ETT_EVENT_HIST) {
5725 data->cmd_ops->print(m, data);
5753 if (data->cmd_ops->trigger_type == ETT_EVENT_HIST) {
5775 if (data->cmd_ops->trigger_type == ETT_EVENT_HIST)
6052 data->cmd_ops->print(m, data);
6125 if (data->cmd_ops->trigger_type == ETT_EVENT_HIST)
6371 kfree(data->cmd_ops);
6372 data->cmd_ops = &trigger_hist_cmd;
6387 struct event_command *cmd_ops = data->cmd_ops;
6391 kfree(cmd_ops);
6525 if (test->cmd_ops->trigger_type == ETT_EVENT_HIST) {
6589 if (test->cmd_ops->trigger_type == ETT_EVENT_HIST) {
6608 struct event_command *cmd_ops;
6613 cmd_ops = kmalloc_obj(*cmd_ops);
6614 if (!cmd_ops) {
6618 *cmd_ops = *data->cmd_ops;
6619 cmd_ops->init = event_hist_trigger_named_init;
6620 cmd_ops->free = event_hist_trigger_named_free;
6621 data->cmd_ops = cmd_ops;
6624 if (data->cmd_ops->init) {
6625 ret = data->cmd_ops->init(data);
6679 if (test->cmd_ops->trigger_type == ETT_EVENT_HIST) {
6702 if (test->cmd_ops->trigger_type == ETT_EVENT_HIST) {
6728 if (iter->cmd_ops->trigger_type == ETT_EVENT_HIST) {
6739 if (test && test->cmd_ops->free)
6740 test->cmd_ops->free(test);
6756 if (test->cmd_ops->trigger_type == ETT_EVENT_HIST) {
6779 if (test->cmd_ops->trigger_type == ETT_EVENT_HIST) {
6792 if (test->cmd_ops->free)
6793 test->cmd_ops->free(test);
6798 static int event_hist_trigger_parse(struct event_command *cmd_ops,
6883 trigger_data = trigger_data_alloc(cmd_ops, cmd, param, hist_data);
6889 ret = event_trigger_set_filter(cmd_ops, file, filter, trigger_data);
6902 event_trigger_unregister(cmd_ops, file, glob+1, trigger_data);
6931 ret = event_trigger_register(cmd_ops, file, glob, trigger_data);
6949 event_trigger_unregister(cmd_ops, file, glob+1, trigger_data);
6994 if (test->cmd_ops->trigger_type == ETT_EVENT_HIST) {
7008 if (test->cmd_ops->trigger_type == ETT_HIST_ENABLE) {
7012 if (test->cmd_ops->free)
7013 test->cmd_ops->free(test);