Home
last modified time | relevance | path

Searched refs:f (Results 176 – 200 of 648) sorted by relevance

12345678910>>...26

/qemu/tests/avocado/
H A Dmachine_aarch64_sbsaref.py75 f"if=pflash,file={fs0_path},format=raw",
77 f"if=pflash,file={fs1_path},format=raw",
134 f"file={iso_path},format=raw",
195 f"file={img_path},format=raw",
/qemu/common-user/host/aarch64/
H A Dsafe-syscall.inc.S60 cbnz w10, 2f
68 b.hi 0f
71 b.cs 1f
/qemu/target/cris/
H A Dmmu.c44 unsigned int f; in compute_polynom() local
46 f = 0; in compute_polynom()
48 f += ((SR_POLYNOM >> i) & 1) & ((sr >> i) & 1); in compute_polynom()
51 return f; in compute_polynom()
56 unsigned int f; in cris_mmu_update_rand_lfsr() local
59 f = compute_polynom(env->mmu_rand_lfsr); in cris_mmu_update_rand_lfsr()
61 env->mmu_rand_lfsr |= (f << 15); in cris_mmu_update_rand_lfsr()
/qemu/ui/
H A Dkeymaps.c90 FILE *f; in parse_keyboard_layout() local
98 f = filename ? fopen(filename, "r") : NULL; in parse_keyboard_layout()
100 if (!f) { in parse_keyboard_layout()
106 if (fgets(line, 1024, f) == NULL) { in parse_keyboard_layout()
171 fclose(f); in parse_keyboard_layout()
H A Dui-qmp-cmds.c238 FILE *f = fdopen(fd, "wb"); in png_save() local
240 if (!f) { in png_save()
250 fclose(f); in png_save()
258 fclose(f); in png_save()
263 png_init_io(png_ptr, f); in png_save()
280 if (fclose(f) != 0) { in png_save()
/qemu/docs/sphinx/
H A Dkerneldoc.py101 for f in functions:
102 cmd += ['-function', f]
107 for f in glob.glob(env.config.kerneldoc_srctree + '/' + pattern):
108 env.note_dependency(os.path.abspath(f))
109 cmd += ['-export-file', f]
/qemu/hw/i386/
H A Dx86-common.c436 static long get_file_size(FILE *f) in get_file_size() argument
442 where = ftell(f); in get_file_size()
443 fseek(f, 0, SEEK_END); in get_file_size()
444 size = ftell(f); in get_file_size()
445 fseek(f, where, SEEK_SET); in get_file_size()
638 FILE *f; in x86_load_linux() local
653 if (!f) { in x86_load_linux()
659 kernel_size = get_file_size(f); in x86_load_linux()
691 fclose(f); in x86_load_linux()
897 fseek(f, 0, SEEK_SET); in x86_load_linux()
[all …]
/qemu/target/hppa/
H A Dinsns.decode83 &rrb_c_f disp n c f r1 r2
84 &rrb_c_d_f disp n c d f r1 r2
85 &rib_c_f disp n c f r i
86 &rib_c_d_f disp n c d f r i
382 movb 110010 ..... ..... ... ........... . . @rrb_cf f=0
383 movbi 110011 ..... ..... ... ........... . . @rib_cf f=0
391 cmpbi 111011 r:5 ..... f:1 .. ........... n:1 . \
394 addb 101000 ..... ..... ... ........... . . @rrb_cf f=0
395 addb 101010 ..... ..... ... ........... . . @rrb_cf f=1
396 addbi 101001 ..... ..... ... ........... . . @rib_cf f=0
[all …]
/qemu/tests/tcg/xtensa/
H A Dvectors.S8 j 1f
12 movi a0, 1f
22 beqz a2, 1f
H A Dtest_timer.S108 bgez a4, 2f
116 set_vector TIMER0_VECTOR, 2f
153 set_vector TIMER1_VECTOR, 2f
188 set_vector TIMER2_VECTOR, 2f
220 set_vector TIMER0_VECTOR, 2f
257 set_vector TIMER0_VECTOR, 2f
/qemu/python/qemu/qmp/
H A Dqmp_shell.py225 msg = f"Failed to read history '{self._histfile}': {err!s}"
232 msg = f"Failed to save history file '{self._histfile}': {err!s}"
268 f"Expected a key=value pair, got '{arg!s}'"
286 raise QMPShellError(f'Cannot set "{key}" multiple times')
349 f"Error while parsing command line: {err!s}\n"
547 parser.error(f"Bad port number: {args.qmp_server}")
555 die(f"Couldn't connect to {args.qmp_server}: {err!s}")
596 parser.error(f"Bad port number: {sockpath}")
608 die(f"Couldn't connect to {args.qmp_server}: {err!s}")
H A Dmessage.py104 return f"Message({self._object!r})"
105 return f"Message({bytes(self)!r})"
188 f" raw bytes were: {str(self.raw)}",
208 f" json value was: {strval}",
/qemu/dump/
H A Dwin_dump.c33 #define _WIN_DUMP_FIELD(f) (x64 ? h->x64.f : h->x32.f) argument
36 #define _WIN_DUMP_FIELD_PTR(f) (x64 ? (void *)&h->x64.f : (void *)&h->x32.f) argument
39 #define _WIN_DUMP_FIELD_SIZE(f) (x64 ? sizeof(h->x64.f) : sizeof(h->x32.f)) argument
/qemu/tests/qemu-iotests/
H A Dcommon.rc776 for f; do
777 if [ "$f" = "$IMGFMT" -o "$f" = "generic" -a "$IMGFMT_GENERIC" = "true" ]; then
792 for f; do
793 if [ "$f" = "$IMGFMT" ]; then
803 for f; do
804 if [ "$f" = "$IMGPROTO" -o "$f" = "generic" ]; then
816 for f; do
817 if [ "$f" = "$IMGPROTO" ]; then
H A D30745 vm.add_blockdev(f'file,filename={img},node-name=file')
46 vm.add_blockdev(f'{iotests.imgfmt},file=file,node-name=fmt')
49 vm.add_device(f'id=scsi0,driver=virtio-scsi,iothread=iothread0')
116 nbd_url = f'nbd+unix:///export1?socket={socket}'
/qemu/hw/virtio/
H A Dvirtio-mmio.c545 static int virtio_mmio_load_config(DeviceState *opaque, QEMUFile *f) in virtio_mmio_load_config() argument
549 proxy->host_features_sel = qemu_get_be32(f); in virtio_mmio_load_config()
550 proxy->guest_features_sel = qemu_get_be32(f); in virtio_mmio_load_config()
551 proxy->guest_page_shift = qemu_get_be32(f); in virtio_mmio_load_config()
555 static void virtio_mmio_save_config(DeviceState *opaque, QEMUFile *f) in virtio_mmio_save_config() argument
559 qemu_put_be32(f, proxy->host_features_sel); in virtio_mmio_save_config()
560 qemu_put_be32(f, proxy->guest_features_sel); in virtio_mmio_save_config()
561 qemu_put_be32(f, proxy->guest_page_shift); in virtio_mmio_save_config()
608 vmstate_save_state(f, &vmstate_virtio_mmio, proxy, NULL); in virtio_mmio_save_extra_state()
611 static int virtio_mmio_load_extra_state(DeviceState *opaque, QEMUFile *f) in virtio_mmio_load_extra_state() argument
[all …]
/qemu/include/qemu/
H A Dthread.h41 typedef void (*QemuMutexLockFunc)(QemuMutex *m, const char *f, int l);
42 typedef int (*QemuMutexTrylockFunc)(QemuMutex *m, const char *f, int l);
43 typedef void (*QemuRecMutexLockFunc)(QemuRecMutex *m, const char *f, int l);
44 typedef int (*QemuRecMutexTrylockFunc)(QemuRecMutex *m, const char *f, int l);
45 typedef void (*QemuCondWaitFunc)(QemuCond *c, QemuMutex *m, const char *f,
48 const char *f, int l);
/qemu/scripts/qapi/
H A Dintrospect.py122 ret += indent(level) + f"/* {obj.comment} */\n"
138 ret += f"QLIT_QSTR({to_c_string(obj)})"
140 ret += f"QLIT_QBOOL({str(obj).lower()})"
160 f"type '{type(obj).__name__}' not implemented"
254 return [Annotated(f.name, f.ifcond) for f in features]
275 comment = f'"{self._name(name)}" = {name}'
/qemu/hw/nvram/
H A Dfw_cfg.c573 *v = qemu_get_be16(f); in get_uint32_as_uint16()
577 static int put_unused(QEMUFile *f, void *pv, size_t size, in put_unused() argument
645 if (!strcmp(s->files->f[i].name, ACPI_BUILD_TABLE_FILE)) { in fw_cfg_acpi_mr_restore_post_load()
963 s->files->f[i] = s->files->f[i - 1]; in fw_cfg_add_file_callback()
970 memset(&s->files->f[index], 0, sizeof(FWCfgFile)); in fw_cfg_add_file_callback()
973 pstrcpy(s->files->f[index].name, sizeof(s->files->f[index].name), filename); in fw_cfg_add_file_callback()
976 strcmp(s->files->f[index].name, s->files->f[i].name) == 0) { in fw_cfg_add_file_callback()
978 s->files->f[index].name); in fw_cfg_add_file_callback()
988 s->files->f[index].size = cpu_to_be32(len); in fw_cfg_add_file_callback()
1014 if (strcmp(filename, s->files->f[i].name) == 0) { in fw_cfg_modify_file()
[all …]
/qemu/common-user/host/arm/
H A Dsafe-syscall.inc.S74 bne 2f
83 bhi 1f
86 bcs 1f
/qemu/tests/tcg/cris/bare/
H A Dcheck_xarith.s34 beq 1f
41 bne 1f
55 ba 2f
/qemu/scripts/kvm/
H A Dvmxcap32 self.f = open('/dev/cpu/0/msr', 'rb', 0)
34 self.f = open('/dev/msr0', 'rb', 0)
37 self.f.seek(index)
39 return struct.unpack('Q', self.f.read(8))[0]
/qemu/hw/pci/
H A Dmsix.c478 void msix_save(PCIDevice *dev, QEMUFile *f) in msix_save() argument
486 qemu_put_buffer(f, dev->msix_table, n * PCI_MSIX_ENTRY_SIZE); in msix_save()
487 qemu_put_buffer(f, dev->msix_pba, DIV_ROUND_UP(n, 8)); in msix_save()
491 void msix_load(PCIDevice *dev, QEMUFile *f) in msix_load() argument
501 qemu_get_buffer(f, dev->msix_table, n * PCI_MSIX_ENTRY_SIZE); in msix_load()
502 qemu_get_buffer(f, dev->msix_pba, DIV_ROUND_UP(n, 8)); in msix_load()
673 static int put_msix_state(QEMUFile *f, void *pv, size_t size, in put_msix_state() argument
676 msix_save(pv, f); in put_msix_state()
681 static int get_msix_state(QEMUFile *f, void *pv, size_t size, in get_msix_state() argument
684 msix_load(pv, f); in get_msix_state()
/qemu/hw/9pfs/
H A D9p.c265 err = v9fs_co_open(pdu, f, f->open_flags); in v9fs_reopen_fid()
285 if (f) { in get_fid()
292 f->ref++; in get_fid()
309 return f; in get_fid()
319 if (f) { in alloc_fid()
325 f->fid = fid; in alloc_fid()
327 f->ref = 1; in alloc_fid()
338 return f; in alloc_fid()
449 if (f->ref || f->flags & FID_NON_RECLAIMABLE) { in v9fs_reclaim_fd()
474 f->fs_reclaim.fd = f->fs.fd; in v9fs_reclaim_fd()
[all …]
/qemu/
H A Dqemu-bridge-helper.c76 FILE *f; in parse_acl_file() local
80 f = fopen(filename, "r"); in parse_acl_file()
81 if (f == NULL) { in parse_acl_file()
85 while (fgets(line, sizeof(line), f) != NULL) { in parse_acl_file()
153 fclose(f); in parse_acl_file()
157 fclose(f); in parse_acl_file()

12345678910>>...26