Home
last modified time | relevance | path

Searched refs:qemu_open_old (Results 1 – 18 of 18) sorted by relevance

/openbmc/qemu/chardev/
H A Dchar-pipe.c134 fd_in = RETRY_ON_EINTR(qemu_open_old(filename_in, O_RDWR | O_BINARY)); in qemu_chr_open_pipe()
135 fd_out = RETRY_ON_EINTR(qemu_open_old(filename_out, O_RDWR | O_BINARY)); in qemu_chr_open_pipe()
146 qemu_open_old(filename, O_RDWR | O_BINARY) in qemu_chr_open_pipe()
H A Dchar-fd.c201 fd = RETRY_ON_EINTR(qemu_open_old(src, flags, 0666)); in qmp_chardev_open_file_source()
/openbmc/qemu/backends/tpm/
H A Dtpm_passthrough.c218 fd = qemu_open_old(tpm_pt->options->cancel_path, O_WRONLY); in tpm_passthrough_open_sysfs_cancel()
236 fd = qemu_open_old(path, O_WRONLY); in tpm_passthrough_open_sysfs_cancel()
240 fd = qemu_open_old(path, O_WRONLY); in tpm_passthrough_open_sysfs_cancel()
270 tpm_pt->tpm_fd = qemu_open_old(tpm_pt->tpm_dev, O_RDWR); in tpm_passthrough_handle_device_opts()
/openbmc/qemu/util/
H A Dchardev_open.c48 fd = qemu_open_old(path, O_RDWR); in open_cdev_internal()
H A Dosdep.c376 int qemu_open_old(const char *name, int flags, ...) in qemu_open_old() function
/openbmc/qemu/backends/
H A Dhostmem-epc.c70 int fd = qemu_open_old("/dev/sgx_vepc", O_RDWR); in register_types()
/openbmc/qemu/hw/usb/
H A Du2f-emulated.c203 fd = qemu_open_old(path, O_RDONLY); in u2f_emulated_read()
220 fd = qemu_open_old(path, O_RDWR); in u2f_emulated_setup_counter()
H A Du2f-passthru.c386 int fd = qemu_open_old(devnode, O_RDWR); in u2f_passthru_open_from_device()
H A Dbus.c263 int fd = qemu_open_old(dev->pcap_filename, in usb_qdev_realize()
/openbmc/qemu/
H A Dos-posix.c294 fd = RETRY_ON_EINTR(qemu_open_old("/dev/null", O_RDWR)); in os_setup_post()
/openbmc/qemu/ui/
H A Dui-qmp-cmds.c372 fd = qemu_open_old(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0666); in qmp_screendump()
/openbmc/qemu/include/qemu/
H A Dosdep.h605 int qemu_open_old(const char *name, int flags, ...);
/openbmc/qemu/hw/s390x/
H A Ds390-skeys.c165 fd = qemu_open_old(filename, O_WRONLY | O_CREAT | O_TRUNC, 0600); in qmp_dump_skeys()
/openbmc/qemu/block/
H A Dvvfat.c1366 int fd = qemu_open_old(mapping->path, in open_file()
2530 fd = qemu_open_old(mapping->path, O_RDWR | O_CREAT | O_BINARY, 0666); in commit_one_file()
/openbmc/qemu/target/arm/
H A Dkvm.c110 kvmfd = qemu_open_old("/dev/kvm", O_RDWR); in kvm_arm_create_scratch_host_vcpu()
/openbmc/qemu/target/riscv/kvm/
H A Dkvm-cpu.c893 kvmfd = qemu_open_old("/dev/kvm", O_RDWR); in kvm_riscv_create_scratch_vcpu()
/openbmc/qemu/accel/kvm/
H A Dkvm-all.c2595 s->fd = qemu_open_old(s->device ?: "/dev/kvm", O_RDWR); in kvm_init()
/openbmc/qemu/target/i386/kvm/
H A Dkvm.c5958 fd = qemu_open_old("/dev/sgx_provision", O_RDONLY); in kvm_enable_sgx_provisioning()