Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 25 of 499) sorted by relevance

12345678910>>...20

/qemu/tests/qemu-iotests/
H A D142.out45 Cache mode: writeback
46 Cache mode: writeback
48 Cache mode: writeback
49 Cache mode: writeback
52 Cache mode: writeback
53 Cache mode: writeback
54 Cache mode: writeback
59 Cache mode: writeback
60 Cache mode: writeback
61 Cache mode: writeback
[all …]
H A D157.out7 Cache mode: writeback
9 Cache mode: writeback
11 Cache mode: writeback
13 Cache mode: writethrough
15 Cache mode: writethrough
17 Cache mode: writethrough
19 Cache mode: writeback
21 Cache mode: writethrough
H A D24349 for mode in off metadata falloc full; do
52 echo "=== preallocation=$mode ==="
55 _make_test_img -o "preallocation=$mode,extent_size_hint=0" 64M
66 for mode in off metadata falloc full; do
69 echo "=== External data file: preallocation=$mode ==="
73 -o "data_file=$TEST_IMG.data,preallocation=$mode,extent_size_hint=0" 64M
H A D20555 def remove_export(self, name, mode=None): argument
56 if mode is None:
59 return self.vm.qmp('nbd-server-remove', name=name, mode=mode)
84 def do_test_connect_after_remove(self, mode=None): argument
88 result = self.remove_export('exp', mode)
103 def do_test_remove_during_connect_safe(self, mode=None): argument
107 result = self.remove_export('exp', mode)
114 result = self.remove_export('exp', mode)
H A D186.out62 Cache mode: writeback
70 Cache mode: writeback
78 Cache mode: writeback
86 Cache mode: writeback
94 Cache mode: writeback
102 Cache mode: writeback
111 Cache mode: writeback
120 Cache mode: writeback
129 Cache mode: writeback
138 Cache mode: writeback
[all …]
/qemu/hw/display/
H A Dbochs-display.c56 BochsDisplayMode mode; member
164 memset(mode, 0, sizeof(*mode)); in bochs_display_get_mode()
169 mode->bytepp = 2; in bochs_display_get_mode()
187 mode->stride = virt_width * mode->bytepp; in bochs_display_get_mode()
188 mode->size = (uint64_t)mode->stride * mode->height; in bochs_display_get_mode()
189 mode->offset = ((uint64_t)vbe[VBE_DISPI_INDEX_X_OFFSET] * mode->bytepp + in bochs_display_get_mode()
192 if (mode->width < 64 || mode->height < 64) { in bochs_display_get_mode()
195 if (mode->offset + mode->size > s->vgamem) { in bochs_display_get_mode()
218 if (memcmp(&s->mode, &mode, sizeof(mode)) != 0) { in bochs_display_update()
220 s->mode = mode; in bochs_display_update()
[all …]
H A Dedid-generate.c103 mode[0] = 0x01; in edid_std_mode()
104 mode[1] = 0x01; in edid_std_mode()
123 mode[0] = (xres / 8) - 31; in edid_std_mode()
124 mode[1] = ((aspect << 6) | (60 - 60)); in edid_std_mode()
131 const struct edid_mode *mode; in edid_fill_modes() local
136 mode = modes + i; in edid_fill_modes()
143 if (mode->byte) { in edid_fill_modes()
144 edid[mode->byte] |= (1 << mode->bit); in edid_fill_modes()
146 rc = edid_std_mode(edid + std, mode->xres, mode->yres); in edid_fill_modes()
151 xtra3[mode->xtra3] |= (1 << mode->bit); in edid_fill_modes()
[all …]
/qemu/hw/i2c/
H A Dsmbus_slave.c73 switch (dev->mode) { in smbus_i2c_event()
87 switch (dev->mode) { in smbus_i2c_event()
113 if (dev->mode == SMBUS_WRITE_DATA || dev->mode == SMBUS_READ_DATA) { in smbus_i2c_event()
117 switch (dev->mode) { in smbus_i2c_event()
131 dev->mode = SMBUS_IDLE; in smbus_i2c_event()
136 switch (dev->mode) { in smbus_i2c_event()
142 dev->mode = SMBUS_DONE; in smbus_i2c_event()
165 switch (dev->mode) { in smbus_i2c_recv()
175 dev->mode = SMBUS_CONFUSED; in smbus_i2c_recv()
186 switch (dev->mode) { in smbus_i2c_send()
[all …]
/qemu/tests/unit/
H A Dtest-crypto-cipher.c31 QCryptoCipherMode mode; member
47 .mode = QCRYPTO_CIPHER_MODE_ECB,
64 .mode = QCRYPTO_CIPHER_MODE_ECB,
81 .mode = QCRYPTO_CIPHER_MODE_ECB,
100 .mode = QCRYPTO_CIPHER_MODE_CBC,
118 .mode = QCRYPTO_CIPHER_MODE_CBC,
136 .mode = QCRYPTO_CIPHER_MODE_CBC,
160 .mode = QCRYPTO_CIPHER_MODE_ECB,
169 .mode = QCRYPTO_CIPHER_MODE_CBC,
178 .mode = QCRYPTO_CIPHER_MODE_ECB,
[all …]
H A Dtest-qht.c168 static void qht_do_test(unsigned int mode, size_t init_entries) in qht_do_test() argument
173 qht_init(&ht, is_equal, 0, mode); in qht_do_test()
192 if (!(mode & QHT_MODE_AUTO_RESIZE)) { in qht_do_test()
233 static void qht_test(unsigned int mode) in qht_test() argument
235 qht_do_test(mode, 0); in qht_test()
236 qht_do_test(mode, 1); in qht_test()
237 qht_do_test(mode, 2); in qht_test()
238 qht_do_test(mode, 8); in qht_test()
239 qht_do_test(mode, 16); in qht_test()
240 qht_do_test(mode, 8192); in qht_test()
[all …]
/qemu/hw/sd/
H A Dssi-sd.c57 uint32_t mode; member
123 if (s->mode >= SSI_SD_PREP_DATA && s->mode <= SSI_SD_DATA_CRC16) { in OBJECT_DECLARE_SIMPLE_TYPE()
125 s->mode = SSI_SD_CMD; in OBJECT_DECLARE_SIMPLE_TYPE()
131 switch (s->mode) { in OBJECT_DECLARE_SIMPLE_TYPE()
165 s->mode = SSI_SD_CMDARG; in OBJECT_DECLARE_SIMPLE_TYPE()
249 s->mode = SSI_SD_RESPONSE; in OBJECT_DECLARE_SIMPLE_TYPE()
258 s->mode = SSI_SD_CMD; in OBJECT_DECLARE_SIMPLE_TYPE()
266 s->mode = SSI_SD_CMD; in OBJECT_DECLARE_SIMPLE_TYPE()
275 s->mode = SSI_SD_DATA_READ; in OBJECT_DECLARE_SIMPLE_TYPE()
335 if (s->mode == SSI_SD_CMDARG && in ssi_sd_post_load()
[all …]
/qemu/tests/bench/
H A Dbenchmark-crypto-cipher.c19 QCryptoCipherMode mode, in test_cipher_speed() argument
31 if (!qcrypto_cipher_supports(alg, mode)) { in test_cipher_speed()
36 niv = qcrypto_cipher_get_iv_len(alg, mode); in test_cipher_speed()
37 if (mode == QCRYPTO_CIPHER_MODE_XTS) { in test_cipher_speed()
52 cipher = qcrypto_cipher_new(alg, mode, in test_cipher_speed()
56 if (mode != QCRYPTO_CIPHER_MODE_ECB) in test_cipher_speed()
75 QCryptoCipherMode_str(mode), in test_cipher_speed()
92 QCryptoCipherMode_str(mode), in test_cipher_speed()
175 #define ADD_TEST(mode, cipher, keysize, chunk) \ in main() argument
176 if ((!alg || g_str_equal(alg, #mode)) && \ in main()
[all …]
/qemu/scripts/
H A Danalyse-9p-simpletrace.py102 def v9fs_stat_return(self, tag, id, mode, atime, mtime, length): argument
103 …print("RSTAT (tag =", tag, ", mode =", mode, ", atime =", atime, ", mtime =", mtime, ", length =",…
108 def v9fs_getattr_return(self, tag, id, result_mask, mode, uid, gid): argument
117 def v9fs_open(self, tag, id, fid, mode): argument
118 print("TOPEN (tag =", tag, ", fid =", fid, ", mode =", oct(mode), ")")
123 def v9fs_lcreate(self, tag, id, dfid, flags, mode, gid): argument
153 def v9fs_create(self, tag, id, fid, name, perm, mode): argument
174 def v9fs_wstat(self, tag, id, fid, mode, atime, mtime): argument
177 def v9fs_mknod(self, tag, id, fid, mode, major, minor): argument
192 def v9fs_mkdir(self, tag, id, fid, name, mode, gid): argument
[all …]
/qemu/crypto/
H A Dcipher.c87 QCryptoCipherMode mode) in qcrypto_cipher_get_iv_len() argument
92 if (mode >= G_N_ELEMENTS(mode_need_iv)) { in qcrypto_cipher_get_iv_len()
96 if (mode_need_iv[mode]) { in qcrypto_cipher_get_iv_len()
105 QCryptoCipherMode mode, in qcrypto_cipher_validate_key_length() argument
115 if (mode == QCRYPTO_CIPHER_MODE_XTS) { in qcrypto_cipher_validate_key_length()
152 QCryptoCipherMode mode, in qcrypto_cipher_new() argument
159 cipher = qcrypto_afalg_cipher_ctx_new(alg, mode, key, nkey, NULL); in qcrypto_cipher_new()
163 cipher = qcrypto_cipher_ctx_new(alg, mode, key, nkey, errp); in qcrypto_cipher_new()
170 cipher->mode = mode; in qcrypto_cipher_new()
H A Dcipher-gnutls.c.inc31 QCryptoCipherMode mode)
34 switch (mode) {
65 gnutls_cipher_hd_t handle; /* XTS & CBC mode */
66 gnutls_cipher_algorithm_t galg; /* ECB mode */
67 guint8 *key; /* ECB mode */
68 size_t nkey; /* ECB mode */
102 if (ctx->handle) { /* CBC / XTS mode */
162 if (ctx->handle) { /* CBC / XTS mode */
243 switch (mode) {
299 if (mode == QCRYPTO_CIPHER_MODE_ECB) {
[all …]
/qemu/hw/9pfs/
H A D9p-util-darwin.c77 static int create_socket_file_at_cwd(const char *filename, mode_t mode) { in create_socket_file_at_cwd() argument
107 err = fchmodat(AT_FDCWD, filename, mode, AT_SYMLINK_NOFOLLOW); in create_socket_file_at_cwd()
113 int qemu_mknodat(int dirfd, const char *filename, mode_t mode, dev_t dev) in qemu_mknodat() argument
117 if (S_ISREG(mode) || !(mode & S_IFMT)) { in qemu_mknodat()
118 int fd = openat_file(dirfd, filename, O_CREAT, mode); in qemu_mknodat()
133 if (S_ISSOCK(mode)) { in qemu_mknodat()
134 err = create_socket_file_at_cwd(filename, mode); in qemu_mknodat()
136 err = mknod(filename, mode, dev); in qemu_mknodat()
H A Dtrace-events11 …urn(uint16_t tag, uint8_t id, int32_t mode, int32_t atime, int32_t mtime, int64_t length) "tag %d …
13 …id, uint64_t result_mask, uint32_t mode, uint32_t uid, uint32_t gid) "tag %d id %d getattr={result…
16 v9fs_open(uint16_t tag, uint8_t id, int32_t fid, int32_t mode) "tag %d id %d fid %d mode %d"
18 …uint8_t id, int32_t dfid, int32_t flags, int32_t mode, uint32_t gid) "tag %d id %d dfid %d flags %…
28 …_t id, int32_t fid, char* name, int32_t perm, int8_t mode) "tag %d id %d fid %d name %s perm %d mo…
35 …16_t tag, uint8_t id, int32_t fid, int32_t mode, int32_t atime, int32_t mtime) "tag %u id %u fid %…
36 …_mknod(uint16_t tag, uint8_t id, int32_t fid, int mode, int major, int minor) "tag %d id %d fid %d…
42 …6_t tag, uint8_t id, int32_t fid, char* name, int mode, uint32_t gid) "tag %u id %u fid %d name %s…
49 …alid, int32_t mode, int32_t uid, int32_t gid, int64_t size, int64_t atime_sec, int64_t mtime_sec) …
/qemu/util/
H A Duserfaultfd.c159 uint64_t mode, uint64_t *ioctls) in uffd_register_memory() argument
165 uffd_register.mode = mode; in uffd_register_memory()
168 trace_uffd_register_memory_failed(addr, length, mode, errno); in uffd_register_memory()
222 uffd_writeprotect.mode = UFFDIO_WRITEPROTECT_MODE_DONTWAKE; in uffd_change_protection()
224 uffd_writeprotect.mode = (wp ? UFFDIO_WRITEPROTECT_MODE_WP : 0); in uffd_change_protection()
230 (uint64_t) uffd_writeprotect.mode, errno); in uffd_change_protection()
259 uffd_copy.mode = dont_wake ? UFFDIO_COPY_MODE_DONTWAKE : 0; in uffd_copy_page()
264 length, (uint64_t) uffd_copy.mode, errno); in uffd_copy_page()
289 uffd_zeropage.mode = dont_wake ? UFFDIO_ZEROPAGE_MODE_DONTWAKE : 0; in uffd_zero_page()
294 (uint64_t) uffd_zeropage.mode, errno); in uffd_zero_page()
/qemu/block/
H A Dreplication.c36 ReplicationMode mode; member
88 const char *mode; in replication_open() local
103 if (!mode) { in replication_open()
108 if (!strcmp(mode, "primary")) { in replication_open()
109 s->mode = REPLICATION_MODE_PRIMARY; in replication_open()
116 } else if (!strcmp(mode, "secondary")) { in replication_open()
117 s->mode = REPLICATION_MODE_SECONDARY; in replication_open()
480 if (s->mode != mode) { in replication_start()
482 " but got %d", s->mode, mode); in replication_start()
486 switch (s->mode) { in replication_start()
[all …]
/qemu/docs/specs/
H A Dppc-spapr-xive.rst16 functionality to PAPR+ Version 2.7. This is the default mode
20 - *XIVE native exploitation mode*
80 ic-mode kernel_irqchip
94 ic-mode kernel_irqchip
105 mode (XICS), either don't set the ic-mode machine property or try
106 ic-mode=xics or ic-mode=dual``
116 ic-mode kernel_irqchip
140 ic-mode kernel_irqchip
151 mode (XICS), either don't set the ic-mode machine property or try
152 ic-mode=xics or ic-mode=dual``
[all …]
/qemu/ui/
H A Degl-helpers.c244 mode); in egl_rendernode_init()
472 DisplayGLMode mode) in qemu_egl_init_dpy() argument
495 bool gles = (mode == DISPLAYGL_MODE_ES); in qemu_egl_init_dpy()
535 return qemu_egl_init_dpy(dpy, EGL_PLATFORM_X11_KHR, mode); in qemu_egl_init_dpy_x11()
537 return qemu_egl_init_dpy(dpy, 0, mode); in qemu_egl_init_dpy_x11()
546 return qemu_egl_init_dpy(dpy, 0, mode); in qemu_egl_init_dpy_mesa()
556 if (mode == DISPLAYGL_MODE_ON) { in qemu_egl_init_dpy_win32()
557 mode = DISPLAYGL_MODE_ES; in qemu_egl_init_dpy_win32()
560 if (qemu_egl_init_dpy(dpy, 0, mode) < 0) { in qemu_egl_init_dpy_win32()
634 if (mode == DISPLAYGL_MODE_OFF) { in egl_init()
[all …]
/qemu/hw/usb/
H A Ddev-storage.c247 if ((s->mode == USB_MSDM_DATAOUT) != (req->cmd.mode == SCSI_XFER_TO_DEV)) { in usb_msd_transfer_data()
281 s->mode = USB_MSDM_CBW; in usb_msd_command_complete()
284 s->mode = USB_MSDM_CBW; in usb_msd_command_complete()
295 s->mode = USB_MSDM_CSW; in usb_msd_command_complete()
301 s->mode = USB_MSDM_CSW; in usb_msd_command_complete()
340 s->mode = USB_MSDM_CBW; in usb_msd_handle_reset()
363 s->mode = USB_MSDM_CBW; in usb_msd_handle_control()
418 switch (s->mode) { in usb_msd_handle_data()
438 s->mode = USB_MSDM_CSW; in usb_msd_handle_data()
496 switch (s->mode) { in usb_msd_handle_data()
[all …]
/qemu/docs/
H A Digd-assign.txt6 1) Universal Pass-Through (UPT) mode:
8 In this mode the IGD device is added as a *secondary* (ie. non-primary)
10 This mode *requires* guest driver support to remove the external
12 drivers only support this mode for Broadwell and newer IGD, according to
13 Intel. Additionally, this mode by default, and as officially supported
17 for example VNC (see below for optional output support). This mode
21 2) "Legacy" mode:
23 In this mode the IGD device is intended to be the primary and exclusive
26 is the intended output device for IGD. This mode includes several
39 will disable legacy mode support.
[all …]
/qemu/backends/
H A Dcryptodev-builtin.c136 cryptodev_builtin_get_aes_algo(uint32_t key_len, int mode, Error **errp) in cryptodev_builtin_get_aes_algo()
145 if (mode == QCRYPTO_CIPHER_MODE_XTS) { in cryptodev_builtin_get_aes_algo()
151 if (mode == QCRYPTO_CIPHER_MODE_XTS) { in cryptodev_builtin_get_aes_algo()
222 int mode; in cryptodev_builtin_create_cipher_session()
241 mode = QCRYPTO_CIPHER_MODE_ECB; in cryptodev_builtin_create_cipher_session()
243 mode, errp); in cryptodev_builtin_create_cipher_session()
249 mode = QCRYPTO_CIPHER_MODE_CBC; in cryptodev_builtin_create_cipher_session()
251 mode, errp); in cryptodev_builtin_create_cipher_session()
257 mode = QCRYPTO_CIPHER_MODE_CTR; in cryptodev_builtin_create_cipher_session()
259 mode, err in cryptodev_builtin_create_cipher_session()
135 cryptodev_builtin_get_aes_algo(uint32_t key_len,int mode,Error ** errp) cryptodev_builtin_get_aes_algo() argument
221 int mode; cryptodev_builtin_create_cipher_session() local
[all...]
/qemu/hw/timer/
H A Dstellaris-gptm.c47 } else if (s->mode[n] == 0xa) { in gptm_reload()
52 s->mode[n]); in gptm_reload()
73 if (s->mode[0] & 1) { in gptm_tick()
91 } else if (s->mode[n] == 0xa) { in gptm_tick()
96 s->mode[n]); in gptm_tick()
110 return s->mode[0]; in gptm_read()
112 return s->mode[1]; in gptm_read()
174 s->mode[0] = value; in gptm_write()
177 s->mode[1] = value; in gptm_write()
255 VMSTATE_UINT32_ARRAY(mode, gptm_state, 2),

12345678910>>...20