Home
last modified time | relevance | path

Searched +full:full +full:- +full:length (Results 1 – 25 of 595) sorted by relevance

12345678910>>...24

/openbmc/openbmc-build-scripts/config/
H A D.gitlint4 # Rules and sections can be referenced by their full name or by id. For example
5 # section "[body-max-line-length]" could also be written as "[B1]". Full section names are
9 # Ignore body-max-line-length and body-hard-tab and rely on the custom
10 # OpenBMC-specific rule that covers both of these rules.
11 ignore=body-max-line-length,body-hard-tab
13 # verbosity should be a value between 1 and 3, the commandline -v flags take precedence over this
17 # ignore-merge-commits=true
18 # ignore-revert-commits=true
19 # ignore-fixup-commits=true
20 # ignore-squash-commits=true
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D12547 # Growing a file with a backing file (without preallocation=full or
52 if [ -z "$TEST_IMG_FILE" ]; then
59 # $ rm -f foo
62 # $ fallocate -o $((block_size / 2)) -l $block_size foo
67 # rounds up the length to the block size, but independently. As
82 fallocate -o 65535 -l 2 "$TEST_IMG_FILE"
86 # (Thus, the on-disk size should not increase)
90 if [ $len1 -gt $len0 ]; then
94 rm -f "$TEST_IMG_FILE"
107 # (1) We resize it to 2 MB - 32 kB. (+ 16 kB)
[all …]
H A D043.out5 qemu-img: Backing file 'TEST_DIR/t.IMGFMT' creates an infinite loop.
10 qemu-img: Backing file 'TEST_DIR/t.IMGFMT' creates an infinite loop.
17 qemu-img: Backing file 'TEST_DIR/t.IMGFMT.2.base' creates an infinite loop.
22 == finite chain of length 3 (human) ==
40 == finite chain of length 3 (json) ==
43 "virtual-size": 134217728,
45 "cluster-size": 65536,
47 "full-backing-filename": "TEST_DIR/t.IMGFMT.2.base",
48 "backing-filename": "TEST_DIR/t.IMGFMT.2.base",
49 "dirty-flag": false
[all …]
H A D02558 length
60 length
68 $QEMU_IO -c "write -z $small_size $((big_size - small_size))" "$TEST_IMG" > /dev/null
73 $QEMU_IO -c "length" "$TEST_IMG"
78 io_pattern read $small_size $(($big_size - $small_size)) 0 1 0
82 rm -f $seq.full
H A D3124 # Test drive-mirror with quorum
8 # is that drive-mirror will try the efficient representation of zeroes
60 TEST_IMG="$TEST_IMG.0" _make_test_img -o cluster_size=64k 10M
61 TEST_IMG="$TEST_IMG.1" _make_test_img -o cluster_size=64k 10M
62 TEST_IMG="$TEST_IMG.2" _make_test_img -o cluster_size=64k 10M
63 TEST_IMG="$TEST_IMG.3" _make_test_img -o cluster_size=64k 10M
65 quorum="driver=raw,file.driver=quorum,file.vote-threshold=2"
74 echo '### Output of qemu-img map (empty quorum)'
76 $QEMU_IMG map --image-opts $quorum | _filter_qemu_img_map
82 # output of qemu-img map on the resulting image.
[all …]
H A D10651 for create_mode in off falloc full; do
52 for growth_mode in off falloc full; do
54 echo "--- create_mode=$create_mode growth_mode=$growth_mode ---"
59 _make_test_img -o "preallocation=$create_mode,extent_size_hint=0" ${CREATION_SIZE}K
60 $QEMU_IMG resize -f "$IMGFMT" --preallocation=$growth_mode "$TEST_IMG" +${GROWTH_SIZE}K
70 actual_size=$($QEMU_IMG info -f "$IMGFMT" "$TEST_IMG" | grep 'disk size' | head -n 1)
71 actual_size=$(echo "$actual_size" | sed -e 's/^[^0-9]*\([0-9]\+\).*$/\1/')
76 if [ $actual_size -lt $expected_size ]; then
87 for growth_mode in falloc full off; do
89 echo "--- growth_mode=$growth_mode ---"
[all …]
/openbmc/qemu/docs/system/arm/
H A Dcpu-features.rst10 Cortex-A15 and the Cortex-A57, which respectively implement Arm
11 architecture reference manuals ARMv7-A and ARMv8-A, may both optionally
12 implement PMUs. For example, if a user wants to use a Cortex-A15 without
13 a PMU, then the ``-cpu`` parameter should contain ``pmu=off`` on the QEMU
14 command line, i.e. ``-cpu cortex-a15,pmu=off``.
18 that implement the ARMv8-A architecture reference manual may optionally
20 ``aarch64`` CPU property. A CPU type such as the Cortex-A15, which does
21 not implement ARMv8-A, will not have the ``aarch64`` CPU property.
30 prefixed with "kvm-" and are described in "KVM VCPU Features".
36 CPU type is possible with the ``query-cpu-model-expansion`` QMP command.
[all …]
/openbmc/qemu/tests/qemu-iotests/tests/
H A Diov-padding47 # - Offset 4096, length 1023 * 512 + 512: Fully aligned to 4k
48 # - Offset 4096, length 1023 * 512 + 4096: Head is aligned, tail is not
49 # - Offset 512, length 1023 * 512 + 512: Neither head nor tail are aligned
50 # - Offset 512, length 1023 * 512 + 4096: Tail is aligned, head is not
53 length=$((1023 * 512 + $last_element_length))
56 …echo "== performing 1024-element vectored requests to image (offset: $start_offset; length: $lengt…
59 $QEMU_IO -c 'write -P 1 0 1M' "$TEST_IMG" | _filter_qemu_io
61 # 1023 512-byte buffers, and then one with length $last_element_length
62 cmd_params="-P 2 $start_offset $(yes 512 | head -n 1023 | tr '\n' ' ') $last_element_length"
64 -c "writev $cmd_params" \
[all …]
/openbmc/ipmitool/lib/
H A Dipmi_sdr.c2 * Copyright (c) 2012 Hewlett-Packard Development Company, L.P.
25 * PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED.
72 /* ipmi_sdr_get_unit_string - return units for base/modifier
86 * By default, if units are supposed to be percent, we will pre-pend in ipmi_sdr_get_unit_string()
117 /* sdr_sensor_has_analog_reading - Determine if sensor has an analog reading
125 if (!sr->full) { in sdr_sensor_has_analog_reading()
130 * Only Full Threshold sensors are identified as providing in sdr_sensor_has_analog_reading()
135 * readings into some of their non-Threshold Sensor. There is in sdr_sensor_has_analog_reading()
137 * an Analog reading is available in a Non-Threshod sensor and in sdr_sensor_has_analog_reading()
140 * non-Threshold. To be safe, we provide this extension for in sdr_sensor_has_analog_reading()
[all …]
/openbmc/qemu/crypto/
H A Dxts.c4 * Copyright (c) 2015-2016 Red Hat, Inc.
39 D->u[0] = S1->u[0] ^ S2->u[0]; in xts_uint128_xor()
40 D->u[1] = S1->u[1] ^ S2->u[1]; in xts_uint128_xor()
45 cpu_to_le64s(&v->u[0]); in xts_uint128_cpu_to_les()
46 cpu_to_le64s(&v->u[1]); in xts_uint128_cpu_to_les()
51 le64_to_cpus(&v->u[0]); in xts_uint128_le_to_cpus()
52 le64_to_cpus(&v->u[1]); in xts_uint128_le_to_cpus()
61 tt = I->u[0] >> 63; in xts_mult_x()
62 I->u[0] <<= 1; in xts_mult_x()
64 if (I->u[1] >> 63) { in xts_mult_x()
[all …]
/openbmc/u-boot/lib/
H A Dlz4.c1 // SPDX-License-Identifier: BSD-2-Clause
3 LZ4 - Fast LZ compression algorithm
4 Copyright (C) 2011-2015, Yann Collet.
7 - LZ4 source repository : https://github.com/Cyan4973/lz4
8 - LZ4 public forum : https://groups.google.com/forum/#!forum/lz4c
41 #define MAX_DISTANCE ((1 << MAXD_LOG) - 1)
44 #define ML_MASK ((1U<<ML_BITS)-1)
45 #define RUN_BITS (8-ML_BITS)
46 #define RUN_MASK ((1U<<RUN_BITS)-1)
54 typedef enum { full = 0, partial = 1 } earlyEnd_directive; enumerator
[all …]
/openbmc/u-boot/include/
H A Dmembuff.h1 /* SPDX-License-Identifier: GPL-2.0+ */
13 * @struct membuff: holds the state of a membuff - it is used for input and
14 * output buffers. The buffer extends from @start to (@start + @size - 1).
17 * and full when adding another character would make @head == @tail. We
19 * to determine whether (when @head == @tail) the membuff is empty or full.
34 char *end; /** the end of the buffer (start + length) */
40 * membuff_purge() - reset a membuff to the empty state
49 * membuff_putraw() - find out where bytes can be written
70 * membuff_getraw() - find and return a pointer to available bytes
88 * membuff_putbyte() - Writes a byte to a membuff
[all …]
H A Dos.h1 /* SPDX-License-Identifier: GPL-2.0+ */
25 * \return number of bytes read, or -1 on error
35 * \return number of bytes written, or -1 on error
59 * \return file descriptor, or -1 on error
74 * \return 0 on success, -1 on error
92 * @param exit_code exit code for U-Boot
100 * @param allow_sigs Allow Ctrl-C, Ctrl-Z to generate signals rather than
101 * be handled by U-Boot
116 * \param length Number of bytes to be allocated
117 * \return Pointer to length bytes or NULL on error
[all …]
/openbmc/libmctp/docs/bindings/
H A Dvendor-ibm-astlpc.md18 …<https://www.intel.com/content/dam/www/program/design/us/en/documents/low-pin-count-interface-spec…
29 MCTP-compliant endpoints must accept.
31 ### IBF: Input Buffer Full
33 A hardware-defined flag bit in a KCS device's Status Register (STR). The IBF
42 ### KCS: Keyboard-Controller-Style
48 systems. This interface is available built-in to several commercially available
49 microcontrollers. Data is transferred across the KCS interface using a per-byte
68 values larger than the BTU may improve throughput for data-intensive transfers.
70 ### OBF: Output Buffer Full
72 A hardware-defined flag bit in a KCS device's Status Register (STR). The OBF
[all …]
/openbmc/u-boot/drivers/i2c/
H A Dlpc32xx_i2c.c1 // SPDX-License-Identifier: GPL-2.0+
5 * (C) Copyright 2014-2015 DENX Software Engineering GmbH
6 * Written-by: Albert ARIBAUD - 3ADEV <albert.aribaud@3adev.fr>
59 return -EINVAL; in __i2c_set_bus_speed()
65 return -EINVAL; in __i2c_set_bus_speed()
69 return -EINVAL; in __i2c_set_bus_speed()
72 writel(half_period, &base->clk_hi); in __i2c_set_bus_speed()
73 writel(half_period, &base->clk_lo); in __i2c_set_bus_speed()
81 /* soft reset (auto-clears) */ in __i2c_init()
82 writel(LPC32XX_I2C_SOFT_RESET, &base->ctrl); in __i2c_init()
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Inventory/Item/
H A DPCIeSlot.interface.yaml6 - name: Generation
12 - name: Lanes
17 - name: SlotType
23 - name: HotPluggable
29 - name: Generations
33 - name: "Gen1"
37 - name: "Gen2"
41 - name: "Gen3"
45 - name: "Gen4"
49 - name: "Gen5"
[all …]
/openbmc/qemu/include/qemu/
H A Dthrottle.h4 * Copyright (C) Nodalink, EURL. 2013-2014
5 * Copyright (C) Igalia, S.L. 2015-2016
28 #include "qapi/qapi-types-block-core.h"
50 * - avg: the desired I/O limits in units per second.
51 * - max: the limit during bursts, also in units per second.
52 * - burst_length: the maximum length of the burst period, in seconds.
56 * - The bucket level (number of performed I/O units) is kept in
59 * - The size of the bucket is bkt.max * bkt.burst_length. Once the
60 * bucket is full no more I/O is performed until the bucket leaks
63 * - The bkt.avg rate does not apply until the bucket is full,
[all …]
/openbmc/qemu/include/exec/
H A Dcputlb.h23 #include "exec/cpu-common.h"
34 void tlb_reset_dirty(CPUState *cpu, uintptr_t start, uintptr_t length);
35 void tlb_reset_dirty_range_all(ram_addr_t start, ram_addr_t length);
43 * @full: the details of the tlb entry
46 * @full must be filled, except for xlat_section, and constitute
54 * single TARGET_PAGE_SIZE region is mapped; @full->lg_page_size is only
58 CPUTLBEntryFull *full);
215 * @len: length of range to be flushed
/openbmc/libcper/tests/
H A Dir-tests.c2 * Defines tests for validating CPER-JSON IR output from the cper-parse library.
7 #include "test-utils.h"
12 #include <libcper/cper-parse.h>
13 #include <libcper/generator/cper-generate.h>
14 #include <libcper/generator/sections/gen-section.h>
15 #include <libcper/json-schema.h>
16 #include <libcper/sections/cper-section.h>
40 free(info->cper_out); in free_file_info()
41 free(info->json_out); in free_file_info()
59 info->cper_out = (char *)malloc(size); in file_info_init()
[all …]
/openbmc/qemu/docs/
H A Dthrottle.txt7 later. See the COPYING file in the top-level directory.
10 ------------
21 ----------------------------------
27 I/O limits can be set using the throttling.* parameters of -drive, or
31 |-----------------------+-----------------------|
32 | -drive | block_set_io_throttle |
33 |-----------------------+-----------------------|
34 | throttling.iops-total | iops |
35 | throttling.iops-read | iops_rd |
36 | throttling.iops-write | iops_wr |
[all …]
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/
H A Dnet_handler.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
70 std::vector<std::uint8_t> NetDataHandler::copyFrom(std::uint32_t length) in copyFrom() argument
112 std::vector<std::uint8_t> data(length); in copyFrom()
118 ret = read(*connFd, data.data() + bytesRead, length - bytesRead); in copyFrom()
128 } while (ret > 0 && bytesRead < length); in copyFrom()
130 if (bytesRead != length) in copyFrom()
133 "Couldn't read full expected amount. Wanted %u but got %u\n", in copyFrom()
134 length, bytesRead); in copyFrom()
/openbmc/openbmc/poky/meta/recipes-devtools/python/python3-hypothesis/
H A Dtest_rle.py4 # Most of this work is copyright (C) 2013-2021 David R. MacIver
6 # CONTRIBUTING.rst for a full list of people who may hold copyright, and
16 # SPDX-License-Identifier: MPL-2.0
18 """This example demonstrates testing a run length encoding scheme. That is, we
36 """Encode a sequence as a new run-length encoded sequence."""
45 # always append a new run of length 1. Note which tests fail.
48 == result[-1][0]
50 # and result[-1][-1] < 2
52 result[-1][1] += 1
89 that this does not increase the length of our encoding, because they
[all …]
/openbmc/webui-vue/src/views/Operations/Kvm/
H A DKvmConsole.vue3 <div ref="toolbar" class="kvm-toolbar">
4 <b-row class="d-flex">
5 <b-col class="d-flex flex-column justify-content-end" cols="4">
6 <dl class="mb-2" sm="2" md="2">
7 <dt class="d-inline font-weight-bold mr-1">
10 <dd class="d-inline">
11 <status-icon :status="serverStatusIcon" />
12 <span class="d-none d-md-inline"> {{ serverStatus }}</span>
15 </b-col>
17 <b-col class="d-flex justify-content-end pr-1">
[all …]
/openbmc/u-boot/drivers/net/pfe_eth/
H A Dpfe_driver.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2015-2016 Freescale Semiconductor, Inc.
16 * - If the descriptor has a valid data/pkt, then get the data pointer
17 * - check for the input rx phy number
18 * - increment the rx data pointer by pkt_head_room_size
19 * - decrement the data length by pkt_head_room_size
20 * - handover the packet to caller.
22 * @param[out] pkt_ptr - Pointer to store rx packet
23 * @param[out] phy_port - Pointer to store recv phy port
25 * @return -1 if no packet, else return length of packet.
[all …]
/openbmc/u-boot/drivers/net/
H A Drtl8139.c2 * rtl8139.c : U-Boot driver for the RealTek RTL8139
10 /* rtl8139.c - etherboot driver for the Realtek 8139 chipset
13 by Rainer Bawidamann (Rainer.Bawidamann@informatik.uni-ulm.de) 1999
19 - removed support for interrupts, switching to polling mode (yuck!)
20 - removed support for the 8129 chip (external MII)
33 Following email from Hyun-Joon Cha, added a disable routine, otherwise
36 4 Feb 2000 espenlaub@informatik.uni-ulm.de (Klaus Espenlaub)
40 0x98000-0x9ffff range. This is a bit of a hack, but currently the only
44 which reserves the ranges 0x00000-0x10000 and 0x98000-0xA0000. My
51 hunting session. It took me about a week full time work - poking around
[all …]

12345678910>>...24