Lines Matching refs:cmd
111 rc = sd_bus_message_append(m, "y", msg->cmd); in send_dbus_msg()
137 rc = sd_bus_message_read(n, "y", &resp->cmd); in send_dbus_msg()
176 msg.cmd = DBUS_C_PING; in handle_cmd_ping()
184 rc = -resp.cmd; in handle_cmd_ping()
195 msg.cmd = DBUS_C_DAEMON_STATE; in handle_cmd_daemon_state()
209 rc = -resp.cmd; in handle_cmd_daemon_state()
210 if (resp.cmd != DBUS_SUCCESS) { in handle_cmd_daemon_state()
228 msg.cmd = DBUS_C_LPC_STATE; in handle_cmd_lpc_state()
242 rc = -resp.cmd; in handle_cmd_lpc_state()
243 if (resp.cmd != DBUS_SUCCESS) { in handle_cmd_lpc_state()
264 msg.cmd = DBUS_C_KILL; in handle_cmd_kill()
272 rc = -resp.cmd; in handle_cmd_kill()
283 msg.cmd = DBUS_C_RESET; in handle_cmd_reset()
291 rc = -resp.cmd; in handle_cmd_reset()
302 msg.cmd = DBUS_C_SUSPEND; in handle_cmd_suspend()
310 rc = -resp.cmd; in handle_cmd_suspend()
326 msg.cmd = DBUS_C_RESUME; in handle_cmd_resume()
351 rc = -resp.cmd; in handle_cmd_resume()
364 msg.cmd = DBUS_C_MODIFIED; in handle_cmd_modified()
372 rc = -resp.cmd; in handle_cmd_modified()