Home
last modified time | relevance | path

Searched +full:default +full:- +full:trim (Results 1 – 25 of 579) sorted by relevance

12345678910>>...24

/freebsd/sys/contrib/device-tree/Bindings/phy/
H A Dqcom,qusb2-phy.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/phy/qcom,qusb2-phy.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Wesley Cheng <quic_wcheng@quicinc.com>
19 - items:
20 - enum:
21 - qcom,ipq6018-qusb2-phy
22 - qcom,ipq8074-qusb2-phy
23 - qcom,ipq9574-qusb2-phy
[all …]
H A Dphy-stm32-usbphyc.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/phy/phy-stm32-usbphyc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
22 |_ PHY port#2 ----| |________________
27 - Amelie Delaunay <amelie.delaunay@foss.st.com>
31 const: st,stm32mp1-usbphyc
42 "#address-cells":
45 "#size-cells":
48 vdda1v1-supply:
[all …]
/freebsd/usr.sbin/trim/
H A Dtrim.830 .Nm trim
36 .Bk -words
43 .Bk -words
51 It is mostly relevant for storage that implement trim (like flash based,
56 .Bl -tag -width indent
61 This is the default.
82 of the region to trim or its offset
85 .Sy The whole device is erased by default
105 .Sy The whole device is erased by default.
118 in low level support for ATA TRIM or SCSI UNMAP commands.
[all …]
H A Dtrim.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
51 static int trim(const char *path, off_t offset, off_t length, bool dryrun, bool verbose);
68 while ((ch = getopt(argc, argv, "Nfl:o:qr:v")) != -1) in main()
79 if (expand_number(optarg, &usz) == -1 || in main()
102 default: in main()
110 * trim -f /dev/da0 -r rfile in main()
112 * This would trim whole device then error on non-existing file -r. in main()
115 * trim -f -- /dev/da0 -r rfile in main()
118 if (strcmp(argv[optind-1], "--") != 0) { in main()
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_trim.c9 * or https://opensource.org/licenses/CDDL-1.0.
41 * TRIM is a feature which is used to notify a SSD that some previously
47 * There are two supported TRIM methods; manual and automatic.
49 * Manual TRIM:
51 * A manual TRIM is initiated by running the 'zpool trim' command. A single
53 * managing that vdev TRIM process. This involves iterating over all the
55 * required TRIM I/Os.
60 * the TRIM are regularly written to the pool. This allows the TRIM to be
63 * Automatic TRIM:
65 * An automatic TRIM is enabled by setting the 'autotrim' pool property
[all …]
/freebsd/sys/contrib/device-tree/Bindings/mmc/
H A Dnvidia,tegra20-sdhci.txt7 by mmc.txt and the properties used by the sdhci-tegra driver.
10 - compatible : should be one of:
11 - "nvidia,tegra20-sdhci": for Tegra20
12 - "nvidia,tegra30-sdhci": for Tegra30
13 - "nvidia,tegra114-sdhci": for Tegra114
14 - "nvidia,tegra124-sdhci": for Tegra124 and Tegra132
15 - "nvidia,tegra210-sdhci": for Tegra210
16 - "nvidia,tegra186-sdhci": for Tegra186
17 - "nvidia,tegra194-sdhci": for Tegra194
18 - clocks: For Tegra210, Tegra186 and Tegra194 must contain two entries.
[all …]
H A Dnvidia,tegra20-sdhci.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mmc/nvidia,tegra20-sdhci.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Thierry Reding <thierry.reding@gmail.com>
11 - Jon Hunter <jonathanh@nvidia.com>
18 mmc-controller.yaml and the properties for the Tegra SDHCI controller.
23 - enum:
24 - nvidia,tegra20-sdhci
25 - nvidia,tegra30-sdhci
[all …]
/freebsd/tools/test/stress2/misc/
H A Dtrim2.sh29 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
31 # Run a test on a 128 MB malloc backed MD with UFS SU fs with option trim.
34 . ../default.cfg
36 mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint
37 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart
38 mdconfig -a -t malloc -o reserve -s 128m -u $mdstart || exit 1
39 [ $# -eq 0 ] && trim=-t
40 newfs $trim $newfs_flags md$mdstart > /dev/null
43 echo "This is a Trim (TRIM) test." >> $mntpoint/file
50 while mount | grep $mntpoint | grep -q /dev/md; do
[all …]
H A Dtrim3.sh29 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
31 # Run with marcus.cfg on a 1 GB swap backed MD with option trim.
33 # A variation of trim.sh
35 . ../default.cfg
37 mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint
38 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart
41 [ $# -eq 0 ] && trim=-t
45 [ "$newfs_flags" = "-U" ] && opt="-U -j"
47 echo "mdconfig -a -t swap -s $size -u $mdstart"
48 mdconfig -a -t swap -s $size -u $mdstart || exit 1
[all …]
H A Dtrim4.sh29 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
31 # Run with marcus.cfg on a 1 GB swap backed MD with option trim.
32 # SU+J FS corruption seen with option trim.
34 . ../default.cfg
36 mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint
37 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart
40 [ $# -eq 0 ] && trim=-t
41 [ "$newfs_flags" = "-U" ] && flag="-j"
44 while [ $((`date +%s` - start)) -lt $((15 * 60)) ]; do
46 echo "mdconfig -a -t swap -s $size -u $mdstart"
[all …]
H A Dtrim.sh29 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
31 # Run with marcus.cfg on a malloc backed MD with option trim.
33 # panic: Bad tailq head 0xfffff80160cb7170 first->prev != head
35 . ../default.cfg
39 mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint
40 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart
43 [ `uname -m` = "amd64" ] && size="1g"
44 [ $# -eq 0 ] && trim=-t
47 [ "$newfs_flags" = "-U" ] && opt="-U -j"
50 echo "mdconfig -a -t malloc -o reserve -s $size -u $mdstart"
[all …]
/freebsd/contrib/dialog/samples/
H A Dmsgbox24 . ./setup-vars
6 $DIALOG --title "MESSAGE BOX" --trim "$@" \
7 --msgbox "Hi, this is a simple message box. You can use this to
10 with dialogs default aspect ratio of 9." 0 0
13 $DIALOG --aspect 12 --title "MESSAGE BOX aspect=12" --trim "$@" \
14 --msgbox "Hi, this is a simple message box. You can use this to
20 $DIALOG --aspect 6 --title "MESSAGE BOX aspect=6" --trim "$@" \
21 --msgbox "Hi, this is a simple message box. You can use this to
27 $DIALOG --aspect 6 --cr-wrap --title "MESSAGE BOX aspect=6 with --cr-wrap" \
28 --trim "$@" --msgbox " \
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/zvol/zvol_misc/
H A Dzvol_misc_trim.ksh1 #!/bin/ksh -p
10 # or https://opensource.org/licenses/CDDL-1.0.
33 # Verify we can TRIM a zvol
36 # 1. TRIM the entire zvol to remove data from older tests
40 # 5. TRIM the first 1MB and last 2MB of the 5MB block of data.
47 # We need '--force' here since the prior tests may leave a filesystem
51 # Only blkdiscard >= v2.36 supports --force, so we need to
53 if blkdiscard --help | grep -q '\-\-force' ; then
54 trimcmd='blkdiscard --force'
59 # By default, FreeBSD 'trim' always does a dry-run. '-f' makes
[all …]
/freebsd/sys/tools/syscalls/tools/
H A Dutil.lua1 --
2 -- SPDX-License-Identifier: BSD-2-Clause
3 --
4 -- Copyright (c) 2024 Tyler Baxter <agge@FreeBSD.org>
5 -- Copyright (c) 2023 Warner Losh <imp@bsdimp.com>
6 -- Copyright (c) 2019 Kyle Evans <kevans@FreeBSD.org>
7 --
11 --
12 -- Returns a trimmed string. Default is to trim whitespace.
13 --
[all …]
/freebsd/usr.sbin/newsyslog/
H A Dnewsyslog.850 period's logs in it, and so on, up to a user-specified number of
61 .Bl -enum -offset indent
81 .Bl -tag -width indent
86 The default method is
91 This default setting can be overridden by specifying
144 not to trim the logs, but to print out what it would do if this option
175 logfiles using the specified time format instead of the default
184 .Dq DEFAULT ,
185 the default built in time format
205 If log files are given on the command-line, then the
[all …]
/freebsd/sys/contrib/device-tree/src/arm/st/
H A Dstm32mp135f-dk.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) STMicroelectronics 2021 - All Rights Reserved
7 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-binding
[all...]
H A Dstm32mp157c-ev1.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved
6 /dts-v1/;
8 #include "stm32mp157c-ed1.dts"
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-binding
[all...]
/freebsd/sys/contrib/device-tree/src/arm64/socionext/
H A Duniphier-ld20.dtsi1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
5 // Copyright (C) 2015-2016 Socionext Inc.
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/gpio/uniphier-gpio.h>
10 #include <dt-bindings/interrupt-controller/arm-gi
[all...]
H A Duniphier-pxs3.dtsi1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/gpio/uniphier-gpio.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-binding
[all...]
/freebsd/sys/cam/ata/
H A Data_da.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
229 { "NONE", "DISABLED", "CFA Erase", "DSM Trim", "DSM Trim via NCQ" };
445 * 4k optimised & trim only works in 4k requests + 4k aligned
447 { T_DIRECT, SIP_MEDIA_FIXED, "*", "Corsair CSSD-F*", "*" },
453 * 4k optimised & trim only works in 4k requests + 4k aligned
461 * 4k optimised & trim only works in 4k requests + 4k aligned
469 * 4k optimised & trim only works in 4k requests + 4k aligned
477 * 4k optimised & trim only works in 4k requests + 4k aligned
479 { T_DIRECT, SIP_MEDIA_FIXED, "*", "M4-CT???M4SSD2*", "*" },
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DFormatVariadic.cpp1 //===- FormatVariadic.cpp - Format string parsing and analysis ----*-C++-*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //===----------------------------------------------------------------------===//
16 case '-': in translateLocChar()
22 default: in translateLocChar()
60 StringRef RepString = Spec.trim("{}"); in parseReplacementItem()
62 // If the replacement sequence does not start with a non-negative integer, in parseReplacementItem()
69 RepString = RepString.trim(); in parseReplacementItem()
74 RepString = RepString.trim(); in parseReplacementItem()
79 RepString = RepString.trim(); in parseReplacementItem()
[all …]
/freebsd/contrib/tcsh/
H A Dsh.glob.c4 /*-
85 name = Strnsave(u + 1, s - (u + 1)); in globtilde()
117 * kfk - 17 Jan 1984 - stack hack allows user to get at arbitrary dir names in globequal()
120 if (old[1] == '-' && (old[2] == '\0' || old[2] == '/')) { in globequal()
121 /* =- */ in globequal()
125 !dcwd->di_next->di_name && !dcwd->di_prev->di_name) in globequal()
127 dig = -1; in globequal()
132 dig = old[1] - '0'; in globequal()
134 dig = dig * 10 + (*b - '0'); in globequal()
161 prefix_len = p - s; in globbrace()
[all …]
H A Dtw.parse.c7 /*-
48 #define DOT_NOT 1 /* Don't display dot or dot-dot */
87 int curchoice = -1;
91 static int SearchNoDirErr = 0; /* t_search returns -2 if dir is unreadable */
97 /* do the expand or list on the command line -- SHOULD BE REPLACED */
138 #define isaset(c, w) ((w)[-1] == '=' && \
205 if (cmap(*cp, _ESC) && cp < str_end - 1 && cp[1] == HIST && in tenematch()
213 if (ismetahash(qline.s[qline.len - 1]) in tenematch()
224 * first word of command -> TW_COMMAND in tenematch()
225 * everything else -> TW_ZERO in tenematch()
[all …]
/freebsd/sys/contrib/openzfs/cmd/zpool_influxdb/
H A DREADME.md6 stdout. In many ways, this is a metrics-friendly output of
18 |---|---|---|
19 | --execd | -e | For use with telegraf's `execd` plugin. When [enter] is pressed, the pools are sam…
20 | --no-histogram | -n | Do not print histogram information |
21 | --signed-int | -i | Use signed integer data type (default=unsigned) |
22 | --sum-histogram-buckets | -s | Sum histogram bucket values |
23 | --tags key=value[,key=value...] | -t | Add tags to data points. No tag sanity checking is perform…
24 | --help | -h | Print a short usage message |
28 This works well out-of-the-box with an influxdb data source and grafana's
35 Another method for storing histogram data sums the values for lower-value
[all …]
/freebsd/sys/cam/nvme/
H A Dnvme_da.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
188 "Maximum number of BIO_DELETE to send down as a DSM TRIM.");
195 * All NVMe media is non-rotational, so all nvme device instances
227 nvme_ns_flush_cmd(&nvmeio->cmd, softc->nsid); in nda_nvme_flush()
241 nvme_ns_trim_cmd(&nvmeio->cmd, softc->nsid, num_ranges); in nda_nvme_trim()
255 nvme_ns_write_cmd(&nvmeio->cmd, softc->nsid, lba, count); in nda_nvme_write()
267 if (bp->bio_flags & BIO_UNMAPPED) { in nda_nvme_rw_bio()
271 payload = bp->bio_data; in nda_nvme_rw_bio()
274 lba = bp->bio_pblkno; in nda_nvme_rw_bio()
[all …]

12345678910>>...24