Home
last modified time | relevance | path

Searched refs:sv (Results 1 – 20 of 20) sorted by relevance

/qemu/tests/qtest/
H A Dvirtio-net-test.c153 int *sv = data; in send_recv_test() local
155 rx_test(dev, t_alloc, rx, sv[0]); in send_recv_test()
156 tx_test(dev, t_alloc, tx, sv[0]); in send_recv_test()
164 int *sv = data; in stop_cont_test() local
166 rx_stop_cont_test(dev, t_alloc, rx, sv[0]); in stop_cont_test()
190 int *sv = data; in announce_self() local
208 ret = recv(sv[0], &len, sizeof(len), 0); in announce_self()
212 ret = recv(sv[0], buffer, len, 0); in announce_self()
236 ret = recv(sv[0], buffer, 60, MSG_DONTWAIT); in announce_self()
266 int *sv = sockets; in virtio_net_test_cleanup() local
[all …]
H A Dnetdev-socket.c464 int sv[2]; in test_dgram_fd() local
466 ret = socketpair(PF_UNIX, SOCK_DGRAM, 0, sv); in test_dgram_fd()
471 sv[0]); in test_dgram_fd()
473 expect = g_strdup_printf("st0: index=0,type=dgram,fd=%d unix\r\n", sv[0]); in test_dgram_fd()
479 sv[1]); in test_dgram_fd()
482 expect = g_strdup_printf("st0: index=0,type=dgram,fd=%d unix\r\n", sv[1]); in test_dgram_fd()
489 close(sv[0]); in test_dgram_fd()
490 close(sv[1]); in test_dgram_fd()
/qemu/tests/unit/
H A Dtest-iov.c158 int sv[2]; in test_io() local
177 if (socketpair(PF_UNIX, SOCK_STREAM, 0, sv) < 0) { in test_io()
187 close(sv[0]); in test_io()
188 FD_SET(sv[1], &fds); in test_io()
189 g_unix_set_fd_nonblocking(sv[1], true, NULL); in test_io()
191 setsockopt(sv[1], SOL_SOCKET, SO_SNDBUF, &r, sizeof(r)); in test_io()
198 r = iov_send(sv[1], iov, niov, k, s); in test_io()
210 select(sv[1] + 1, NULL, &fds, NULL, NULL); in test_io()
223 close(sv[1]); in test_io()
224 FD_SET(sv[0], &fds); in test_io()
[all …]
H A Dcheck-qom-proplist.c67 char *sv; member
117 g_free(dobj->sv); in dummy_set_sv()
118 dobj->sv = g_strdup(value); in dummy_set_sv()
126 return g_strdup(dobj->sv); in dummy_get_sv()
155 g_free(dobj->sv); in dummy_finalize()
354 g_assert_cmpstr(dobj->sv, ==, "Hiss hiss hiss"); in test_dummy_createv()
395 g_assert_cmpstr(dobj->sv, ==, "Hiss hiss hiss"); in test_dummy_createlist()
439 g_assert_cmpstr(dobj->sv, ==, "Hiss hiss hiss"); in test_dummy_createcmdl()
466 g_assert_cmpstr(dobj->sv, ==, "Hiss hiss hiss"); in test_dummy_createcmdl()
/qemu/po/
H A Dsv.po12 "Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
13 "Language: sv\n"
H A DLINGUAS6 sv
/qemu/hw/display/
H A Dvhost-user-gpu.c435 int sv[2]; in vhost_user_gpu_do_set_socket() local
437 if (qemu_socketpair(PF_UNIX, SOCK_STREAM, 0, sv) == -1) { in vhost_user_gpu_do_set_socket()
443 if (!chr || qemu_chr_add_client(chr, sv[0]) == -1) { in vhost_user_gpu_do_set_socket()
450 if (vhost_user_gpu_set_socket(&g->vhost->dev, sv[1]) < 0) { in vhost_user_gpu_do_set_socket()
456 g->vhost_gpu_fd = sv[0]; in vhost_user_gpu_do_set_socket()
458 close(sv[1]); in vhost_user_gpu_do_set_socket()
462 close(sv[0]); in vhost_user_gpu_do_set_socket()
463 close(sv[1]); in vhost_user_gpu_do_set_socket()
/qemu/target/hppa/
H A Dtranslate.c837 TCGv_i64 res, TCGv_i64 uv, TCGv_i64 sv) in do_cond() argument
867 tcg_gen_xor_i64(tmp, res, sv); in do_cond()
880 tcg_gen_xor_i64(tmp, res, sv); in do_cond()
895 cond = cond_make_vi(sign_cond, sv, sign_imm); in do_cond()
916 TCGv_i64 in2, TCGv_i64 sv) in do_sub_cond() argument
943 return do_cond(ctx, cf, d, res, NULL, sv); in do_sub_cond()
1094 TCGv_i64 sv = tcg_temp_new_i64(); in do_add_sv() local
1097 tcg_gen_xor_i64(sv, res, in1); in do_add_sv()
1099 tcg_gen_andc_i64(sv, sv, tmp); in do_add_sv()
1109 tcg_gen_or_i64(sv, sv, tmp); in do_add_sv()
[all …]
/qemu/net/
H A Dtap.c483 int sv[2]; in net_bridge_run_helper() local
493 if (socketpair(PF_UNIX, SOCK_STREAM, 0, sv) == -1) { in net_bridge_run_helper()
509 close_all_fds_after_fork(sv[1]); in net_bridge_run_helper()
510 fd_buf = g_strdup_printf("%s%d", "--fd=", sv[1]); in net_bridge_run_helper()
552 close(sv[1]); in net_bridge_run_helper()
554 fd = RETRY_ON_EINTR(recv_fd(sv[0])); in net_bridge_run_helper()
557 close(sv[0]); in net_bridge_run_helper()
/qemu/docs/system/devices/
H A Dkeyboard.rst28 -global escc.chnA-sunkbd-layout=sv
71 - sv
/qemu/target/hexagon/
H A Dop_helper.c251 int sv = sextract64(RssV, i * 16, 16); in HELPER() local
255 sv = sv - tv; in HELPER()
256 max = xv > sv ? xv : sv; in HELPER()
269 int sv = sextract64(RssV, i * 16, 16); in HELPER() local
272 sv = sv - tv; in HELPER()
273 PeV = deposit32(PeV, i * 2, 1, (xv > sv)); in HELPER()
274 PeV = deposit32(PeV, i * 2 + 1, 1, (xv > sv)); in HELPER()
/qemu/util/
H A Doslib-posix.c291 int qemu_socketpair(int domain, int type, int protocol, int sv[2]) in qemu_socketpair()
296 ret = socketpair(domain, type | SOCK_CLOEXEC, protocol, sv); in qemu_socketpair()
301 ret = socketpair(domain, type, protocol, sv); in qemu_socketpair()
303 qemu_set_cloexec(sv[0]); in qemu_socketpair()
304 qemu_set_cloexec(sv[1]); in qemu_socketpair()
H A Doslib-win32.c321 int qemu_socketpair(int domain, int type, int protocol, int sv[2]) in qemu_socketpair()
335 g_return_val_if_fail(sv != NULL, -1); in qemu_socketpair()
409 sv[0] = server; in qemu_socketpair()
411 sv[1] = client; in qemu_socketpair()
/qemu/target/ppc/
H A Dcpu.c145 bool sv = extract32(dawrx, PPC_BIT_NR(62), 1); in ppc_update_daw() local
159 if (!hv && !sv && !pr) { in ppc_update_daw()
H A Dtcg-excp_helper.c348 bool wt, wti, hv, sv, pr; in ppc_cpu_debug_check_watchpoint() local
364 sv = extract32(dawrx, PPC_BIT_NR(62), 1); in ppc_cpu_debug_check_watchpoint()
371 } else if (!sv) { in ppc_cpu_debug_check_watchpoint()
/qemu/include/qemu/
H A Dsockets.h31 int qemu_socketpair(int domain, int type, int protocol, int sv[2]);
/qemu/pc-bios/keymaps/
H A Dmeson.build59 install_data(['sl', 'sv'], install_dir: qemu_datadir / 'keymaps')
/qemu/target/hexagon/imported/
H A Dalu.idef1263 fHIDE(int sv;)
1267 sv = (int) fGETHALF(i,RssV);
1270 sv = sv - tv; //assumes 17bit datapath
1271 fSETBIT(i*2, PeV, (xv > sv));
1272 fSETBIT(i*2+1,PeV, (xv > sv));
1273 fSETHALF(i, RxxV, fSATH(fMAX(xv,sv)));
/qemu/hw/virtio/
H A Dvhost-user.c1880 int sv[2], ret = 0; in vhost_setup_backend_channel() local
1891 if (qemu_socketpair(PF_UNIX, SOCK_STREAM, 0, sv) == -1) { in vhost_setup_backend_channel()
1897 ioc = QIO_CHANNEL(qio_channel_socket_new_fd(sv[0], &local_err)); in vhost_setup_backend_channel()
1911 ret = vhost_user_write(dev, &msg, &sv[1], 1); in vhost_setup_backend_channel()
1921 close(sv[1]); in vhost_setup_backend_channel()
/qemu/
H A Dqemu-options.hx776 ar de-ch es fo fr-ca hu ja mk no pt-br sv