Searched +full:fixed +full:- +full:length (Results 1 – 25 of 110) sorted by relevance
12345
1 # -*- mode: python -*-4 # Copyright (C) 2015-2019 Zoltán Kővágó <DirtY.iCE.hu@gmail.com>7 # See the COPYING file in the top-level directory.19 # @mixing-engine: use QEMU's mixing engine to mix all streams inside21 # backend. When set to off, fixed-settings must be also off24 # @fixed-settings: use fixed settings for host input/output. When28 # @frequency: frequency to use when using fixed settings (default31 # @channels: number of channels when using fixed settings (default 2)35 # @format: sample format to use when using fixed settings (default38 # @buffer-length: the buffer length in microseconds[all …]
1 # -*- Mode: Python -*-20 # @vm-state-size: size of the VM state22 # @date-sec: UTC date of the snapshot in seconds24 # @date-nsec: fractional part in nano seconds to be used with date-sec26 # @vm-clock-sec: VM clock relative to boot in seconds28 # @vm-clock-nsec: fractional part in nano seconds to be used with29 # vm-clock-sec32 # record/replay is enabled. Used for "time-traveling" to match34 # counter may be obtained through @query-replay command40 'data': { 'id': 'str', 'name': 'str', 'vm-state-size': 'int',[all …]
24 #include "io/channel-socket.h"44 * once; must be large enough to allow a MULTI_CONN-aware client like45 * nbdcopy to create its typical number of 8-16 sockets.49 /* Handshake phase structs - this struct is passed on the wire */54 uint32_t length; member61 uint32_t length; member65 NBDOptionReply h; /* h.type = NBD_REP_META_CONTEXT, h.length > 4 */89 uint64_t len; /* Effect length; 32 bit limit without extended headers */108 uint32_t length; /* length of payload */ member117 uint64_t length; /* length of payload */ member[all …]
2 * Block driver for Hyper-V VHDX Images11 * https://www.microsoft.com/en-us/download/details.aspx?id=3475014 * See the COPYING.LIB file in the top-level directory.22 #include "system/block-backend.h"27 #include "qemu/error-report.h"33 #include "qapi/qobject-input-visitor.h"34 #include "qapi/qapi-visit-block-core.h"51 * guids in a MS-specific GUID format. */54 /* ------- Known Region Table GUIDs ---------------------- */69 /* ------- Known Metadata Entry GUIDs ---------------------- */[all …]
2 * Block driver for Hyper-V VHDX Images11 * https://www.microsoft.com/en-us/download/details.aspx?id=3475014 * See the COPYING.LIB file in the top-level directory.32 * |----------|---------------|------------|--------------|--------------------|47 * A note on the use of MS-GUID fields. For more details on the GUID,51 * bytes are data1-data4. It makes no mention of what algorithm should be used58 /* ---- HEADER SECTION STRUCTURES ---- */66 uint16_t creator[256]; /* optional; utf-16 string to identify72 /* the guid is a 16 byte unique ID - the definition for this used by73 * Microsoft is not just 16 bytes though - it is a structure that is defined,[all …]
43 return -1; in scsi_cdb_xfer()49 uint8_t *buf = cmd->buf; in scsi_cmd_lba()65 lba = -1; in scsi_cmd_lba()90 cdb_len = -1; in scsi_cdb_length()205 /* Illegal request, Parameter list length error */333 * Convert between fixed and descriptor sense buffers336 uint8_t *buf, int len, bool fixed) in scsi_convert_sense() argument342 return scsi_build_sense_buf(buf, len, SENSE_CODE(NO_SENSE), fixed); in scsi_convert_sense()346 if (fixed == fixed_in) { in scsi_convert_sense()351 return scsi_build_sense_buf(buf, len, sense, fixed); in scsi_convert_sense()[all …]
10 * option) any later version. See the COPYING file in the top-level directory.18 #include "target/s390x/cpu-qom.h"83 * - some of the embedded structures below the SCCB can appear multiple times84 * at different locations, so there is no fixed offset85 * - we work on a private copy of the SCCB, since there are several length93 uint16_t length; member99 #define SCCB_DATA_LEN (SCCB_SIZE - sizeof(SCCBHeader))118 uint8_t _reserved1[15 - 11]; /* 11-14 */119 uint8_t stsi_parm; /* 15-15 */120 uint16_t entries_cpu; /* 16-17 */[all …]
6 # file where it should appear only once). You can also use "--disable=all" to8 # you want to run only the similarities checker, you can use "--disable=all9 # --enable=similarities". If you want to run only the classes checker, but have10 # no Warning level messages displayed, use "--disable=all --enable=classes11 # --disable=W".12 disable=invalid-name,13 no-else-return,14 too-few-public-methods,15 too-many-arguments,16 too-many-positional-arguments,[all …]
35 rm -f "$TEST_IMG".v{2,3}.orig36 rm -f "$TEST_DIR"/sn{0,1,2}{,-pre,-extra,-post}44 # This tests qcow2-specific low-level functionality89 if [ $extra_len -ge 8 ]; then92 if [ $extra_len -ge 16 ]; then95 if [ $extra_len -ge 24 ]; then98 if [ $extra_len -gt 24 ]; then100 "$(peek_file_raw "$1" $((extra_ofs + 16)) $((extra_len - 16)) \101 | tr -d '\0')"121 while [ $cluster -lt $ecluster ]; do[all …]
4 * Copyright (c) 2013-15 Stacey D. Son27 * Length for the fixed length types.28 * 0 means variable length for strings and structures30 * Note: Not all types appear to be used in-tree.64 * Limit the amount of available memory to be most of the 32-bit address68 static const abi_ulong guest_max_mem = UINT32_MAX - 0x100c000 + 1;106 * placeholder until bsd-user downstream upstreams this with its thread support147 * the kernel and pass it to us. We do the down conversion and adjust the length148 * so the caller knows what to write as the returned length into the target when166 * this way. *holdlen has been set by the kernel to the host's length. in h2g_old_sysctl()[all …]
30 mpi->data = g_memdup2(i->data, i->length);31 mpi->len = i->length;38 i->type != ASN1_INTEGER) {73 !GetMPI(&i, &rsa->n) ||74 !GetMPI(&i, &rsa->e) ||75 !GetMPI(&i, &rsa->d) ||76 !GetMPI(&i, &rsa->p) ||77 !GetMPI(&i, &rsa->q) ||78 !GetMPI(&i, &rsa->dp) ||79 !GetMPI(&i, &rsa->dq) ||[all …]
4 * Copyright (c) 2011-2013 AdaCore41 {0x05C, "FIFO_RX_ALARM_SHUTOFF", "FIFO receive alarm shut-off threshold register", ACC_RW, 0x00000…44 {0x09C, "FIFO_TX_STARVE_SHUTOFF", "FIFO transmit starve shut-off register", ACC_RW, 0x00000…53 {0x140, "TR03WT", "TxBD Rings 0-3 round-robin weightings", ACC_RW, 0x00000000},54 {0x144, "TR47WT", "TxBD Rings 4-7 round-robin weightings", ACC_RW, 0x00000000},90 {0x340, "MRBLR", "Maximum receive buffer length register", ACC_RW, 0x00000000},116 {0x508, "IPGIFG", "Inter-packet/inter-frame gap register", ACC_RW, 0x40605060},117 {0x50C, "HAFDUP", "Half-duplex control", ACC_RW, 0x00A1F037},118 {0x510, "MAXFRM", "Maximum frame length", ACC_RW, 0x00000600},161 {0x680, "TR64", "Transmit and receive 64-byte frame counter ", ACC_RW, 0x0000000…[all …]
1 /* Decimal 128-bit format module for the decNumber C Library.29 02110-1301, USA. */31 /* ------------------------------------------------------------------ */32 /* Decimal 128-bit format module */33 /* ------------------------------------------------------------------ */41 /* ------------------------------------------------------------------ */66 /* ------------------------------------------------------------------ */67 /* decimal128FromNumber -- convert decNumber to decimal128 */82 /* ------------------------------------------------------------------ */91 uInt targar[4]={0,0,0,0}; /* target 128-bit */ in decimal128FromNumber()[all …]
1 /* Decimal 32-bit format module for the decNumber C Library.29 02110-1301, USA. */31 /* ------------------------------------------------------------------ */32 /* Decimal 32-bit format module */33 /* ------------------------------------------------------------------ */41 /* ------------------------------------------------------------------ */66 /* ------------------------------------------------------------------ */67 /* decimal32FromNumber -- convert decNumber to decimal32 */82 /* ------------------------------------------------------------------ */91 uInt targ=0; /* target 32-bit */ in decimal32FromNumber()[all …]
14 * See the COPYING file in the top-level directory.45 * returns total length of data attached to rx context58 * @iov: received data scatter-gather list201 * attach scatter-gather data to rx packet204 * @iov: received data scatter-gather list216 * attach scatter-gather data to rx packet219 * @iov: received data scatter-gather list237 * @len: data length335 * @ret: true if checksum was fixed, false in case packet is
29 02110-1301, USA. */31 /* ------------------------------------------------------------------ */33 /* ------------------------------------------------------------------ */37 /* status -- [any bits may be cleared, but not set, by user] */38 /* round -- must be one of the enumerated rounding modes */40 /* The following variables are implied for fixed size formats (i.e., */44 /* clamp -- must be either 0 or 1 */45 /* digits -- must be in the range 1 through 999999999 */46 /* emax -- must be in the range 0 through 999999999 */47 /* emin -- must be in the range 0 through -999999999 */[all …]
24 #include "block/block_int-common.h"29 #include "qapi/qapi-commands-block.h"30 #include "qemu/main-loop.h"31 #include "system/block-backend.h"86 aio_set_fd_handler(exp->common.ctx, in fuse_export_drained_begin()87 fuse_session_fd(exp->fuse_session), in fuse_export_drained_begin()89 exp->fd_handler_set_up = false; in fuse_export_drained_begin()97 exp->common.ctx = blk_get_aio_context(exp->common.blk); in fuse_export_drained_end()99 aio_set_fd_handler(exp->common.ctx, in fuse_export_drained_end()100 fuse_session_fd(exp->fuse_session), in fuse_export_drained_end()[all …]
8 * See the COPYING file in the top-level directory.12 #include "libqtest-single.h"15 #include "libqos/libqos-pc.h"16 #include "libqos/libqos-spapr.h"18 #include "libqos/virtio-pci.h"19 #include "standard-headers/linux/virtio_ids.h"20 #include "standard-headers/linux/virtio_pci.h"21 #include "standard-headers/linux/virtio_scsi.h"22 #include "libqos/virtio-scsi.h"43 for (i = 0; i < vs->num_queues + 2; i++) { in qvirtio_scsi_pci_free()[all …]
... to %lx busfreq immr_base bootflags intfreq addressing = 36-bit bad length %d < %d ## ...
31 #include "qemu/help-texts.h"32 #include "qemu-main.h"36 #include "ui/kbd-state.h"39 #include "system/runstate-action.h"40 #include "system/cpu-throttle.h"42 #include "qapi/qapi-commands-block.h"43 #include "qapi/qapi-commands-machine.h"44 #include "qapi/qapi-commands-misc.h"46 #include "qemu-version.h"48 #include "qemu/main-loop.h"[all …]
3 * Copyright (c) 2001-2013 Tensilica Inc.41 * library contains most of the ISA-specific information for a48 * . an instruction buffer - for holding the raw instruction bits49 * . ISA info - information about the ISA as a whole50 * . instruction formats - instruction size and slot structure51 * . opcodes - information about individual instructions52 * . operands - information about register and immediate instruction operands53 * . stateOperands - information about processor state instruction operands54 * . interfaceOperands - information about interface instruction operands55 * . register files - register file information[all …]
2 * QEMU KVM support -- ARM specific functions.7 * See the COPYING file in the top-level directory.15 #include "target/arm/cpu-qom.h"31 * @devid should be the ID of the device as defined by the arm-vgic device52 * Note that we do not stop early on failure -- we will attempt68 * Note that we do not stop early on failure -- we will attempt109 * kernel (as would be used for '-cpu host'), for purposes of probing it131 * the bits corresponding to their length in quadwords minus one132 * (vq - 1) up to ARM_MAX_VQ. Return the resulting map.150 * are the CPU properties with "kvm-" prefixed names.[all …]
2 * QEMU Hyper-V VMBus4 * Copyright (c) 2017-2018 Virtuozzo International GmbH.7 * See the COPYING file in the top-level directory.15 #include "hw/qdev-core.h"17 #include "hw/hyperv/vmbus-proto.h"21 #define TYPE_VMBUS_DEVICE "vmbus-dev"30 * Object wrapping a GPADL -- GPA Descriptor List -- an array of guest physical35 * VMBus channel -- a pair of ring buffers for either direction, placed within50 QemuUUID instanceid; /* Fixed UUID for singleton devices */64 * Device-specific actions to complete the otherwise successful process of[all …]
3 #include "qemu/error-report.h"6 #include "qemu/hw-version.h"7 #include "hw/qdev-properties.h"9 #include "migration/qemu-file-types.h"12 #include "system/block-backend.h"36 QTAILQ_FOREACH_RCU(kid, &bus->qbus.children, sibling) { in do_scsi_device_find()37 DeviceState *qdev = kid->child; in do_scsi_device_find()40 if (dev->channel == channel && dev->id == id) { in do_scsi_device_find()41 if (dev->lun == lun) { in do_scsi_device_find()59 * main thread hot-plugging the device. in do_scsi_device_find()[all …]
22 #include "hw/acpi/bios-linker-loader.h"30 * - allocate memory chunks and initialize them from QEMU FW CFG files31 * - link allocated chunks by storing pointer to one chunk into another32 * - calculate ACPI checksum of part of the chunk and store into same chunk40 * COMMAND_ALLOCATE - allocate a table from @alloc.file54 * COMMAND_ADD_POINTER - patch the table (originating from67 * COMMAND_ADD_CHECKSUM - calculate checksum of the range specified by70 * Checksum simply sums -X for each byte X in the range71 * using 8-bit math.77 uint32_t length; member[all …]