/qemu/net/ |
H A D | tap-stub.c | 40 int tap_probe_vnet_hdr(int fd, Error **errp) in tap_probe_vnet_hdr() 45 int tap_probe_has_ufo(int fd) in tap_probe_has_ufo() 50 int tap_probe_has_uso(int fd) in tap_probe_has_uso() 55 int tap_probe_vnet_hdr_len(int fd, int len) in tap_probe_vnet_hdr_len() 60 void tap_fd_set_vnet_hdr_len(int fd, int len) in tap_fd_set_vnet_hdr_len() 64 int tap_fd_set_vnet_le(int fd, int is_le) in tap_fd_set_vnet_le() 69 int tap_fd_set_vnet_be(int fd, int is_be) in tap_fd_set_vnet_be() 79 int tap_fd_enable(int fd) in tap_fd_enable() 84 int tap_fd_disable(int fd) in tap_fd_disable() 89 int tap_fd_get_ifname(int fd, char *ifname) in tap_fd_get_ifname() [all …]
|
H A D | tap-bsd.c | 41 int fd; in tap_open() local 111 int fd, s, ret; in tap_open_clone() local 156 int fd = -1; in tap_open() local 210 int tap_probe_has_ufo(int fd) in tap_probe_has_ufo() 215 int tap_probe_has_uso(int fd) in tap_probe_has_uso() 220 int tap_probe_vnet_hdr_len(int fd, int len) in tap_probe_vnet_hdr_len() 229 int tap_fd_set_vnet_le(int fd, int is_le) in tap_fd_set_vnet_le() 234 int tap_fd_set_vnet_be(int fd, int is_be) in tap_fd_set_vnet_be() 244 int tap_fd_enable(int fd) in tap_fd_enable() 249 int tap_fd_disable(int fd) in tap_fd_disable() [all …]
|
H A D | tap-linux.c | 44 int fd, ret; in tap_open() local 149 int tap_probe_vnet_hdr(int fd, Error **errp) in tap_probe_vnet_hdr() 164 int tap_probe_has_ufo(int fd) in tap_probe_has_ufo() 176 int tap_probe_has_uso(int fd) in tap_probe_has_uso() 189 int tap_probe_vnet_hdr_len(int fd, int len) in tap_probe_vnet_hdr_len() 208 void tap_fd_set_vnet_hdr_len(int fd, int len) in tap_fd_set_vnet_hdr_len() 217 int tap_fd_set_vnet_le(int fd, int is_le) in tap_fd_set_vnet_le() 234 int tap_fd_set_vnet_be(int fd, int is_be) in tap_fd_set_vnet_be() 292 int tap_fd_enable(int fd) in tap_fd_enable() 310 int tap_fd_disable(int fd) in tap_fd_disable() [all …]
|
H A D | tap-solaris.c | 183 int fd; in tap_open() local 209 int tap_probe_vnet_hdr(int fd, Error **errp) in tap_probe_vnet_hdr() 214 int tap_probe_has_ufo(int fd) in tap_probe_has_ufo() 219 int tap_probe_has_uso(int fd) in tap_probe_has_uso() 224 int tap_probe_vnet_hdr_len(int fd, int len) in tap_probe_vnet_hdr_len() 229 void tap_fd_set_vnet_hdr_len(int fd, int len) in tap_fd_set_vnet_hdr_len() 233 int tap_fd_set_vnet_le(int fd, int is_le) in tap_fd_set_vnet_le() 238 int tap_fd_set_vnet_be(int fd, int is_be) in tap_fd_set_vnet_be() 248 int tap_fd_enable(int fd) in tap_fd_enable() 253 int tap_fd_disable(int fd) in tap_fd_disable() [all …]
|
H A D | socket.c | 39 int fd; member 218 int fd; in net_socket_mcast_create() local 332 int fd, int is_connected, in net_socket_fd_init_dgram() 423 int fd, int is_connected) in net_socket_fd_init_stream() 449 static int net_socket_fd_check(int fd, Error **errp) in net_socket_fd_check() 471 int fd; in net_socket_accept() local 500 int fd, ret; in net_socket_listen_init() local 547 int fd, connected, ret; in net_socket_connect_init() local 598 int fd; in net_socket_mcast_init() local 643 int fd, ret; in net_socket_udp_init() local [all …]
|
/qemu/target/loongarch/tcg/ |
H A D | fpu_helper.c | 87 uint64_t fd; in helper_fadd_s() local 96 uint64_t fd; in helper_fadd_d() local 105 uint64_t fd; in helper_fsub_s() local 114 uint64_t fd; in helper_fsub_d() local 123 uint64_t fd; in helper_fmul_s() local 132 uint64_t fd; in helper_fmul_d() local 141 uint64_t fd; in helper_fdiv_s() local 150 uint64_t fd; in helper_fdiv_d() local 159 uint64_t fd; in helper_fmax_s() local 168 uint64_t fd; in helper_fmax_d() local [all …]
|
/qemu/tests/qemu-iotests/ |
H A D | qcow2.py | 32 def cmd_dump_header(fd): argument 39 def cmd_dump_header_exts(fd): argument 44 def cmd_set_header(fd, name, value): argument 61 def cmd_add_header_ext(fd, magic, data): argument 74 def cmd_add_header_ext_stdio(fd, magic): argument 79 def cmd_del_header_ext(fd, magic): argument 101 def cmd_set_feature_bit(fd, group, bit): argument
|
H A D | qcow2_format.py | 101 def __init__(self, fd=None, offset=None, data=None): argument 148 def __init__(self, fd, cluster_size): argument 158 def read_bitmap_directory(self, fd): argument 188 def __init__(self, fd, cluster_size): argument 232 def __init__(self, fd): argument 253 def __init__(self, fd, offset, nb_entries, cluster_size): argument 298 def __init__(self, magic=None, length=None, data=None, fd=None, argument 394 def __init__(self, fd): argument 417 def load_extensions(self, fd): argument 432 def update_extensions(self, fd): argument [all …]
|
/qemu/linux-user/ |
H A D | fd-trans.h | 39 static inline TargetFdDataFunc fd_trans_target_to_host_data(int fd) in fd_trans_target_to_host_data() 52 static inline TargetFdDataFunc fd_trans_host_to_target_data(int fd) in fd_trans_host_to_target_data() 65 static inline TargetFdAddrFunc fd_trans_target_to_host_addr(int fd) in fd_trans_target_to_host_addr() 78 static inline void internal_fd_trans_register_unsafe(int fd, in internal_fd_trans_register_unsafe() 94 static inline void fd_trans_register(int fd, TargetFdTrans *trans) in fd_trans_register() 100 static inline void internal_fd_trans_unregister_unsafe(int fd) in internal_fd_trans_unregister_unsafe() 107 static inline void fd_trans_unregister(int fd) in fd_trans_unregister()
|
/qemu/util/ |
H A D | mmap-alloc.c | 33 QemuFsType qemu_fd_getfs(int fd) in qemu_fd_getfs() 60 size_t qemu_fd_getpagesize(int fd) in qemu_fd_getpagesize() 85 static bool map_noreserve_effective(int fd, uint32_t qemu_map_flags) in map_noreserve_effective() 152 static void *mmap_reserve(size_t size, int fd) in mmap_reserve() 184 static void *mmap_activate(void *ptr, size_t size, int fd, in mmap_activate() 237 static inline size_t mmap_guard_pagesize(int fd) in mmap_guard_pagesize() 247 void *qemu_ram_mmap(int fd, in qemu_ram_mmap() 297 void qemu_ram_munmap(int fd, void *ptr, size_t size) in qemu_ram_munmap()
|
H A D | osdep.c | 36 int socket_set_cork(int fd, int v) in socket_set_cork() 45 int socket_set_nodelay(int fd) in socket_set_nodelay() 125 int qemu_dup_flags(int fd, int flags) in qemu_dup_flags() 170 int qemu_dup(int fd) in qemu_dup() 193 int fd; in qemu_probe_lock_ops() local 256 int qemu_unlock_fd(int fd, int64_t start, int64_t len) in qemu_unlock_fd() 394 int qemu_close(int fd) in qemu_close() 440 ssize_t qemu_write_full(int fd, const void *buf, size_t count) in qemu_write_full() 596 readv(int fd, const struct iovec *iov, int iov_cnt) in readv() 602 writev(int fd, const struct iovec *iov, int iov_cnt) in writev() [all …]
|
H A D | oslib-win32.c | 180 void qemu_socket_set_block(int fd) in qemu_socket_set_block() 187 int qemu_socket_try_set_nonblock(int fd) in qemu_socket_try_set_nonblock() 196 void qemu_socket_set_nonblock(int fd) in qemu_socket_set_nonblock() 201 int socket_set_fast_reuse(int fd) in socket_set_fast_reuse() 221 void qemu_set_cloexec(int fd) in qemu_set_cloexec() 240 void qemu_set_tty_echo(int fd, bool echo) in qemu_set_tty_echo() 499 int qemu_close_socket_osfhandle(int fd) in qemu_close_socket_osfhandle() 543 int qemu_close_wrap(int fd) in qemu_close_wrap() 568 int fd; in qemu_socket_wrap() local 591 int fd; in qemu_accept_wrap() local [all …]
|
H A D | chardev_open.c | 46 int fd; in open_cdev_internal() local 74 int fd; in open_cdev() local
|
H A D | memfd.c | 108 int *fd, Error **errp) in qemu_memfd_alloc() 149 void qemu_memfd_free(void *ptr, size_t size, int fd) in qemu_memfd_free() 177 int fd; in qemu_memfd_alloc_check() local
|
/qemu/tests/qtest/ |
H A D | libqmp.c | 38 static void socket_send(int fd, const char *buf, size_t size) in socket_send() 62 QDict *qmp_fd_receive(int fd) in qmp_fd_receive() 138 _qmp_fd_vsend_fds(int fd, int *fds, size_t fds_num, in _qmp_fd_vsend_fds() 181 void qmp_fd_vsend_fds(int fd, int *fds, size_t fds_num, in qmp_fd_vsend_fds() 188 void qmp_fd_vsend(int fd, const char *fmt, va_list ap) in qmp_fd_vsend() 194 QDict *qmp_fdv(int fd, const char *fmt, va_list ap) in qmp_fdv() 201 QDict *qmp_fd(int fd, const char *fmt, ...) in qmp_fd() 212 void qmp_fd_send(int fd, const char *fmt, ...) in qmp_fd_send() 221 void qmp_fd_vsend_raw(int fd, const char *fmt, va_list ap) in qmp_fd_vsend_raw() 233 void qmp_fd_send_raw(int fd, const char *fmt, ...) in qmp_fd_send_raw()
|
/qemu/tests/unit/ |
H A D | test-util-sockets.c | 30 int fd = mkstemp(tmp); in test_fd_is_socket_bad() local 44 int fd = qemu_socket(PF_INET, SOCK_STREAM, 0); in test_fd_is_socket_good() local 82 int fd; in test_socket_fd_pass_name_good() local 114 int fd; in test_socket_fd_pass_name_bad() local 144 int fd; in test_socket_fd_pass_name_nomon() local 166 int fd, sfd; in test_socket_fd_pass_num_good() local 189 int fd, sfd; in test_socket_fd_pass_num_bad() local 213 int fd; in test_socket_fd_pass_num_nocli() local 245 int i, fd; in unix_client_thread_func() local 263 int fd, connfd, i; in test_socket_unix_abstract_row() local
|
H A D | test-image-locking.c | 56 static void check_locked_bytes(int fd, uint64_t perm_locks, in check_locked_bytes() 82 int fd = g_file_open_tmp("qemu-tst-img-lock.XXXXXX", &img_path, NULL); in test_image_locking_basic() local 123 int fd = g_file_open_tmp("qemu-tst-img-lock.XXXXXX", &img_path, NULL); in test_set_perm_abort() local
|
/qemu/linux-user/s390x/ |
H A D | target_proc.h | 25 static void show_facilities(int fd) in show_facilities() 47 static void show_cpu_summary(CPUArchState *cpu_env, int fd) in show_cpu_summary() 81 static void show_cpu_ids(CPUArchState *cpu_env, int fd, unsigned long n) in show_cpu_ids() 90 static void show_cpuinfo(CPUArchState *cpu_env, int fd, unsigned long n) in show_cpuinfo() 96 static int open_cpuinfo(CPUArchState *cpu_env, int fd) in open_cpuinfo()
|
/qemu/hw/9pfs/ |
H A D | 9p-util-darwin.c | 18 int fd = openat_file(dirfd, filename, in fgetxattrat_nofollow() local 32 int fd = openat_file(dirfd, filename, in flistxattrat_nofollow() local 46 int fd = openat_file(dirfd, filename, O_PATH_9P_UTIL | O_NOFOLLOW, 0); in fremovexattrat_nofollow() local 59 int fd = openat_file(dirfd, filename, O_PATH_9P_UTIL | O_NOFOLLOW, 0); in fsetxattrat_nofollow() local 78 int fd, err; in create_socket_file_at_cwd() local 118 int fd = openat_file(dirfd, filename, O_CREAT, mode); in qemu_mknodat() local
|
/qemu/monitor/ |
H A D | fds.c | 38 int fd; member 45 int fd; member 64 static bool monitor_add_fd(Monitor *mon, int fd, const char *fdname, Error **errp) in monitor_add_fd() 105 int fd; in qmp_getfd() local 149 int fd; in monitor_get_fd() local 206 int fd; in qmp_add_fd() local 234 int fd; in qmp_get_win32_socket() local 263 void qmp_remove_fd(int64_t fdset_id, bool has_fd, int64_t fd, Error **errp) in qmp_remove_fd() 330 AddfdInfo *monitor_fdset_add_fd(int fd, bool has_fdset_id, int64_t fdset_id, in monitor_fdset_add_fd() 499 int fd; in monitor_fd_param() local
|
/qemu/backends/ |
H A D | iommufd.c | 47 int fd = -1; in iommufd_backend_set_fd() local 77 int fd, ret = 0; in iommufd_backend_connect() local 112 int ret, fd = be->fd; in iommufd_backend_alloc_ioas() local 132 int ret, fd = be->fd; in iommufd_backend_free_id() local 148 int ret, fd = be->fd; in iommufd_backend_map_dma() local 183 int ret, fd = be->fd; in iommufd_backend_unmap_dma() local
|
/qemu/chardev/ |
H A D | char-parallel.c | 54 int fd; member 76 int fd = drv->fd; in pp_ioctl() local 161 int fd, in qemu_chr_open_pp_fd() 182 int fd; member 231 int fd, in qemu_chr_open_pp_fd() 248 int fd; in qmp_chardev_open_parallel() local 286 int fd = drv->fd; in char_parallel_finalize() local
|
/qemu/ui/ |
H A D | ui-qmp-cmds.c | 116 bool qmp_add_client_spice(int fd, bool has_skipauth, bool skipauth, in qmp_add_client_spice() 132 bool qmp_add_client_vnc(int fd, bool has_skipauth, bool skipauth, in qmp_add_client_vnc() 142 bool qmp_add_client_dbus_display(int fd, bool has_skipauth, bool skipauth, in qmp_add_client_dbus_display() 229 static bool png_save(int fd, pixman_image_t *image, Error **errp) in png_save() 291 static bool png_save(int fd, pixman_image_t *image, Error **errp) in png_save() 299 static bool ppm_save(int fd, pixman_image_t *image, Error **errp) in ppm_save() 338 int fd; in qmp_screendump() local
|
/qemu/migration/ |
H A D | fd.c | 30 int fd = monitor_get_fd(monitor_cur(), fdname, errp); in fd_start_outgoing_migration() local 59 int fd = monitor_fd_param(monitor_cur(), fdname, errp); in fd_start_incoming_migration() local
|
/qemu/scsi/ |
H A D | qemu-pr-helper.c | 126 int fd; member 180 static int coroutine_fn do_sgio(int fd, const uint8_t *cdb, uint8_t *sense, in do_sgio() 229 static void *dm_dev_ioctl(int fd, int ioc, struct dm_ioctl *dm) in dm_dev_ioctl() 286 static int is_mpath(int fd) in is_mpath() 318 static int coroutine_fn mpath_reconstruct_sense(int fd, int r, uint8_t *sense) in mpath_reconstruct_sense() 370 static int coroutine_fn multipath_pr_in(int fd, const uint8_t *cdb, uint8_t *sense, in multipath_pr_in() 425 static int coroutine_fn multipath_pr_out(int fd, const uint8_t *cdb, uint8_t *sense, in multipath_pr_out() 543 static int coroutine_fn do_pr_in(int fd, const uint8_t *cdb, uint8_t *sense, in do_pr_in() 561 static int coroutine_fn do_pr_out(int fd, const uint8_t *cdb, uint8_t *sense, in do_pr_out() 587 int fd; member [all …]
|