/Linux-v5.10/Documentation/driver-api/md/ |
D | raid5-cache.rst | 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 10 refer to mdadm manual for details. By default (RAID array starts), the cache is 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 19 In both modes, all writes to the array will hit cache disk first. This means 22 write-through mode [all …]
|
/Linux-v5.10/include/linux/ |
D | amd-iommu.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2007-2010 Advanced Micro Devices, Inc. 14 * This is mainly used to communicate information back-and-forth 36 * amd_iommu_enable_device_erratum() - Enable erratum workaround for device 39 * @erratum: The erratum workaround to enable 41 * The function needs to be called before amd_iommu_init_device(). 43 * - AMD_PRI_DEV_ERRATUM_ENABLE_RESET - Reset PRI capability when PRI 45 * - AMD_PRI_DEV_ERRATUM_LIMIT_REQ_ONE - Limit number of outstanding PRI 46 * requests to one 54 * amd_iommu_init_device() - Init device for use with IOMMUv2 driver [all …]
|
/Linux-v5.10/tools/perf/pmu-events/arch/x86/icelake/ |
D | frontend.json | 4 …"PublicDescription": "Counts the number of uops delivered to Instruction Decode Queue (IDQ) from t… 11 "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from MITE path" 15 …": "Counts the number of cycles where optimal number of uops was delivered to the Instruction Deco… 27 …"PublicDescription": "Counts the number of cycles uops were delivered to the Instruction Decode Qu… 39 …"PublicDescription": "Counts the number of uops delivered to Instruction Decode Queue (IDQ) from t… 46 …"BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffe… 50 …": "Counts the number of cycles where optimal number of uops was delivered to the Instruction Deco… 62 …"PublicDescription": "Counts the number of cycles uops were delivered to Instruction Decode Queue … 74 … switches from DSB (Decode Stream Buffer) or MITE (legacy decode pipeline) to the Microcode Sequen… 81 "BriefDescription": "Number of switches from DSB or MITE to the MS", [all …]
|
/Linux-v5.10/drivers/net/ethernet/intel/ice/ |
D | ice_fltr.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (C) 2018-2020, Intel Corporation. */ 8 * ice_fltr_free_list - free filter lists helper 9 * @dev: pointer to the device struct 10 * @h: pointer to the list head to be freed 12 * Helper function to free filter lists previously created using 20 list_del(&e->list_entry); in ice_fltr_free_list() 26 * ice_fltr_add_entry_to_list - allocate and add filter entry to list 27 * @dev: pointer to device needed by alloc function 28 * @info: filter info struct that gets added to the passed in list [all …]
|
/Linux-v5.10/drivers/mmc/host/ |
D | sdhci-bcm-kona.c | 25 #include <linux/mmc/slot-gpio.h> 27 #include "sdhci-pltfm.h" 54 struct mutex write_lock; /* protect back to back writes */ 63 /* This timeout should be sufficent for core to reset */ in sdhci_bcm_kona_sd_reset() 74 return -EFAULT; in sdhci_bcm_kona_sd_reset() 83 * Back-to-Back register write needs a delay of 1ms at bootup (min 10uS) in sdhci_bcm_kona_sd_reset() 84 * Back-to-Back writes to same register needs delay when SD bus clock in sdhci_bcm_kona_sd_reset() 85 * is very low w.r.t AHB clock, mainly during boot-time and during card in sdhci_bcm_kona_sd_reset() 86 * insert-removal. in sdhci_bcm_kona_sd_reset() 103 /* Enable the AHB clock gating module to the host */ in sdhci_bcm_kona_sd_init() [all …]
|
/Linux-v5.10/drivers/net/ethernet/netronome/nfp/crypto/ |
D | tls.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 35 off = nn->tlv_caps.crypto_enable_off + round_down(opcode / 8, 4); in nfp_net_crypto_set_op() 54 nn->ktls_tx_conn_cnt += add; in __nfp_net_tls_conn_cnt_changed() 55 cnt = nn->ktls_tx_conn_cnt; in __nfp_net_tls_conn_cnt_changed() 56 nn->dp.ktls_tx = !!nn->ktls_tx_conn_cnt; in __nfp_net_tls_conn_cnt_changed() 59 nn->ktls_rx_conn_cnt += add; in __nfp_net_tls_conn_cnt_changed() 60 cnt = nn->ktls_rx_conn_cnt; in __nfp_net_tls_conn_cnt_changed() 63 /* Care only about 0 -> 1 and 1 -> 0 transitions */ in __nfp_net_tls_conn_cnt_changed() 77 /* Use the BAR lock to protect the connection counts */ in nfp_net_tls_conn_cnt_changed() 83 __nfp_net_tls_conn_cnt_changed(nn, -add, direction); in nfp_net_tls_conn_cnt_changed() [all …]
|
/Linux-v5.10/tools/testing/selftests/bpf/benchs/ |
D | run_bench_ringbufs.sh | 3 set -eufo pipefail 5 RUN_BENCH="sudo ./bench -w3 -d10 -a" 9 echo "$*" | sed -E "s/.*hits\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+M\/s).*/\1/" 14 echo "$*" | sed -E "s/.*drops\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+M\/s).*/\1/" 29 summary=$(echo $2 | tail -n1) 30 printf "%-20s %s (drops %s)\n" "$bench" "$(hits $summary)" "$(drops $summary)" 33 header "Single-producer, parallel producer" 34 for b in rb-libbpf rb-custom pb-libbpf pb-custom; do 38 header "Single-producer, parallel producer, sampled notification" 39 for b in rb-libbpf rb-custom pb-libbpf pb-custom; do [all …]
|
/Linux-v5.10/tools/power/pm-graph/config/ |
D | suspend-x2-proc.cfg | 2 # Proc S3 (Suspend to Mem) x2 test - includes user processes 5 # all the tool arguments so that they don't have to be given on the 9 # sudo ./sleepgraph.py -config config/suspend-proc.cfg 14 # ---- General Options ---- 26 output-dir: suspend-{hostname}-{date}-{time}-x2-proc 29 # Use rtcwake to autoresume after X seconds, or off to disable (default: 15) 33 # add the dmesg and ftrace log to the html output (default: false) 40 # ---- Advanced Options ---- 42 # Command to execute in lieu of suspend (default: "") 53 # Back to Back Suspend/Resume [all …]
|
D | suspend-dev.cfg | 2 # Dev S3 (Suspend to Mem) test - includes src calls / kernel threads 5 # all the tool arguments so that they don't have to be given on the 9 # sudo ./sleepgraph.py -config config/suspend-dev.cfg 14 # ---- General Options ---- 26 output-dir: suspend-{hostname}-{date}-{time}-dev 29 # Use rtcwake to autoresume after X seconds, or off to disable (default: 15) 33 # add the dmesg and ftrace log to the html output (default: false) 40 # ---- Advanced Options ---- 42 # Command to execute in lieu of suspend (default: "") 53 # Back to Back Suspend/Resume [all …]
|
D | suspend.cfg | 2 # Generic S3 (Suspend to Mem) test 5 # all the tool arguments so that they don't have to be given on the 9 # sudo ./sleepgraph.py -config config/suspend.cfg 14 # ---- General Options ---- 26 output-dir: suspend-{hostname}-{date}-{time} 29 # Use rtcwake to autoresume after X seconds, or off to disable (default: 15) 33 # add the dmesg and ftrace log to the html output (default: false) 40 # ---- Advanced Options ---- 42 # Command to execute in lieu of suspend (default: "") 53 # Back to Back Suspend/Resume [all …]
|
D | freeze-dev.cfg | 2 # Dev S2 (Freeze) test - includes src calls / kernel threads 5 # all the tool arguments so that they don't have to be given on the 9 # sudo ./sleepgraph.py -config config/freeze-dev.cfg 14 # ---- General Options ---- 26 output-dir: freeze-{hostname}-{date}-{time}-dev 29 # Use rtcwake to autoresume after X seconds, or off to disable (default: 15) 33 # add the dmesg and ftrace log to the html output (default: false) 40 # ---- Advanced Options ---- 42 # Command to execute in lieu of freeze (default: "") 53 # Back to Back Suspend/Resume [all …]
|
D | standby-dev.cfg | 2 # Dev S1 (Standby) test - includes src calls / kernel threads 5 # all the tool arguments so that they don't have to be given on the 9 # sudo ./sleepgraph.py -config config/standby-dev.cfg 14 # ---- General Options ---- 26 output-dir: standby-{hostname}-{date}-{time}-dev 29 # Use rtcwake to autoresume after X seconds, or off to disable (default: 15) 33 # add the dmesg and ftrace log to the html output (default: false) 40 # ---- Advanced Options ---- 42 # Command to execute in lieu of standby (default: "") 53 # Back to Back Suspend/Resume [all …]
|
D | freeze-callgraph.cfg | 5 # all the tool arguments so that they don't have to be given on the 9 # sudo ./sleepgraph.py -config config/freeze-callgraph.cfg 15 # ---- General Options ---- 27 output-dir: freeze-{hostname}-{date}-{time}-cg 30 # Use rtcwake to autoresume after X seconds, or off to disable (default: 15) 34 # add the dmesg and ftrace log to the html output (default: false) 41 # ---- Advanced Options ---- 43 # Command to execute in lieu of freeze (default: "") 54 # Back to Back Suspend/Resume 55 # Run two suspend/resumes back to back (default: false) [all …]
|
D | standby-callgraph.cfg | 5 # all the tool arguments so that they don't have to be given on the 9 # sudo ./sleepgraph.py -config config/standby-callgraph.cfg 15 # ---- General Options ---- 27 output-dir: standby-{hostname}-{date}-{time}-cg 30 # Use rtcwake to autoresume after X seconds, or off to disable (default: 15) 34 # add the dmesg and ftrace log to the html output (default: false) 41 # ---- Advanced Options ---- 43 # Command to execute in lieu of standby (default: "") 54 # Back to Back Suspend/Resume 55 # Run two suspend/resumes back to back (default: false) [all …]
|
D | freeze.cfg | 5 # all the tool arguments so that they don't have to be given on the 9 # sudo ./sleepgraph.py -config config/freeze.cfg 14 # ---- General Options ---- 26 output-dir: freeze-{hostname}-{date}-{time} 29 # Use rtcwake to autoresume after X seconds, or off to disable (default: 15) 33 # add the dmesg and ftrace log to the html output (default: false) 40 # ---- Advanced Options ---- 42 # Command to execute in lieu of freeze (default: "") 53 # Back to Back Suspend/Resume 54 # Run two suspend/resumes back to back (default: false) [all …]
|
D | standby.cfg | 5 # all the tool arguments so that they don't have to be given on the 9 # sudo ./sleepgraph.py -config config/standby.cfg 14 # ---- General Options ---- 26 output-dir: standby-{hostname}-{date}-{time} 29 # Use rtcwake to autoresume after X seconds, or off to disable (default: 15) 33 # add the dmesg and ftrace log to the html output (default: false) 40 # ---- Advanced Options ---- 42 # Command to execute in lieu of standby (default: "") 53 # Back to Back Suspend/Resume 54 # Run two suspend/resumes back to back (default: false) [all …]
|
D | suspend-callgraph.cfg | 2 # Full Callgraph for S3 (Suspend to Mem) test 5 # all the tool arguments so that they don't have to be given on the 9 # sudo ./sleepgraph.py -config config/suspend.cfg 15 # ---- General Options ---- 27 output-dir: suspend-{hostname}-{date}-{time}-cg 30 # Use rtcwake to autoresume after X seconds, or off to disable (default: 15) 34 # add the dmesg and ftrace log to the html output (default: false) 41 # ---- Advanced Options ---- 43 # Command to execute in lieu of suspend (default: "") 54 # Back to Back Suspend/Resume [all …]
|
/Linux-v5.10/drivers/staging/comedi/drivers/ |
D | comedi_8255.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * COMEDI - Linux Control and Measurement Device Interface 19 * This module is not used directly by end-users. Rather, it is used by 20 * other drivers to provide support for an 8255 "Programmable Peripheral 24 * digital I/O subdevice with 24 channels. The channel 0 corresponds to 25 * the 8255's port A, bit 0; channel 23 corresponds to port C, bit 7. 26 * Direction configuration is done in blocks, with channels 0-7, 8-15, 27 * 16-19, and 20-23 making up the 4 blocks. The only 8255 mode 46 outb(data, dev->iobase + regbase + port); in subdev_8255_io() 49 return inb(dev->iobase + regbase + port); in subdev_8255_io() [all …]
|
/Linux-v5.10/Documentation/scsi/ |
D | sd-parameters.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 --------------- 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 24 To modify the caching mode without making the change persistent, prepend 25 "temporary " to the cache type string. E.g.:: 27 # echo "temporary write back" > cache_type
|
/Linux-v5.10/include/linux/iio/ |
D | consumer.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 18 * struct iio_channel - everything needed for a consumer to use a channel 30 * iio_channel_get() - get description of all that is needed to access channel. 31 * @dev: Pointer to consumer device. Device name must match 33 * with which the desired provider to consumer mapping 35 * @consumer_channel: Unique name to identify the channel on the consumer 43 * iio_channel_release() - release channels obtained via iio_channel_get 44 * @chan: The channel to be released. 49 * devm_iio_channel_get() - Resource managed version of iio_channel_get(). 50 * @dev: Pointer to consumer device. Device name must match [all …]
|
/Linux-v5.10/tools/perf/pmu-events/arch/x86/goldmont/ |
D | pipeline.json | 11 …e core frequency may change from time to time. For this reason this event may have a changing rati… 35 "BriefDescription": "Loads blocked due to store data not ready (Precise event capable)" 46 "BriefDescription": "Loads blocked due to store forward restriction (Precise event capable)" 62 …"PublicDescription": "Counts loads blocked because they are unable to find their physical address … 83 …back end of the machine. This event counts uops that retire as well as uops that were speculative… 89 "BriefDescription": "Uops issued to the back end per cycle" 113 …to measure front-end inefficiencies. I.e. when front-end of the machine is not delivering uops to … 119 "BriefDescription": "Uops requested but not-delivered to the back-end per cycle" 124 …recise Event capable: The EventingRIP field in the PEBS record is precise to the address of the i… 146 …ued by the micro-sequencer (MS). Counts both the uops from a micro-coded instruction, and the uop… [all …]
|
/Linux-v5.10/Documentation/ABI/testing/ |
D | sysfs-class-bdi | 14 non-block filesystems which provide their own BDI, such as NFS 17 MAJOR:MINOR-fuseblk 23 The default backing dev, used for non-block device backed 28 read_ahead_kb (read-write) 30 Size of the read-ahead window in kilobytes 32 min_ratio (read-write) 35 total write-back cache that relates to its current average 36 writeout speed in relation to the other devices. 39 percentage of the write-back cache to a particular device. 42 max_ratio (read-write) [all …]
|
/Linux-v5.10/fs/erofs/ |
D | namei.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2017-2018 HUAWEI, Inc. 24 * on-disk error, let's only BUG_ON in the debugging mode. in erofs_dirnamecmp() 25 * otherwise, it will return 1 to just skip the invalid name in erofs_dirnamecmp() 28 DBG_BUGON(qd->name > qd->end); in erofs_dirnamecmp() 31 /* However it is absolutely safe if < qd->end */ in erofs_dirnamecmp() 32 while (qd->name + i < qd->end && qd->name[i] != '\0') { in erofs_dirnamecmp() 33 if (qn->name[i] != qd->name[i]) { in erofs_dirnamecmp() 35 return qn->name[i] > qd->name[i] ? 1 : -1; in erofs_dirnamecmp() 41 return qn->name[i] == '\0' ? 0 : 1; in erofs_dirnamecmp() [all …]
|
/Linux-v5.10/tools/perf/pmu-events/arch/x86/skylake/ |
D | frontend.json | 3 …"PublicDescription": "Counts the number of uops delivered to Instruction Decode Queue (IDQ) from t… 9 "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from MITE path", 13 …"PublicDescription": "Counts cycles during which uops are being delivered to Instruction Decode Qu… 19 …"BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from M… 24 …"PublicDescription": "Counts the number of uops delivered to Instruction Decode Queue (IDQ) from t… 30 …"BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffe… 34 …"PublicDescription": "Counts cycles during which uops are being delivered to Instruction Decode Qu… 40 …"BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from D… 45 …ing which uops initiated by Decode Stream Buffer (DSB) are being delivered to Instruction Decode Q… 51 …cles when uops initiated by Decode Stream Buffer (DSB) are being delivered to Instruction Decode Q… [all …]
|
/Linux-v5.10/tools/perf/pmu-events/arch/arm64/arm/cortex-a76-n1/ |
D | cache.json | 15 …ts any load or store operation or page table walk access which causes data to be read from outside… 21 …n particular, any access which could count the L1D_CACHE_REFILL event causes this event to count.", 33 …cess or Level 0 Macro-op cache access. This event counts any instruction fetch which accesses the … 39 …PublicDescription": "L1 data cache Write-Back. This event counts any write-back of data from the L… 42 "BriefDescription": "L1 data cache Write-Back" 45 … transaction from L1 which looks up in the L2 cache, and any write-back from the L1 to the L2. Sno… 51 …ill. This event counts any cacheable transaction from L1 which causes data to be read from outside… 57 … "L2 data cache write-back. This event counts any write-back of data from the L2 cache to outside … 60 "BriefDescription": "L2 data cache write-back" 63 …the L2 cache which does not cause a linefill, including write-backs from L1 to L2 and full-line wr… [all …]
|