Lines Matching refs:cmd
114 const QmpCommand *cmd; member
128 data->cmd->fn(data->args, data->ret, data->errp); in do_qmp_dispatch_bh()
144 const QmpCommand *cmd; in qmp_dispatch() local
170 cmd = qmp_find_command(cmds, command); in qmp_dispatch()
171 if (cmd == NULL) { in qmp_dispatch()
176 if (!compat_policy_input_ok(cmd->special_features, &compat_policy, in qmp_dispatch()
181 if (!cmd->enabled) { in qmp_dispatch()
185 cmd->disable_reason ? ": " : "", in qmp_dispatch()
186 cmd->disable_reason ?: ""); in qmp_dispatch()
189 if (oob && !(cmd->options & QCO_ALLOW_OOB)) { in qmp_dispatch()
195 if (!qmp_command_available(cmd, &err)) { in qmp_dispatch()
208 if (!!(cmd->options & QCO_COROUTINE) == qemu_in_coroutine()) { in qmp_dispatch()
220 cmd->fn(args, &ret, &err); in qmp_dispatch()
247 assert(!oob && qemu_in_coroutine() && !(cmd->options & QCO_COROUTINE)); in qmp_dispatch()
251 .cmd = cmd, in qmp_dispatch()
268 if (cmd->options & QCO_NO_SUCCESS_RESP) { in qmp_dispatch()