/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fault/ |
H A D | suspend_resume_single.ksh | 1 #!/bin/ksh -p 5 # The contents of this file are subject to the terms of the 10 # or https://opensource.org/licenses/CDDL-1.0. 35 rm -f $DATA_FILE 40 log_assert "ensure single-disk pool resumes properly after suspend and clear" 50 # create a single-device pool 54 # "pull" the disk 57 # copy data onto the pool. it'll appear to succee [all...] |
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/ |
H A D | zpool_initialize_uninit.ksh | 1 #!/bin/ksh -p 5 # The contents of this file are subject to the terms of the 10 # or https://opensource.org/licenses/CDDL-1.0. 35 # 1. Create a one-disk pool. 37 # 3. Verify pool wide cancel|suspend + uninit 40 # c. Cancel or suspend initializing and verify that initializing is not active. 42 # 4. Verify per-disk cancel|suspend + uninit 45 DISK1="$(echo $DISKS | cut -d' ' -f1)" 46 DISK2="$(echo $DISKS | cut -d' ' -f2)" 47 DISK3="$(echo $DISKS | cut -d' ' -f3)" [all …]
|
H A D | zpool_initialize_start_and_cancel_neg.ksh | 1 #!/bin/ksh -p 5 # The contents of this file are subject to the terms of the 10 # or https://opensource.org/licenses/CDDL-1.0. 35 # 1. Create a three-disk pool. 37 # 3. Try to cancel and suspend initializing on the non-initializing disks. 38 # 4. Try to re-initialize the currently initializing disk. 42 DISK2="$(echo $DISKS | cut -d' ' -f2)" 43 DISK3="$(echo $DISKS | cut -d' ' -f3)" 45 log_must zpool list -v 46 log_must zpool create -f $TESTPOOL $DISK1 $DISK2 $DISK3 [all …]
|
H A D | zpool_initialize_suspend_resume.ksh | 1 #!/bin/ksh -p 5 # The contents of this file are subject to the terms of the 10 # or https://opensource.org/licenses/CDDL-1.0. 34 # 1. Create a one-disk pool. 36 # 3. Wait 3 seconds, then suspend initializing and verify that the progress 44 log_must zpool create -f $TESTPOOL $DISK1 47 [[ -z "$(initialize_progress $TESTPOOL $DISK1)" ]] && \ 51 log_must zpool initialize -s $TESTPOOL 56 [[ "$progress" -eq "$(initialize_progress $TESTPOOL $DISK1)" ]] || \ 60 [[ "$progress" -le "$(initialize_progress $TESTPOOL $DISK1)" ]] || [all …]
|
H A D | zpool_initialize_online_offline.ksh | 1 #!/bin/ksh -p 5 # The contents of this file are subject to the terms of the 10 # or https://opensource.org/licenses/CDDL-1.0. 34 # 1. Create a pool with a two-way mirror. 36 # 3. Offline the disk. 37 # 4. Online the disk. 39 # 6. Suspend initializing. 40 # 7. Repeat steps 3-4 and verify that initializing does not resume. 44 DISK2="$(echo $DISKS | cut -d' ' -f2)" 46 log_must zpool create -f $TESTPOOL mirror $DISK1 $DISK2 [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/regulator/ |
H A D | regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liam Girdwood <lgirdwood@gmail.com> 11 - Mark Brown <broonie@kernel.org> 14 regulator-nam [all...] |
H A D | maxim,max77802.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Javier Martinez Canillas <javier@dowhile0.org> 11 - Krzysztof Kozlowski <krzk@kernel.org> 17 The Maxim MAX77686 provides 10 high-efficiency Buck and 32 Low-DropOut (LDO) 23 Certain regulators support "regulator-initial-mode" and "regulator-mode". 24 The valid modes list is defined in the dt-bindings/regulator/maxim,max77802.h 26 1 - Normal regulator voltage output mode. 27 3 - Low Power which reduces the quiescent current down to only 1uA [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/rockchip/ |
H A D | rk3568-qnap-ts433.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * Copyright (c) 2024 Uwe Kleine-König 7 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/gpio/gpio.h> 15 model = "Qnap TS-433-4G NAS System 4-Bay"; 25 stdout-path = "serial2:115200n8"; 29 compatible = "gpio-keys"; 30 pinctrl-0 = <©_button_pin>, <&reset_button_pin>; [all …]
|
/freebsd/share/man/man4/ |
H A D | acpi.4 | 15 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 57 driver is intended to provide power management without user intervention. 59 used to modify or monitor 65 .Bl -tag -width indent 76 Lowest Cx state to use for idling the CPU. 83 should be set to 93 is equivalent to the ia32 101 but additionally requires bus mastering to be disabled. 118 exiting to legacy mode first. [all …]
|
H A D | acpi_ibm.4 | 15 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 36 .Bd -ragged -offset indent 40 Alternatively, to load the driver as a 43 .Bd -literal -offset indent 50 The main purpose of this driver is to provide an interface, 62 interface has to be enabled explicitly, as it may alter the default action of 71 sysctl, is set to 80 .Bl -tag -width "subsystem" -offset indent -compact 95 .Bl -tag -width "subsystem" -offset indent -compact [all …]
|
H A D | acpi_panasonic.4 | 2 .\" Copyright (c) 2004 OGAWA Takaya <t-ogawa@triaez.kaisei.org> 15 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 36 .Bd -ragged -offset indent 40 Alternatively, to load the driver as a 43 .Bd -literal -offset indent 52 On the following models it is reported to work: Let's note (or 53 Toughbook, outside Japan) CF-R1N, CF-R2A and CF-R3. 57 The first is to detect hotkey events and take corresponding actions, 59 The second role is to notify occurrences of the event by way of [all …]
|
H A D | acpi_thermal.4 | 14 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 52 driver also activates the active cooling system according to 55 .Bl -tag -width indent 57 Number of seconds to continue active cooling once started. 62 If set to 1, allow user override of various setpoints (below). 68 If this is non-negative, the appropriate _AC%d object is running. 69 Set this value to the desired active cooling level to force 70 the corresponding fan object to the appropriate level. 72 If set to 1, passive cooling is enabled. [all …]
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | virtual | 2 #------------------------------------------------------------------------------ 5 # Microsoft hard disk images for: 10 # Reference: https://download.microsoft.com/download/f/f/e/ffef50a5-07dd-4cf8-aaa3-442c0673a029/ 11 # Virtual%20Hard%20Disk%20Format%20Spec_10_18_06.doc 12 0 string conectix Microsoft Disk Image, Virtual Server or Virtual PC 14 #0 string conectix Microsoft Virtual Hard Disk image 16 !:mime application/x-virtualbox-vhd 18 # Features is a bit field used to indicate specific feature support 20 # Reserved. This bit must always be set to 1. 27 # Dynamic Disk Header cookie like cxsparse [all …]
|
/freebsd/share/man/man4/man4.i386/ |
H A D | apm.4 | 21 This driver is scheduled for removal prior to the release of 25 is an interface to the Intel / Microsoft APM (Advanced Power Management) BIOS 30 .Bl -enum -offset indent 34 adjusts the system clock to RTC. 38 passes a message to 56 .Bl -tag -width 4n -offset indent 58 Suspend system. 100 no need to use these two operations in most cases. 108 .Bl -column "xxxxxxxxxxxxxxxxx" "xxxxxxxxxxxxx" "xxxxxxxx" 110 .It Dv "PMEV_STANDBYREQ" Ta No "suspend system" Ta "standby request" [all …]
|
/freebsd/usr.sbin/acpi/acpiconf/ |
H A D | acpiconf.8 | 1 .\"- 2 .\" Copyright (c) 2000 Dag-Erling Smørgrav 14 .\" 3. The name of the author may not be used to endorse or promote products 18 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 22 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 45 The following command-line options are recognized: 46 .Bl -tag -width ".Fl s Ar type" 54 Ack or abort a pending suspend request using the argument provided. 62 (not implemented on most systems but similar to S1), 67 (the CPU context is lost and memory context is stored to disk). [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/procfs/ |
H A D | pool_state.ksh | 1 #!/bin/ksh -p 5 # The contents of this file are subject to the terms of the 10 # or https://opensource.org/licenses/CDDL-1.0. 33 # 3. Fault one disk 35 # 5. Create a new pool with a single scsi_debug disk 36 # 6. Remove the disk 38 # 8. Add the disk back in 48 if [ -n "$TESTPOOL2" ] ; then 49 if [ -n "$host" ] ; then 50 # Re-enable the disk [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_trim/ |
H A D | zpool_trim_start_and_cancel_neg.ksh | 1 #!/bin/ksh -p 31 # 1. Create a three-disk pool. 33 # 3. Try to cancel and suspend trimming on the non-trimming disks. 34 # 4. Try to re-trim the currently trimming disk. 38 DISK2="$(echo $DISKS | cut -d' ' -f2)" 39 DISK3="$(echo $DISKS | cut -d' ' -f3)" 41 log_must zpool list -v 42 log_must zpool create -f $TESTPOOL $DISK1 $DISK2 $DISK3 -O recordsize=4k 45 log_must zpool trim -r 1 $TESTPOOL $DISK1 47 [[ -z "$(trim_progress $TESTPOOL $DISK1)" ]] && \ [all …]
|
H A D | zpool_trim_online_offline.ksh | 1 #!/bin/ksh -p 30 # 1. Create a pool with a two-way mirror, prepare blocks to trim. 32 # 3. Offline the disk. 33 # 4. Online the disk. 35 # 6. Suspend trimming. 36 # 7. Repeat steps 3-4 and verify that trimming does not resume. 40 DISK2="$(echo $DISKS | cut -d' ' -f2)" 42 log_must zpool create -f $TESTPOOL mirror $DISK1 $DISK2 -O recordsize=4k 45 log_must zpool trim -r 1 $TESTPOOL $DISK1 50 [[ -z "$progress" ]] && log_fail "Trimming did not start" [all …]
|
/freebsd/lib/libsys/ |
H A D | acct.2 | 13 .\" may be used to endorse or promote products derived from this software 17 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 52 pathname (null-terminated), record collection is enabled and for 54 conditions an accounting record is appended to 69 This call is permitted only to the super-user. 77 .Bl -tag -width ".Va kern.acct_chkfreq" 79 Specifies the frequency (in seconds) with which free disk 82 The percentage of free disk space above which process 85 The percentage of free disk space below which process [all …]
|
/freebsd/sys/dev/mmc/ |
H A D | mmcsd.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 18 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28 * Portions of this software may have been developed with reference to 31 * The following conditions apply to the release of the simplified 35 * Group. This Simplified Specification is provided on a non-confidential 36 * basis subject to the disclaimers below. Any implementation of the 38 * Association, SD Group, SD-3C LLC or other third parties. 44 * is provided "AS-IS" without any representations or warranties of any [all …]
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | zil_impl.h | 4 * The contents of this file are subject to the terms of the 9 * or https://opensource.org/licenses/CDDL-1.0. 41 * An lwb will start out in the "new" state, and transition to the "opened" 42 * state via a call to zil_lwb_write_open() on first itx assignment. When 43 * transitioning from "new" to "opened" the zilog's "zl_issuer_lock" must be 48 * When transitioning from "opened" to "closed" the zilog's "zl_issuer_lock" 49 * must be held. New lwb allocation also takes "zl_lock" to protect the list. 55 * When lwb in "ready" state receives its block pointer, it can transition to 61 * "issued" to "write done", and then from "write done" to "flush done", 66 * transitioning an lwb from "issued" to "done". This allows us to avoid [all …]
|
H A D | dsl_scan.h | 4 * The contents of this file are subject to the terms of the 9 * or https://opensource.org/licenses/CDDL-1.0. 62 uint64_t scn_to_examine; /* total bytes to be scanned */ 88 uint64_t dep_to_examine; /* total error blocks to be scrubbed */ 99 * in-memory information about the scan and a pointer to the on-disk 101 * is contained on-disk to allow the scan to resume in the event of a reboot 107 * scn_suspending - a scan that cannot be completed in a single txg or 108 * has exceeded its allotted time will need to suspend. 110 * the pool and write out the current state to disk. 112 * scn_restart_txg - directs the scanner to either restart or start a [all …]
|
H A D | zvol_impl.h | 4 * The contents of this file are subject to the terms of the 9 * or https://opensource.org/licenses/CDDL-1.0. 31 #define ZVOL_WRITTEN_TO (1<<1) /* zvol has been written to (needs flush) */ 33 #define ZVOL_REMOVING (1<<3) /* zvol waiting to remove minor */ 36 * The in-core state of each volume. 45 uint32_t zv_changed; /* disk changed */ 55 atomic_t zv_suspend_ref; /* refcount for suspend */ 56 krwlock_t zv_suspend_lock; /* suspend lock */ 57 kcondvar_t zv_removing_cv; /* ready to remove minor */ 66 #define ZVOL_HT_HEAD(hash) (&zvol_htable[(hash) & (ZVOL_HT_SIZE-1)]) [all …]
|
/freebsd/contrib/openbsm/man/ |
H A D | audit_control.5 | 1 .\" Copyright (c) 2004-2009 Apple Inc. 7 .\" contract FA8650-15-C-7558 ("CADETS"), as part of the DARPA Transparent 19 .\" its contributors may be used to endorse or promote products derived 23 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 27 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 49 .Bl -tag -width indent 53 Changes to this entry can only be enacted by restarting the 57 for a description of how to restart the audit system. 59 When set to 64 will be creating hardlinks to all trail files in [all …]
|
/freebsd/lib/geom/eli/ |
H A D | geli.8 | 1 .\" Copyright (c) 2005-2019 Pawel Jakub Dawidek <pawel@dawidek.net> 14 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 To compile GEOM_ELI into your kernel, add the following lines to your kernel 34 .Bd -ragged -offset indent 39 Alternatively, to load the GEOM_ELI module at boot time, add the following line 40 to your 42 .Bd -litera [all...] |