Lines Matching refs:cmd
2006 static int evlist__ctlfd_recv(struct evlist *evlist, enum evlist_ctl_cmd *cmd, in evlist__ctlfd_recv() argument
2013 *cmd = EVLIST_CTL_CMD_UNSUPPORTED; in evlist__ctlfd_recv()
2043 *cmd = EVLIST_CTL_CMD_ENABLE; in evlist__ctlfd_recv()
2046 *cmd = EVLIST_CTL_CMD_DISABLE; in evlist__ctlfd_recv()
2049 *cmd = EVLIST_CTL_CMD_SNAPSHOT; in evlist__ctlfd_recv()
2053 *cmd = EVLIST_CTL_CMD_EVLIST; in evlist__ctlfd_recv()
2056 *cmd = EVLIST_CTL_CMD_STOP; in evlist__ctlfd_recv()
2059 *cmd = EVLIST_CTL_CMD_PING; in evlist__ctlfd_recv()
2173 int evlist__ctlfd_process(struct evlist *evlist, enum evlist_ctl_cmd *cmd) in evlist__ctlfd_process() argument
2184 err = evlist__ctlfd_recv(evlist, cmd, cmd_data, in evlist__ctlfd_process()
2187 switch (*cmd) { in evlist__ctlfd_process()
2191 *cmd == EVLIST_CTL_CMD_ENABLE); in evlist__ctlfd_process()
2203 pr_debug("ctlfd: unsupported %d\n", *cmd); in evlist__ctlfd_process()
2206 if (!(*cmd == EVLIST_CTL_CMD_ACK || *cmd == EVLIST_CTL_CMD_UNSUPPORTED || in evlist__ctlfd_process()
2207 *cmd == EVLIST_CTL_CMD_SNAPSHOT)) in evlist__ctlfd_process()