/qemu/block/ |
H A D | parallels-ext.c | 223 ParallelsFeatureHeader fh; in parallels_parse_format_extension() local 226 if (remaining < sizeof(fh)) { in parallels_parse_format_extension() 233 memcpy(&fh, pos, sizeof(fh)); in parallels_parse_format_extension() 234 pos += sizeof(fh); in parallels_parse_format_extension() 235 remaining -= sizeof(fh); in parallels_parse_format_extension() 237 fh.magic = le64_to_cpu(fh.magic); in parallels_parse_format_extension() 238 fh.flags = le64_to_cpu(fh.flags); in parallels_parse_format_extension() 239 fh.data_size = le32_to_cpu(fh.data_size); in parallels_parse_format_extension() 241 if (fh.flags) { in parallels_parse_format_extension() 246 if (fh.data_size > remaining) { in parallels_parse_format_extension() [all …]
|
H A D | nfs.c | 57 struct nfsfh *fh; member 274 if (nfs_pread_async(client->context, client->fh, in nfs_co_preadv() 320 if (nfs_pwrite_async(client->context, client->fh, in nfs_co_pwritev() 393 if (client->fh) { in nfs_client_close() 394 nfs_close(client->context, client->fh); in nfs_client_close() 395 client->fh = NULL; in nfs_client_close() 541 ret = nfs_fstat(client->context, client->fh, &st); in nfs_client_open() 656 ret = nfs_ftruncate(client->context, client->fh, opts->size); in nfs_file_co_create() 773 ret = nfs_ftruncate(client->context, client->fh, offset); in nfs_file_co_truncate() 808 ret = nfs_fstat(client->context, client->fh, &st); in nfs_reopen_prepare() [all …]
|
/qemu/hw/s390x/ |
H A D | s390-pci-inst.c | 123 stl_p(&rrb->response.fh_list[i].fh, pbdev->fh); in list_pci() 258 stl_p(&ressetpci->fh, pbdev->fh); in clp_service_call() 269 stl_p(&ressetpci->fh, pbdev->fh); in clp_service_call() 427 uint32_t fh; in pcilg_service_call() local 440 fh = env->regs[r2] >> 32; in pcilg_service_call() 526 uint32_t fh; in pcistg_service_call() local 539 fh = env->regs[r2] >> 32; in pcistg_service_call() 697 uint32_t fh; in rpcit_service_call() local 834 uint32_t fh; in pcistb_service_call() local 1157 uint32_t fh; in mpcifc_service_call() local [all …]
|
H A D | s390-pci-kvm.c | 33 .fh = pbdev->fh, in s390_pci_kvm_aif_enable() 60 .fh = pbdev->fh, in s390_pci_kvm_aif_disable() 72 if (!s390_pci_get_host_fh(pbdev, &args.fh)) { in s390_pci_kvm_aif_disable()
|
H A D | s390-pci-bus.c | 64 eccdf->fh = cpu_to_be32(sei_cont->fh); in pci_chsc_sei_nt2_get_event() 72 accdf->fh = cpu_to_be32(sei_cont->fh); in pci_chsc_sei_nt2_get_event() 274 uint32_t idx = FH_MASK_INDEX & fh; in s390_pci_find_dev_by_fh() 277 if (pbdev && pbdev->fh == fh) { in s390_pci_find_dev_by_fh() 291 sei_cont->fh = fh; in s390_pci_generate_event() 1008 uint32_t idx, fh; in s390_pci_interp_plug() local 1020 pbdev->fh = fh & ~FH_MASK_ENABLE; in s390_pci_interp_plug() 1023 idx = pbdev->fh & FH_MASK_INDEX; in s390_pci_interp_plug() 1129 pbdev->fh |= FH_SHM_EMUL; in s390_pcihost_plug() 1150 pbdev->fh = pbdev->idx; in s390_pcihost_plug() [all …]
|
H A D | trace-events | 33 …nt32_t vid, uint32_t did, uint32_t fid, uint32_t fh) "g_l2 %d vendor id 0x%x device id 0x%x fid 0x… 37 s390_pci_nodev(const char *cmd, uint32_t fh) "%s no pci dev fh 0x%x" 38 s390_pci_invalid(const char *cmd, uint32_t fh) "%s invalid space fh 0x%x"
|
H A D | s390-pci-vfio.c | 145 uint32_t *fh) in get_host_fh() argument 161 *fh = cap->fh; in get_host_fh() 309 bool s390_pci_get_host_fh(S390PCIBusDevice *pbdev, uint32_t *fh) in s390_pci_get_host_fh() argument 313 assert(fh); in s390_pci_get_host_fh() 320 return get_host_fh(pbdev, info, fh); in s390_pci_get_host_fh()
|
/qemu/include/standard-headers/linux/ |
H A D | fuse.h | 685 uint64_t fh; member 700 uint64_t fh; member 744 uint64_t fh; member 773 uint64_t fh; member 779 uint64_t fh; member 786 uint64_t fh; member 793 uint64_t fh; member 805 uint64_t fh; member 826 uint64_t fh; member 851 uint64_t fh; member [all …]
|
/qemu/include/hw/s390x/ |
H A D | s390-pci-bus.h | 208 uint32_t fh; member 217 uint32_t fh; member 228 uint32_t fh; member 340 uint32_t fh; member 393 void s390_pci_generate_error_event(uint16_t pec, uint32_t fh, uint32_t fid, 398 S390PCIBusDevice *s390_pci_find_dev_by_fh(S390pciState *s, uint32_t fh);
|
H A D | s390-pci-clp.h | 56 uint32_t fh; member 113 uint32_t fh; /* function handle */ member 179 uint32_t fh; /* function handle */ member 191 uint32_t fh; /* function handle */ member
|
H A D | s390-pci-vfio.h | 23 bool s390_pci_get_host_fh(S390PCIBusDevice *pbdev, uint32_t *fh); 37 static inline bool s390_pci_get_host_fh(S390PCIBusDevice *pbdev, uint32_t *fh) in s390_pci_get_host_fh() argument
|
/qemu/qga/ |
H A D | commands-win32.c | 88 HANDLE fh; member 156 gfh->fh = fh; in guest_file_handle_add() 199 HANDLE fh; in qmp_guest_file_open() local 242 CloseHandle(fh); in qmp_guest_file_open() 351 HANDLE fh = gfh->fh; in guest_file_read_unsafe() local 384 HANDLE fh; in qmp_guest_file_write() local 389 fh = gfh->fh; in qmp_guest_file_write() 423 HANDLE fh; in qmp_guest_file_seek() local 442 fh = gfh->fh; in qmp_guest_file_seek() 455 HANDLE fh; in qmp_guest_file_flush() local [all …]
|
H A D | commands-posix.c | 331 FILE *fh; member 354 gfh->fh = fh; in guest_file_handle_add() 501 FILE *fh; in qmp_guest_file_open() local 559 FILE *fh = gfh->fh; in guest_file_read_unsafe() local 587 clearerr(fh); in guest_file_read_unsafe() 601 FILE *fh; in qmp_guest_file_write() local 607 fh = gfh->fh; in qmp_guest_file_write() 654 FILE *fh; in qmp_guest_file_seek() local 670 fh = gfh->fh; in qmp_guest_file_seek() 692 FILE *fh; in qmp_guest_file_flush() local [all …]
|
/qemu/tests/migration/guestperf/ |
H A D | plot.py | 590 def generate_html(self, fh): argument 604 """ % self._generate_style(), file=fh) 605 print(self._generate_chart(), file=fh) 610 """, file=fh) 611 print(self._generate_report(), file=fh) 616 """, file=fh) 622 with open(filename, "w") as fh: 623 self.generate_html(fh)
|
H A D | report.py | 97 with open(filename, "r") as fh: 98 return cls.deserialize(json.load(fh))
|
H A D | shell.py | 191 with open(args.output, "w") as fh: 192 print(report.to_json(), file=fh) 239 with open(filename, "w") as fh: 240 print(report.to_json(), file=fh)
|
H A D | engine.py | 59 with open(statfile, "r") as fh: 60 stat = fh.readline() 72 with open(statfile, "r") as fh: 73 stat = fh.readline()
|
/qemu/python/qemu/utils/ |
H A D | qom_fuse.py | 132 def read(self, path: str, size: int, offset: int, fh: IO[bytes]) -> bytes: 159 fh: Optional[IO[bytes]] = None) -> Mapping[str, object]: 203 def readdir(self, path: str, fh: IO[bytes]) -> Iterator[str]:
|
/qemu/scripts/ |
H A D | tracetool.py | 128 with open(arg, "r") as fh: 129 events.extend(tracetool.read_events(fh, arg))
|
/qemu/tests/qtest/ |
H A D | ide-test.c | 954 FILE *fh; in cdrom_pio_impl() local 967 fh = fopen(tmp_path[0], "wb+"); in cdrom_pio_impl() 968 ret = fwrite(pattern, ATAPI_BLOCK_SIZE, patt_blocks, fh); in cdrom_pio_impl() 970 fclose(fh); in cdrom_pio_impl() 1056 FILE *fh; in test_cdrom_dma() local 1068 fh = fopen(tmp_path[0], "wb+"); in test_cdrom_dma() 1069 ret = fwrite(pattern, ATAPI_BLOCK_SIZE, 16, fh); in test_cdrom_dma() 1071 fclose(fh); in test_cdrom_dma()
|
/qemu/linux-headers/linux/ |
H A D | vfio_zdev.h | 33 __u32 fh; /* PCI function handle */ member
|
/qemu/python/qemu/qmp/ |
H A D | qmp_shell.py | 338 def _print(self, qmp_message: object, fh: IO[str] = sys.stdout) -> None: 342 print(str(jsobj), file=fh) 367 self._print(cmd, fh=self.logfile)
|
/qemu/python/ |
H A D | setup.cfg | 155 fh, # fh = open(...)
|
/qemu/tests/qemu-iotests/ |
H A D | 149 | 135 with open(pwfile, "w") as fh: 136 fh.write(config.passwords[slot])
|
/qemu/tests/vm/ |
H A D | basevm.py | 513 with open(json_path, "r") as fh: 514 return json.load(fh)["pkgs"]
|