Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 25 of 417) sorted by path

12345678910>>...17

/qemu/
H A DMAINTAINERS3301 F: tests/qtest/qmp-cmd-test.c
/qemu/audio/
H A Daudio.c401 static void audio_notify_capture (CaptureVoiceOut *cap, audcnotification_e cmd) in audio_notify_capture() argument
406 dolog ("notification %d sent\n", cmd); in audio_notify_capture()
409 cb->ops.notify (cb->opaque, cmd); in audio_notify_capture()
416 audcnotification_e cmd; in audio_capture_maybe_changed() local
418 cmd = enabled ? AUD_CNOTIFY_ENABLE : AUD_CNOTIFY_DISABLE; in audio_capture_maybe_changed()
419 audio_notify_capture (cap, cmd); in audio_capture_maybe_changed()
H A Daudio.h63 void (*notify) (void *opaque, audcnotification_e cmd);
H A Dwavcapture.c27 static void wav_notify (void *opaque, audcnotification_e cmd) in wav_notify() argument
30 (void) cmd; in wav_notify()
/qemu/backends/tpm/
H A Dtpm_backend.c33 s->cmd = NULL; in tpm_backend_request_completed()
43 k->handle_request(s, s->cmd, &err); in tpm_backend_worker_thread()
54 while (s->cmd) { in tpm_backend_finish_sync()
101 void tpm_backend_deliver_request(TPMBackend *s, TPMBackendCmd *cmd) in tpm_backend_deliver_request() argument
103 if (s->cmd != NULL) { in tpm_backend_deliver_request()
108 s->cmd = cmd; in tpm_backend_deliver_request()
H A Dtpm_emulator.c125 static int tpm_emulator_ctrlcmd(TPMEmulator *tpm, unsigned long cmd, void *msg, in tpm_emulator_ctrlcmd() argument
129 uint32_t cmd_no = cpu_to_be32(cmd); in tpm_emulator_ctrlcmd()
225 static void tpm_emulator_handle_request(TPMBackend *tb, TPMBackendCmd *cmd, in tpm_emulator_handle_request() argument
232 if (tpm_emulator_set_locality(tpm_emu, cmd->locty, errp) < 0 || in tpm_emulator_handle_request()
233 tpm_emulator_unix_tx_bufs(tpm_emu, cmd->in, cmd->in_len, in tpm_emulator_handle_request()
234 cmd->out, cmd->out_len, in tpm_emulator_handle_request()
235 &cmd->selftest_done, errp) < 0) { in tpm_emulator_handle_request()
236 tpm_util_write_fatal_error_response(cmd->out, cmd->out_len); in tpm_emulator_handle_request()
H A Dtpm_passthrough.c127 static void tpm_passthrough_handle_request(TPMBackend *tb, TPMBackendCmd *cmd, in tpm_passthrough_handle_request() argument
132 trace_tpm_passthrough_handle_request(cmd); in tpm_passthrough_handle_request()
134 tpm_passthrough_unix_tx_bufs(tpm_pt, cmd->in, cmd->in_len, in tpm_passthrough_handle_request()
135 cmd->out, cmd->out_len, &cmd->selftest_done, in tpm_passthrough_handle_request()
H A Dtrace-events4 tpm_passthrough_handle_request(void *cmd) "processing command %p"
/qemu/block/
H A Dfile-posix.c211 uint64_t cmd; member
1605 ioctl(aiocb->aio_fildes, aiocb->ioctl.cmd, aiocb->ioctl.buf) in handle_aiocb_ioctl()
4211 .cmd = req, in hdev_co_ioctl()
H A Dnvme.c505 q->sq.tail * NVME_SQ_ENTRY_BYTES, cmd, sizeof(*cmd)); in nvme_submit_command()
551 NvmeCmd cmd = { in nvme_identify() local
591 cmd.cdw10 = 0; in nvme_identify()
674 NvmeCmd cmd; in nvme_add_io_queue() local
683 cmd = (NvmeCmd) { in nvme_add_io_queue()
693 cmd = (NvmeCmd) { in nvme_add_io_queue()
937 NvmeCmd cmd = { in nvme_enable_disable_write_cache() local
1196 NvmeCmd cmd = { in nvme_co_prw_aligned() local
1314 NvmeCmd cmd = { in nvme_co_flush() local
1362 NvmeCmd cmd = { in nvme_co_pwrite_zeroes() local
[all …]
H A Drbd.c1281 RBDAIOCmd cmd) in qemu_rbd_start_co() argument
1290 if (cmd == RBD_AIO_WRITE || cmd == RBD_AIO_WRITE_ZEROES) { in qemu_rbd_start_co()
1310 switch (cmd) { in qemu_rbd_start_co()
1341 " bytes %" PRIu64 " flags %d r %d (%s)", cmd, offset, in qemu_rbd_start_co()
1353 PRIu64 " flags %d task.ret %" PRIi64 " (%s)", cmd, offset, in qemu_rbd_start_co()
1359 if (cmd == RBD_AIO_READ && task.ret < qiov->size) { in qemu_rbd_start_co()
H A Dtrace-events159 nvme_cmd_map_qiov(void *s, void *cmd, void *req, void *qiov, int entries) "s %p cmd %p req %p qiov …
/qemu/bsd-user/
H A Dbsd-mem.h310 static inline abi_long do_bsd_shmctl(abi_long shmid, abi_long cmd, in do_bsd_shmctl() argument
316 cmd &= 0xff; in do_bsd_shmctl()
318 switch (cmd) { in do_bsd_shmctl()
323 ret = get_errno(shmctl(shmid, cmd, &dsarg)); in do_bsd_shmctl()
333 ret = get_errno(shmctl(shmid, cmd, &dsarg)); in do_bsd_shmctl()
337 ret = get_errno(shmctl(shmid, cmd, NULL)); in do_bsd_shmctl()
/qemu/bsd-user/freebsd/
H A Dos-stat.c258 abi_long target_to_host_fcntl_cmd(int cmd) in target_to_host_fcntl_cmd() argument
260 return cmd; in target_to_host_fcntl_cmd()
H A Dqemu-os.h44 abi_long target_to_host_fcntl_cmd(int cmd);
/qemu/chardev/
H A Dchar-fe.c98 int qemu_chr_fe_ioctl(CharBackend *be, int cmd, void *arg) in qemu_chr_fe_ioctl() argument
106 res = CHARDEV_GET_CLASS(s)->chr_ioctl(s, cmd, arg); in qemu_chr_fe_ioctl()
H A Dchar-parallel.c73 static int pp_ioctl(Chardev *chr, int cmd, void *arg) in pp_ioctl() argument
79 switch (cmd) { in pp_ioctl()
188 static int pp_ioctl(Chardev *chr, int cmd, void *arg) in pp_ioctl() argument
193 switch (cmd) { in pp_ioctl()
H A Dchar-serial.c179 static int tty_serial_ioctl(Chardev *chr, int cmd, void *arg) in tty_serial_ioctl() argument
184 switch (cmd) { in tty_serial_ioctl()
H A Dmsmouse.c181 static int msmouse_ioctl(Chardev *chr, int cmd, void *arg) in msmouse_ioctl() argument
191 switch (cmd) { in msmouse_ioctl()
H A Dtrace-events9 wct_cmd_other(const char *cmd) "%s"
H A Dwctablet.c298 static int wctablet_chr_ioctl(Chardev *chr, int cmd, void *arg) in wctablet_chr_ioctl() argument
303 switch (cmd) { in wctablet_chr_ioctl()
/qemu/contrib/vhost-user-gpu/
H A Dvhost-user-gpu.c56 vg_cmd_to_string(int cmd) in vg_cmd_to_string() argument
58 #define CMD(cmd) [cmd] = #cmd in vg_cmd_to_string() argument
90 if (cmd >= 0 && cmd < G_N_ELEMENTS(vg_cmd_str)) { in vg_cmd_to_string()
244 s = iov_from_buf(cmd->elem.in_sg, cmd->elem.in_num, 0, resp, resp_len); in vg_ctrl_response()
249 vu_queue_push(&g->dev.parent, cmd->vq, &cmd->elem, s); in vg_ctrl_response()
496 s = iov_to_buf(cmd->elem.out_sg, cmd->elem.out_num, in vg_create_mapping_iov()
896 vg_ctrl_response_nodata(vg, cmd, cmd->error ? cmd->error : in vg_process_cmd()
915 if (!cmd) { in vg_handle_ctrl()
918 cmd->vq = vq; in vg_handle_ctrl()
922 len = iov_to_buf(cmd->elem.out_sg, cmd->elem.out_num, in vg_handle_ctrl()
[all …]
H A Dvirgl.c206 s = iov_to_buf(cmd->elem.out_sg, cmd->elem.out_num, in virgl_cmd_submit_3d()
486 switch (cmd->cmd_hdr.type) { in vg_virgl_process_cmd()
500 virgl_cmd_submit_3d(g, cmd); in vg_virgl_process_cmd()
541 vg_get_display_info(g, cmd); in vg_virgl_process_cmd()
544 vg_get_edid(g, cmd); in vg_virgl_process_cmd()
556 if (cmd->error) { in vg_virgl_process_cmd()
558 cmd->cmd_hdr.type, cmd->error); in vg_virgl_process_cmd()
559 vg_ctrl_response_nodata(g, cmd, cmd->error); in vg_virgl_process_cmd()
569 cmd->cmd_hdr.fence_id, cmd->cmd_hdr.type); in vg_virgl_process_cmd()
570 virgl_renderer_create_fence(cmd->cmd_hdr.fence_id, cmd->cmd_hdr.type); in vg_virgl_process_cmd()
[all …]
H A Dvirgl.h22 void vg_virgl_process_cmd(VuGpu *vg, struct virtio_gpu_ctrl_command *cmd);
H A Dvugpu.h168 iov_to_buf(cmd->elem.out_sg, cmd->elem.out_num, 0, \
179 struct virtio_gpu_ctrl_command *cmd,
184 struct virtio_gpu_ctrl_command *cmd,
189 struct virtio_gpu_ctrl_command *cmd,
192 void vg_get_display_info(VuGpu *vg, struct virtio_gpu_ctrl_command *cmd);
193 void vg_get_edid(VuGpu *vg, struct virtio_gpu_ctrl_command *cmd);

12345678910>>...17