Home
last modified time | relevance | path

Searched full:write (Results 1 – 25 of 987) sorted by relevance

12345678910>>...40

/Documentation/driver-api/md/
Draid5-cache.rst7 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
27 and parity don't match. The reason is that a stripe write involves several RAID
[all …]
Draid5-ppl.rst11 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
23 the array. Because of this, using write-intent bitmap and PPL together is not
26 When handling a write request PPL writes partial parity before new data and
29 stripe. It does not require a dedicated journaling drive. Write performance is
34 Unlike raid5-cache, the other solution in md for closing the write hole, PPL is
/Documentation/userspace-api/media/v4l/
Dfunc-write.rst4 .. _func-write:
7 V4L2 write()
13 v4l2-write - Write to a V4L2 device
22 .. c:function:: ssize_t write( int fd, void *buf, size_t count )
39 :c:func:`write()` writes up to ``count`` bytes to the device
42 enables them. When ``count`` is zero, :c:func:`write()` returns 0
55 variable is set appropriately. In this case the next write will start at
61 available to write the data immediately.
67 The driver does not support multiple write streams and the device is
80 The :c:func:`write()` function is not supported by this driver,
/Documentation/ABI/testing/
Dsysfs-class-bdi28 read_ahead_kb (read-write)
32 min_ratio (read-write)
35 total write-back cache that relates to its current average
39 percentage of the write-back cache to a particular device.
42 max_ratio (read-write)
45 given percentage of the write-back cache. This is useful in
47 most of the write-back cache. For example in case of an NFS
53 If set, the backing device requires that all pages comprising a write
Dconfigfs-spear-pcie-gadget24 inta write 1 to assert INTA and 0 to de-assert.
25 send_msi write MSI vector to be sent.
26 vendor_id used to write and read vendor id (hex)
27 device_id used to write and read device id (hex)
28 bar0_size used to write and read bar0_size
29 bar0_address used to write and read bar0 mapped area in hex.
30 bar0_rw_offset used to write and read offset of bar0 where bar0_data
32 bar0_data used to write and read data at bar0_rw_offset.
Dsysfs-block-zram5 The disksize file is read-write and specifies the disk size
21 The reset file is write-only and allows resetting the
29 The max_comp_streams file is read-write and specifies the
37 The comp_algorithm file is read-write and lets to show
45 The mem_used_max file is write-only and is used to reset
47 compressed data. For resetting the value, you should write
55 The mem_limit file is write-only and specifies the maximum
64 The compact file is write-only and trigger compaction for
98 The backing_dev file is read-write and set up backing
99 device for zram to write incompressible pages.
[all …]
Dsysfs-bus-coresight-devices-cti67 Description: (RW) Read or write the CTIINEN register selected by inout_sel.
73 Description: (RW) Read or write the CTIOUTEN register selected by inout_sel.
79 Description: (RW) Read or write CTIGATE register.
85 Description: (RW) Read or write ASICCTL register.
91 Description: (Write) Write the INTACK register.
104 Description: (Write) Write APPCLEAR register to deactivate channel.
110 Description: (Write) Write APPPULSE to pulse a channel active for one clock
141 Description: (Write) Attach a CTI input trigger to a CTM channel.
147 Description: (Write) Detach a CTI input trigger from a CTM channel.
153 Description: (Write) Attach a CTI output trigger to a CTM channel.
[all …]
Dsysfs-platform-dfl-port30 Description: Read-write. Read this file for AP1 (AFU Power State 1) event.
31 It's used to indicate transient AP1 state. Write 1 to this
38 Description: Read-write. Read this file for AP2 (AFU Power State 2) event.
39 It's used to indicate transient AP2 state. Write 1 to this
46 Description: Read-write. Read or set AFU latency tolerance reporting value.
54 Description: Write-only. User writes command to this interface to set
68 Description: Write-only. User writes command to this interface to set
82 Description: Read-Write. Read this file to get errors detected on port and
83 Accelerated Function Unit (AFU). Write error code to this file
84 to clear errors. Write fails with -EINVAL if input parsing
[all …]
Dsysfs-class-fpga-manager30 * write init = preparing FPGA for programming
31 * write init error = Error while preparing FPGA for programming
32 * write = FPGA ready to receive image data
33 * write error = Error while programming
34 * write complete = Doing post programming steps
35 * write complete error = Error while doing post programming
/Documentation/filesystems/
Dzonefs.rst12 device support (e.g. f2fs), zonefs does not hide the sequential write
14 write zones of the device must be written sequentially starting from the end
38 conventional zones. Any read or write access can be executed, similarly to a
41 sequentially. Each sequential zone has a write pointer maintained by the
42 device that keeps track of the mandatory start LBA position of the next write
43 to the device. As a result of this write constraint, LBAs in a sequential zone
53 to, for instance, reduce internal write amplification due to garbage collection.
73 information. File sizes come from the device zone type and write pointer
80 state to make it read-only, preventing any data write.
94 For sequential write zones, the sub-directory "seq" is used.
[all …]
Dfuse-io.rst11 + write-through
25 write-through mode is the default and is supported on all kernels. The
29 In write-through mode each write is immediately sent to userspace as one or more
30 WRITE requests, as well as updating any cached pages (and caching previously
35 the cache only, which means that the write(2) syscall can often complete very
/Documentation/scsi/
Dsd-parameters.rst9 Enable/disable drive write & read cache.
12 cache_type string WCE RCD Write cache Read cache
14 write through 0 0 off on
16 write back 1 0 on on
17 write back, no read (daft) 1 1 on off
20 To set cache type to "write back" and save this setting to the drive::
22 # echo "write back" > cache_type
27 # echo "temporary write back" > cache_type
/Documentation/locking/
Dseqlock.rst24 the end of the write side critical section the sequence count becomes
27 A sequence counter write side critical section must never be preempted
43 multiple writers. Write side critical sections must thus be serialized
46 If the write serialization primitive is not implicitly disabling
48 write side section. If the read section can be invoked from hardirq or
50 disabled before entering the write section.
70 Write path::
76 /* ... [[write-side critical section]] ... */
95 As discussed at :ref:`seqcount_t`, sequence count write side critical
98 initialization time, which enables lockdep to validate that the write
[all …]
/Documentation/userspace-api/media/rc/
Dlirc-write.rst4 .. _lirc-write:
7 LIRC write()
13 lirc-write - Write to a LIRC device
22 .. c:function:: ssize_t write( int fd, void *buf, size_t count )
39 :c:func:`write()` writes up to ``count`` bytes to the device
51 samples. The write function blocks until the data has been transmitted
62 ``EINVAL`` is returned. The write function blocks until the scancode
/Documentation/bpf/
Dprog_cgroup_sysctl.rst11 process inside that cgroup tries to read from or write to sysctl knob in proc.
26 __u32 write;
30 * ``write`` indicates whether sysctl value is being read (``0``) or written
34 or written. This field is read-write. Writing to the field sets the starting
35 position in sysctl proc file ``read(2)`` will be reading from or ``write(2)``
37 whole sysctl value by ``bpf_sysctl_set_new_value()`` on ``write(2)`` even
56 ``write(2)`` and ``errno`` will be set to ``EPERM``.
69 ``read(2)`` from and ``write(2)`` to sysctl;
72 written to sysctl before actual write happens. This helper can be used only
73 on ``ctx->write == 1``;
[all …]
/Documentation/devicetree/bindings/memory-controllers/
Dti-aemif.txt99 between a read followed by read or a write
100 followed by a write to same chip select.
119 - ti,cs-write-setup-ns: write setup width, ns
121 and the activation of write strobe.
124 - ti,cs-write-strobe-ns: write strobe width, ns
126 the write strobe.
129 - ti,cs-write-hold-ns: write hold width, ns
130 Time between the deactivation of the write
169 ti,cs-write-hold-ns = <7>;
170 ti,cs-write-strobe-ns = <42>;
[all …]
Dst,stm32-fmc2-ebi.yaml67 8: Synchronous read synchronous write PSRAM.
68 9: Synchronous read asynchronous write PSRAM.
69 10: Synchronous read synchronous write NOR.
70 11: Synchronous read asynchronous write NOR.
132 phase in nanoseconds used for asynchronous read/write transactions.
136 phase in nanoseconds used for asynchronous multiplexed read/write
141 in nanoseconds used for asynchronous read/write transactions.
145 end of current read/write transaction and the next transaction.
149 in nanoseconds used for asynchronous read/write transactions.
159 st,fmc2_ebi-cs-write-address-setup-ns:
[all …]
/Documentation/devicetree/bindings/serio/
Dps2-gpio.txt10 - write-enable: Indicates whether write function is provided
11 to serio device. Possibly providing the write fn will not work, because
22 write-enable;
/Documentation/x86/
Dmtrr.rst37 a video (VGA) card on a PCI or AGP bus. Enabling write-combining
38 allows bus write transfers to be combined into a larger transfer
40 of image write operations 2.5 times or more.
50 The Centaur C6 (WinChip) has 8 MCRs, allowing write-combining. These
62 which allows you to read and write. The other is an ioctl()
73 reg00: base=0x00000000 ( 0MB), size= 128MB: write-back, count=1
74 reg01: base=0x08000000 ( 128MB), size= 64MB: write-back, count=1
78 # echo "base=0xf8000000 size=0x400000 type=write-combining" >! /proc/mtrr
82 # echo "base=0xf8000000 size=0x400000 type=write-combining" >| /proc/mtrr
87 reg00: base=0x00000000 ( 0MB), size= 128MB: write-back, count=1
[all …]
/Documentation/networking/device_drivers/atm/
Dcxacru-cf.py15 # this program; if not, write to the Free Software Foundation, Inc., 59
39 sys.stdout.write("\n")
40 sys.stderr.write("Error: read {0} not 4 bytes\n".format(len(buf)))
44 sys.stdout.write(" ")
45 sys.stdout.write("{0:x}={1}".format(i, struct.unpack("<I", buf)[0]))
48 sys.stdout.write("\n")
/Documentation/misc-devices/
Deeprom.rst38 Atmel 34C02B 2K 0x50 - 0x57, SW write protect at 0x30-37
39 Catalyst 34FC02 2K 0x50 - 0x57, SW write protect at 0x30-37
40 Catalyst 34RC02 2K 0x50 - 0x57, SW write protect at 0x30-37
41 Fairchild 34W02 2K 0x50 - 0x57, SW write protect at 0x30-37
42 Microchip 24AA52 2K 0x50 - 0x57, SW write protect at 0x30-37
43 ST M34C02 2K 0x50 - 0x57, SW write protect at 0x30-37
78 software write protect register at 0x30 - 0x37 (0x20 less than the memory
79 location). The chip responds to "write quick" detection at this address but
81 bytes of the memory array are not write protected. Any byte data write to
82 this address will write protect the memory array permanently, and the
/Documentation/admin-guide/device-mapper/
Dlog-writes.rst6 of the write operations to. This is intended for file system developers wishing
8 There is a log_write_entry written for every WRITE request and the target is
10 that is in the WRITE requests is copied into the log to make the replay happen
16 We log things in order of completion once we are sure the write is no longer in
17 cache. This means that normal WRITE requests are not actually logged until the
22 This works by attaching all WRITE requests to a list once the write completes.
27 following example (W means write, C means complete):
42 Any REQ_OP_DISCARD requests are treated like WRITE requests. Otherwise we would
43 have all the DISCARD requests, and then the WRITE requests and then the FLUSH
46 WRITE block 1, DISCARD block 1, FLUSH
[all …]
/Documentation/devicetree/bindings/bus/
Dqcom,ebi2.txt10 NOR flash memories), WE (write enable). This on top of 6 different chip selects
34 FIXME: the manual mentions "write precharge cycles" and "precharge cycles".
80 CS or read followed by write on the same CS. Valid values 0 thru 15. Minimum
82 - qcom,xmem-write-hold-cycles: write hold cycles, these are extra cycles
83 inserted after every write minimum 1. The data out is driven from the time
86 - qcom,xmem-write-delta-cycles: initial latency for write cycles inserted for
87 the first write to a page or burst memory. Valid values 0 thru 255.
90 - qcom,xmem-write-wait-cycles: number of wait cycles for every write access, 0=1
132 qcom,xmem-write-hold-cycles = <3>;
133 qcom,xmem-write-delta-cycles = <31>;
[all …]
/Documentation/filesystems/spufs/
Dspufs.rst21 message queues. Users that have write permissions on the file system
44 tem calls like read(2) or write(2), but often support only a subset of
50 all files that support the write(2) operation also support writev(2).
68 read(2), pread(2), write(2), pwrite(2), lseek(2)
70 write(2) and pwrite(2) are not supported beyond the end of the
118 The CPU to SPU communation mailbox. It is write-only and can be written
119 in units of 32 bits. If the mailbox is full, write() will block and
121 operations on an open wbox file are: write(2) If a count smaller than
122 four is requested, write returns -1 and sets errno to EINVAL. If there
157 can be used in read/write mode for debugging, but normal operation of
[all …]
/Documentation/devicetree/bindings/dma/
Dqcom_hidma_mgmt.txt14 instance can use like maximum read/write request and number of bytes to
15 read/write in a single burst.
21 - max-write-burst-bytes: Maximum write burst in bytes that HIDMA can
31 - max-write-transactions: This value is how many times a write burst is
70 max-write-burst-bytes = <1024>;
72 max-write-transactions = <31>;

12345678910>>...40