Home
last modified time | relevance | path

Searched +full:write +full:- +full:data (Results 1 – 25 of 1114) sorted by relevance

12345678910>>...45

/openbmc/linux/Documentation/driver-api/md/
H A Draid5-cache.rst5 Raid 4/5/6 could include an extra disk for data cache besides normal RAID
7 caches data to the RAID disks. The cache can be in write-through (supported
8 since 4.4) or write-back mode (supported since 4.10). mdadm (supported since
9 3.4) has a new option '--write-journal' to create array with cache. Please
11 in write-through mode. A user can switch it to write-back mode by::
13 echo "write-back" > /sys/block/md0/md/journal_mode
15 And switch it back to write-through mode by::
17 echo "write-through" > /sys/block/md0/md/journal_mode
22 write-through mode
25 This mode mainly fixes the 'write hole' issue. For RAID 4/5/6 array, an unclean
[all …]
H A Draid5-ppl.rst7 may become inconsistent with data on other member disks. If the array is also
9 disks is missing. This can lead to silent data corruption when rebuilding the
10 array or using it is as degraded - data calculated from parity for array blocks
11 that have not been touched by a write request during the unclean shutdown can
12 be incorrect. Such condition is known as the RAID5 Write Hole. Because of
15 Partial parity for a write operation is the XOR of stripe data chunks not
16 modified by this write. It is just enough data needed for recovering from the
17 write hole. XORing partial parity with the modified chunks produces parity for
18 the stripe, consistent with its state before the write operation, regardless of
19 which chunk writes have completed. If one of the not modified data disks of
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dopenbmc_ffdc_utils.robot13 ${PRINT_LINE} ------------------------------------------------------------------------
17 ${HEADER_MSG} ${\n}\t\t---------------------------
18 ... ${\n}\t\t FIRST FAILURE DATA CAPTURE
19 ... ${\n}\t\t---------------------------
51 Write Data To File
52 [Documentation] Write data to the ffdc report document
53 [Arguments] ${data}= ${filepath}=${FFDC_FILE_PATH}
54 Append To File ${filepath} ${data}
58 [Documentation] Get the current time stamp data
59 ${cur_time}= Get Current Date result_format=%Y-%m-%d %H:%M:%S:%f
[all …]
/openbmc/linux/tools/perf/pmu-events/arch/arm64/
H A Drecommended.json3 "PublicDescription": "Attributable Level 1 data cache access, read",
9 "PublicDescription": "Attributable Level 1 data cache access, write",
12 "BriefDescription": "L1D cache access, write"
15 "PublicDescription": "Attributable Level 1 data cache refill, read",
21 "PublicDescription": "Attributable Level 1 data cache refill, write",
24 "BriefDescription": "L1D cache refill, write"
27 "PublicDescription": "Attributable Level 1 data cache refill, inner",
33 "PublicDescription": "Attributable Level 1 data cache refill, outer",
39 "PublicDescription": "Attributable Level 1 data cache Write-Back, victim",
42 "BriefDescription": "L1D cache Write-Back, victim"
[all …]
/openbmc/linux/tools/perf/pmu-events/arch/s390/cf_z16/
H A Dextended.json3 "Unit": "CPU-M-CF",
6 "BriefDescription": "L1D Read-only Exclusive Writes",
7 …"PublicDescription": "A directory write to the Level-1 Data cache where the line was originally in…
10 "Unit": "CPU-M-CF",
14 …anslation Lookaside Buffer 2 (TLB2) and the request was made by the Level-1 Data cache. This is a …
17 "Unit": "CPU-M-CF",
21 …s for a request made by the Level-1 Data cache. Incremented by one for every TLB2 miss in progress…
24 "Unit": "CPU-M-CF",
28 … into the Combined Region and Segment Table Entry array in the Level-2 TLB for a one-megabyte page…
31 "Unit": "CPU-M-CF",
[all …]
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/macsec/
H A Dmacsec_api.h1 /* SPDX-License-Identifier: GPL-2.0-only */
48 /*! Read the raw table data from the specified row of the Egress CTL
50 * rec - [OUT] The raw table row data will be unpacked into the fields of rec.
51 * table_index - The table row to read (max 23).
57 /*! Pack the fields of rec, and write the packed data into the
59 * rec - [IN] The bitfield values to write to the table row.
60 * table_index - The table row to write(max 23).
66 /*! Read the raw table data from the specified row of the Egress
68 * rec - [OUT] The raw table row data will be unpacked into the fields of rec.
69 * table_index - The table row to read (max 47).
[all …]
/openbmc/phosphor-power/tools/i2c/
H A Di2c_interface.hpp83 * The interface can later be re-opened by calling open().
94 /** @brief Read byte data from i2c
96 * @param[out] data - The data read from the i2c device
100 virtual void read(uint8_t& data) = 0;
102 /** @brief Read byte data from i2c
104 * @param[in] addr - The register address of the i2c device
105 * @param[out] data - The data read from the i2c device
109 virtual void read(uint8_t addr, uint8_t& data) = 0;
111 /** @brief Read word data from i2c
114 * the first byte read is the low-order byte.
[all …]
H A Di2c.hpp19 * @param[in] busId - The i2c bus ID
20 * @param[in] devAddr - The device address of the I2C device
21 * @param[in] initialState - Initial state of the I2CDevice object
22 * @param[in] maxRetries - Maximum number of times to retry an I2C operation
28 busStr("/dev/i2c-" + std::to_string(busId)) in I2CDevice()
37 static constexpr int INVALID_FD = -1;
95 * @param[in] type - The SMBus transaction type defined in linux/i2c.h
101 /** @brief Check i2c adapter write functionality
106 * @param[in] type - The SMBus transaction type defined in linux/i2c.h
112 /** @brief SMBus Block Write-Block Read Process Call using SMBus function
[all …]
/openbmc/u-boot/include/
H A Daxi.h1 /* SPDX-License-Identifier: GPL-2.0+ */
11 * enum axi_size_t - Determine size of AXI transfer
12 * @AXI_SIZE_8: AXI sransfer is 8-bit wide
13 * @AXI_SIZE_16: AXI sransfer is 16-bit wide
14 * @AXI_SIZE_32: AXI sransfer is 32-bit wide
24 * read() - Read a single value from a specified address on a AXI bus
27 * @data: Pointer to a variable that takes the data value read
29 * @size: The size of the data to be read.
31 * Return: 0 if OK, -ve on error.
33 int (*read)(struct udevice *dev, ulong address, void *data,
[all …]
H A Dvideo_osd.h1 /* SPDX-License-Identifier: GPL-2.0+ */
22 * struct video_osd_ops - driver operations for OSD uclass
24 * The OSD uclass implements support for text-oriented on-screen displays,
26 * text-based overlay over the video output of an associated display.
29 * either a generic form (by specifying a string, a driver-specific color value
31 * driver-specific form (by specifying "raw" driver-specific data to display at
43 * get_info() - Get information about a OSD instance
45 * A OSD instance may keep some internal data about itself. This
46 * function can be used to access this data.
51 * @return 0 if OK, -ve on error.
[all …]
/openbmc/linux/kernel/
H A Dsysctl.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * Added kernel/java-{interpreter,appletviewer}, 96/5/10, Mike Shaver.
11 * Added kswapd-interval, ctrl-alt-del, printk stuff, 1/8/97, Chris Horn.
85 const int sysctl_vals[] = { 0, 1, 2, 3, 4, 100, 200, 1000, 3000, INT_MAX, 65535, -1 };
106 * enum sysctl_writes_mode - supported sysctl write modes
108 * @SYSCTL_WRITES_LEGACY: each write syscall must fully contain the sysctl value
116 * sent to the write syscall. If dealing with strings respect the file
121 * These write modes control how current file position affects the behavior of
122 * updating sysctl values through the proc interface on each write.
125 SYSCTL_WRITES_LEGACY = -1,
[all …]
/openbmc/smbios-mdr/src/smbios-ipmi-blobs/test/
H A Dhandler_readwrite_unittest.cpp3 #include <blobs-ipmid/blobs.hpp>
23 std::vector<uint8_t> data = {0x1, 0x2}; in TEST_F() local
24 EXPECT_FALSE(handler.write(session, 0, data)); in TEST_F()
29 // Verify the handler checks the write flag; in TEST_F()
33 std::vector<uint8_t> data = {0x1, 0x2}; in TEST_F() local
34 EXPECT_FALSE(handler.write(session, 0, data)); in TEST_F()
40 std::vector<uint8_t> data(bytes, 0x11); in TEST_F() local
42 EXPECT_TRUE(handler.open(session, blobs::OpenFlags::write, expectedBlobId)); in TEST_F()
43 EXPECT_FALSE(handler.write(session, 0, data)); in TEST_F()
48 std::vector<uint8_t> data(handlerMaxBufferSize, 0x11); in TEST_F() local
[all …]
/openbmc/qemu/hw/misc/
H A Dtrace-events3 # allwinner-cpucfg.c
5 allwinner_cpucfg_read(uint64_t offset, uint64_t data, unsigned size) "offset 0x%" PRIx64 " data 0x%…
6 allwinner_cpucfg_write(uint64_t offset, uint64_t data, unsigned size) "offset 0x%" PRIx64 " data 0x…
8 # allwinner-h3-dramc.c
11 …lwinner_h3_dramcom_read(uint64_t offset, uint64_t data, unsigned size) "Read: offset 0x%" PRIx64 "…
12 …inner_h3_dramcom_write(uint64_t offset, uint64_t data, unsigned size) "Write: offset 0x%" PRIx64 "…
13 …lwinner_h3_dramctl_read(uint64_t offset, uint64_t data, unsigned size) "Read: offset 0x%" PRIx64 "…
14 …inner_h3_dramctl_write(uint64_t offset, uint64_t data, unsigned size) "Write: offset 0x%" PRIx64 "…
15 …lwinner_h3_dramphy_read(uint64_t offset, uint64_t data, unsigned size) "Read: offset 0x%" PRIx64 "…
16 …inner_h3_dramphy_write(uint64_t offset, uint64_t data, unsigned size) "write: offset 0x%" PRIx64 "…
[all …]
/openbmc/u-boot/test/py/
H A Dmultiplexed_log.py1 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved.
5 # Generate an HTML-formatted log file containing multiple streams of data,
6 # each represented in a well-delineated/-structured fashion.
17 """A file-like object used to write a single logical stream of data into
27 chained_file: The file-like object to which all stream data should be
39 """Dummy function so that this class is "file-like".
50 def write(self, data, implicit=False): argument
51 """Write data to the log stream.
54 data: The data to write tot he file.
[all …]
/openbmc/linux/net/sctp/
H A Dsysctl.c1 // SPDX-License-Identifier: GPL-2.0-or-later
12 * lksctp developers <linux-sctp@vger.kernel.org>
46 static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write,
48 static int proc_sctp_do_rto_min(struct ctl_table *ctl, int write,
50 static int proc_sctp_do_rto_max(struct ctl_table *ctl, int write, void *buffer,
52 static int proc_sctp_do_udp_port(struct ctl_table *ctl, int write, voi
391 proc_sctp_do_hmac_alg(struct ctl_table * ctl,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_sctp_do_hmac_alg() argument
436 proc_sctp_do_rto_min(struct ctl_table * ctl,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_sctp_do_rto_min() argument
464 proc_sctp_do_rto_max(struct ctl_table * ctl,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_sctp_do_rto_max() argument
492 proc_sctp_do_alpha_beta(struct ctl_table * ctl,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_sctp_do_alpha_beta() argument
502 proc_sctp_do_auth(struct ctl_table * ctl,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_sctp_do_auth() argument
531 proc_sctp_do_udp_port(struct ctl_table * ctl,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_sctp_do_udp_port() argument
572 proc_sctp_do_probe_interval(struct ctl_table * ctl,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_sctp_do_probe_interval() argument
[all...]
/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/
H A Dst,stm32-fmc2-ebi-props.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/memory-controllers/st,stm32-fmc2-ebi-props.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Christophe Kerello <christophe.kerello@foss.st.com>
11 - Marek Vasut <marex@denx.de>
14 st,fmc2-ebi-cs-transaction-type:
25 8: Synchronous read synchronous write PSRAM.
26 9: Synchronous read asynchronous write PSRAM.
27 10: Synchronous read synchronous write NOR.
[all …]
/openbmc/u-boot/drivers/rtc/
H A Dimxdi.c1 // SPDX-License-Identifier: GPL-2.0+
3 * (C) Copyright 2009-2012 ADVANSEE
6 * Based on the Linux rtc-imxdi.c driver, which is:
7 * Copyright 2008-2009 Freescale Semiconductor, Inc. All Rights Reserved.
21 #include <asm/arch/imx-regs.h>
35 #define DCAMR_UNSET 0xFFFFFFFF /* doomsday - 1 sec */
39 #define DSR_WBF (1 << 10) /* Write Busy Flag */
40 #define DSR_WNF (1 << 9) /* Write Next Flag */
41 #define DSR_WCF (1 << 8) /* Write Complete Flag */
42 #define DSR_WEF (1 << 7) /* Write Error Flag */
[all …]
/openbmc/linux/tools/perf/pmu-events/arch/arm64/arm/neoverse-n2-v2/
H A Dl1d_cache.json4 …ion": "Counts level 1 data cache refills caused by speculatively executed load or store operations…
8data cache accesses from any load/store operations. Atomic operations that resolve in the CPUs cac…
12write-backs of dirty data from the L1 data cache to the L2 cache. This occurs when either a dirty …
16 …"PublicDescription": "Counts cache line refills into the level 1 data cache from any memory read o…
20 …"Counts level 1 data cache accesses from any load operation. Atomic load operations that resolve i…
24data cache accesses generated by store operations. This event also counts accesses caused by a DC …
28 …nts level 1 data cache refills caused by speculatively executed load instructions where the memory…
32 …ts level 1 data cache refills caused by speculatively executed store instructions where the memory…
36 …"PublicDescription": "Counts level 1 data cache refills where the cache line data came from caches…
40 …"PublicDescription": "Counts level 1 data cache refills for which the cache line data came from ou…
[all …]
/openbmc/linux/tools/perf/pmu-events/arch/arm64/arm/neoverse-n1/
H A Dl1d_cache.json4 …ion": "Counts level 1 data cache refills caused by speculatively executed load or store operations…
8data cache accesses from any load/store operations. Atomic operations that resolve in the CPUs cac…
12write-backs of dirty data from the L1 data cache to the L2 cache. This occurs when either a dirty …
16 …Counts level 1 data cache accesses from any load operation. Atomic load operations that resolve in…
20data cache accesses generated by store operations. This event also counts accesses caused by a DC …
24 …nts level 1 data cache refills caused by speculatively executed load instructions where the memory…
28 …ts level 1 data cache refills caused by speculatively executed store instructions where the memory…
32 …"PublicDescription": "Counts level 1 data cache refills where the cache line data came from caches…
36 …"PublicDescription": "Counts level 1 data cache refills for which the cache line data came from ou…
40 …"PublicDescription": "Counts dirty cache line evictions from the level 1 data cache caused by a ne…
[all …]
/openbmc/linux/tools/perf/pmu-events/arch/s390/cf_z13/
H A Dextended.json3 "Unit": "CPU-M-CF",
6 "BriefDescription": "L1D Read-only Exclusive Writes",
7 …"PublicDescription": "A directory write to the Level-1 Data cache where the line was originally in…
10 "Unit": "CPU-M-CF",
14 …"PublicDescription": "A translation entry has been written to the Level-1 Data Translation Lookasi…
17 "Unit": "CPU-M-CF",
21 …"PublicDescription": "Level-1 Data TLB miss in progress. Incremented by one for every cycle a DTLB…
24 "Unit": "CPU-M-CF",
27 "BriefDescription": "DTLB1 One-Megabyte Page Writes",
28 …": "A translation entry has been written to the Level-1 Data Translation Lookaside Buffer for a on…
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D2444 # Test qcow2 with external data files
33 _rm_test_img "$TEST_IMG.data"
46 # External data files do not work with compat=0.10, and because we use
47 # our own external data file, we cannot let the user specify one
51 echo "=== Create and open image with external data file ==="
54 echo "With data file name in the image:"
55 _make_test_img -o "data_file=$TEST_IMG.data" 64M
58 $QEMU_IO -c "open $TEST_IMG" -c "read -P 0 0 64k" 2>&1 | _filter_qemu_io | _filter_testdir
59 $QEMU_IO -c "open -odata-file.filename=$TEST_IMG.data $TEST_IMG" -c "read -P 0 0 64k" 2>&1 | _filte…
60 $QEMU_IO -c "open -odata-file.filename=inexistent $TEST_IMG" -c "read -P 0 0 64k" 2>&1 | _filter_qe…
[all …]
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
78 # Now we write data to the quorum. All three images will read as
[all …]
/openbmc/linux/tools/perf/pmu-events/arch/s390/cf_z14/
H A Dextended.json3 "Unit": "CPU-M-CF",
6 "BriefDescription": "L1D Read-only Exclusive Writes",
7 …"PublicDescription": "A directory write to the Level-1 Data cache where the line was originally in…
10 "Unit": "CPU-M-CF",
14 …The Translation Lookaside Buffer 2 (TLB2) and the request was made by the data cache. This is a re…
17 "Unit": "CPU-M-CF",
21 …progress for a request made by the data cache. Incremented by one for every TLB2 miss in progress …
24 "Unit": "CPU-M-CF",
27 "BriefDescription": "DTLB2 One-Megabyte Page Writes",
28 … into the Combined Region and Segment Table Entry array in the Level-2 TLB for a one-megabyte page…
[all …]
/openbmc/linux/drivers/net/ethernet/intel/igc/
H A Digc_diag.c1 // SPDX-License-Identifier: GPL-2.0
35 static bool reg_pattern_test(struct igc_adapter *adapter, u64 *data, int reg, in reg_pattern_test() argument
36 u32 mask, u32 write) in reg_pattern_test() argument
38 struct igc_hw *hw = &adapter->hw; in reg_pattern_test()
46 wr32(reg, test_pattern[pat] & write); in reg_pattern_test()
48 if (val != (test_pattern[pat] & write & mask)) { in reg_pattern_test()
49 netdev_err(adapter->netdev, in reg_pattern_test()
51 reg, val, test_pattern[pat] & write & mask); in reg_pattern_test()
52 *data = reg; in reg_pattern_test()
61 static bool reg_set_and_check(struct igc_adapter *adapter, u64 *data, int reg, in reg_set_and_check() argument
[all …]
/openbmc/linux/tools/perf/pmu-events/arch/s390/cf_zec12/
H A Dextended.json3 "Unit": "CPU-M-CF",
7 …"PublicDescription": "Level-1 Data TLB miss in progress. Incremented by one for every cycle a DTLB…
10 "Unit": "CPU-M-CF",
14 …"PublicDescription": "Level-1 Instruction TLB miss in progress. Incremented by one for every cycle…
17 "Unit": "CPU-M-CF",
21 …Description": "A directory write to the Level-1 Data cache directory where the returned cache line…
24 "Unit": "CPU-M-CF",
28 …ription": "A directory write to the Level-1 Instruction cache directory where the returned cache l…
31 "Unit": "CPU-M-CF",
35 …cription": "A directory write to the Level-1 Data cache directory where the returned cache line wa…
[all …]

12345678910>>...45