| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/failmode/ |
| H A D | failmode_dmu_tx_wait.ksh | 1 #!/bin/ksh -p 2 # SPDX-License-Identifier: CDDL-1.0 8 # You may not use this file except in compliance with the License. 11 # or https://opensource.org/licenses/CDDL-1.0. 15 # When distributing Covered Code, include this CDDL HEADER in each 30 log_assert "dmu_tx_assign() blocks when pool suspends with failmode=wait" 32 typeset -i dd_pid=0 36 zinject -c all || true 38 test $dd_pid -gt 0 && kill -9 $dd_pid || true 46 # create a single-disk pool, set failmode=wait [all …]
|
| H A D | failmode.kshlib | 1 #!/bin/ksh -p 2 # SPDX-License-Identifier: CDDL-1.0 8 # You may not use this file except in compliance with the License. 11 # or https://opensource.org/licenses/CDDL-1.0. 15 # When distributing Covered Code, include this CDDL HEADER in each 30 typeset -A failmode_sync_helper_cmd=( 37 typeset -A failmode_sync_helper_dsopts=( 38 ["syncalways"]="-o sync=always" 43 zinject -c all || true 52 # - failmode: wait|continue [all …]
|
| H A D | failmode_dmu_tx_continue.ksh | 1 #!/bin/ksh -p 2 # SPDX-License-Identifier: CDDL-1.0 8 # You may not use this file except in compliance with the License. 11 # or https://opensource.org/licenses/CDDL-1.0. 15 # When distributing Covered Code, include this CDDL HEADER in each 32 typeset -i dd_pid=0 36 zinject -c all || true 38 test $dd_pid -gt 0 && kill -9 $dd_pid || true 46 # create a single-disk pool, set failmode=continue 47 log_must zpool create -o failmode=continue -f $TESTPOOL $DISK [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/syncfs/ |
| H A D | syncfs_suspend.ksh | 1 #!/bin/ksh -p 2 # SPDX-License-Identifier: CDDL-1.0 8 # You may not use this file except in compliance with the License. 11 # or https://opensource.org/licenses/CDDL-1.0. 15 # When distributing Covered Code, include this CDDL HEADER in each 32 typeset -i syncfs_pid=0 36 zinject -c all || true 38 test $syncfs_pid -gt 0 && kill -9 $syncfs_pid || true 46 # create a single-disk pool, set failmode=wait 47 log_must zpool create -o failmode=wait -f $TESTPOOL $DISK [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fault/ |
| H A D | suspend_on_probe_errors.ksh | 1 #!/bin/ksh -p 2 # SPDX-License-Identifier: CDDL-1.0 8 # You may not use this file except in compliance with the License. 11 # or https://opensource.org/licenses/CDDL-1.0. 15 # When distributing Covered Code, include this CDDL HEADER in each 32 # DESCRIPTION: Verify that 4 disks removed from a raidz3 will suspend the pool 35 # 1. Disable ZED -- this test is focused on vdev_probe errors 55 rm -f $DATA_FILE 56 for i in {0..$((FILE_VDEV_CNT - 1))}; do 57 log_must rm -f "$TEST_BASE_DIR/dev-$i" [all …]
|
| H A D | suspend_resume_single.ksh | 1 #!/bin/ksh -p 2 # SPDX-License-Identifier: CDDL-1.0 8 # You may not use this file except in compliance with the License. 11 # or https://opensource.org/licenses/CDDL-1.0. 15 # When distributing Covered Code, include this CDDL HEADER in each 37 rm -f $DATAFILE 42 log_assert "ensure single-disk pool resumes properly after suspend and clear" 52 # create a single-device pool 59 # copy data onto the pool. it'll appear to succeed, but only be in memory 62 # wait until sync starts, and the pool suspends [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/watchdog/ |
| H A D | fsl-imx-wdt.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/watchdog/fsl-imx-wdt.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Shawn Guo <shawnguo@kernel.org> 11 - Sascha Hauer <s.hauer@pengutronix.de> 12 - Fabio Estevam <festevam@gmail.com> 17 - const: fsl,imx21-wdt 18 - items: 19 - enum: [all …]
|
| /freebsd/sys/contrib/vchiq/interface/vchiq_arm/ |
| H A D | vchiq_arm.c | 3 * Copyright (c) 2010-2012 Broadcom. All rights reserved. 5 * Redistribution and use in source and binary forms, with or without 11 * 2. Redistributions in binary form must reproduce the above copyright 12 * notice, this list of conditions and the following disclaimer in the 14 * 3. The names of the above-listed copyright holders may not be used 25 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 30 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 31 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 48 /* Some per-instance constants */ 64 #define VC_SUSPEND_NUM_OFFSET 3 /* number of values before idle which are -ve */ [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/features/async_destroy/ |
| H A D | async_destroy_001_pos.ksh | 1 #!/bin/ksh -p 2 # SPDX-License-Identifier: CDDL-1.0 8 # You may not use this file except in compliance with the License. 11 # or https://opensource.org/licenses/CDDL-1.0. 15 # When distributing Covered Code, include this CDDL HEADER in each 32 # Exercise the traversal suspend/resume code in async_destroy by 34 # in a single txg. 39 # 3. Set compression to off to force zero-ed blocks to be written 42 # 6. Wait for the freeing property to go to 0 57 log_assert "async_destroy can suspend and resume traversal" [all …]
|
| /freebsd/usr.sbin/dumpcis/ |
| H A D | cardinfo.h | 4 *------------------------------------------------------------------------- 6 /*- 7 * SPDX-License-Identifier: BSD-3-Clause 11 * Redistribution and use in source and binary forms, with or without 16 * 2. Redistributions in binary form must reproduce the above copyright 17 * notice, this list of conditions and the following disclaimer in the 25 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 67 * ------------------- [all …]
|
| /freebsd/sys/contrib/openzfs/man/man8/ |
| H A D | zpool-initialize.8 | 1 .\" SPDX-License-Identifier: CDDL-1.0 7 .\" You may not use this file except in compliance with the License. 10 .\" or https://opensource.org/licenses/CDDL-1.0. 14 .\" When distributing Covered Code, include this CDDL HEADER in each 28 .\" Copyright (c) 2017 Open-E, Inc. All Rights Reserved. 36 .Nm zpool-initialize 48 devices, or all eligible devices in the pool if no individual devices are 51 .Bl -tag -width Ds 52 .It Fl a , -all 53 Begin, cancel, suspend initializing on [all …]
|
| H A D | zpool-trim.8 | 1 .\" SPDX-License-Identifier: CDDL-1.0 7 .\" You may not use this file except in compliance with the License. 10 .\" or https://opensource.org/licenses/CDDL-1.0. 14 .\" When distributing Covered Code, include this CDDL HEADER in each 28 .\" Copyright (c) 2017 Open-E, Inc. All Rights Reserved. 36 .Nm zpool-trim 37 .Nd initiate TRIM of free space in ZFS storage pool 48 Initiates an immediate on-demand TRIM operation for all of the free space in 54 A manual on-demand TRIM operation can be initiated irrespective of the 60 .Bl -tag -width Ds [all …]
|
| /freebsd/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_wait_release.h | 2 * kmp_wait_release.h -- Wait/Release implementation 5 //===----------------------------------------------------------------------===// 9 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 11 //===----------------------------------------------------------------------===// 20 #include "ompt-specific.h" 24 @defgroup WAIT_RELEASE Wait/Release operations 106 flag_properties t; /**< "Type" of the flag in loc */ 121 /*! param i in index into waiting_threads 129 /*! @param thr in the thread which is now waiting 138 /*! Base class for wait/release volatile flag */ [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/ |
| H A D | zpool_initialize_suspend_resume.ksh | 1 #!/bin/ksh -p 2 # SPDX-License-Identifier: CDDL-1.0 8 # You may not use this file except in compliance with the License. 11 # or https://opensource.org/licenses/CDDL-1.0. 15 # When distributing Covered Code, include this CDDL HEADER in each 35 # 1. Create a one-disk pool. 37 # 3. Wait 3 seconds, then suspend initializing and verify that the progress 39 # 4. Wait 5 seconds and ensure initializing progress doesn't advance. 45 log_must zpool create -f $TESTPOOL $DISK1 48 [[ -z "$(initialize_progress $TESTPOOL $DISK1)" ]] && \ [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_trim/ |
| H A D | zpool_trim_suspend_resume.ksh | 1 #!/bin/ksh -p 2 # SPDX-License-Identifier: CDDL-1.0 8 # You may only use this file in accordance with the terms of version 31 # 1. Create a one-disk pool. 33 # 3. Wait 3 seconds, then suspend trimming and verify that the progress 35 # 4. Wait 3 seconds and ensure trimming progress doesn't advance. 45 if [[ -d "$TESTDIR" ]]; then 46 rm -rf "$TESTDIR" 53 log_must truncate -s 10G "$LARGEFILE" 54 log_must zpool create -f $TESTPOOL $LARGEFILE [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/replacement/ |
| H A D | resilver_restart_001.ksh | 1 #!/bin/ksh -p 2 # SPDX-License-Identifier: CDDL-1.0 9 # You may only use this file in accordance with the terms of version 37 # a. Replace a vdev with a spare & suspend resilver immediately 43 # g. Unsuspend resilver and wait for it to finish 55 log_must zinject -c all 57 rm -f ${VDEV_FILES[@]} $SPARE_VDEV_FILE 60 # count resilver events in zpool and number of deferred rsilvers on vdevs 67 # check the number of resilver start in events log 68 RESILVERS=$(zpool events | grep -c sysevent.fs.zfs.resilver_start) [all …]
|
| /freebsd/contrib/kyua/utils/process/ |
| H A D | operations_test.cpp | 4 // Redistribution and use in source and binary forms, with or without 10 // * Redistributions in binary form must reproduce the above copyright 11 // notice, this list of conditions and the following disclaimer in the 20 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 33 #include <sys/wait.h> 42 #include <atf-c++.hpp> 73 return fs::path(tc->get_config_var("srcdir")) / "helpers"; in get_helpers() 120 static void suspend(void) UTILS_NORETURN; [all …]
|
| /freebsd/usr.sbin/apmd/ |
| H A D | apmd.8 | 7 .\" Redistribution and use in source and binary forms, with or without 12 .\" 2. Redistributions in binary form must reproduce the above copyright 13 .\" notice, this list of conditions and the following disclaimer in the 19 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 23 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 48 Only the events specified in the 54 invokes the sequence of commands specified in the configuration file. 57 is running with monitoring suspend/standby requests, 61 built-in functions in the configuration file. [all …]
|
| /freebsd/tools/test/stress2/misc/ |
| H A D | pcatch.sh | 7 # Redistribution and use in source and binary forms, with or without 12 # 2. Redistributions in binary form must reproduce the above copyright 13 # notice, this list of conditions and the following disclaimer in the 19 # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 23 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 # Fixed in r275744. 40 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 41 [ -z "$DEBUG" ] && exit 0 # Waiting for fix 48 mycc -o pcatch -Wall -Wextra -O0 -g pcatch.c || exit 1 [all …]
|
| /freebsd/share/man/man4/ |
| H A D | acpi.4 | 5 .\" Redistribution and use in source and binary forms, with or without 10 .\" 2. Redistributions in binary form must reproduce the above copyright 11 .\" notice, this list of conditions and the following disclaimer in the 17 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 21 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 65 .Bl -tag -width indent 85 if it is listed in 125 Suspend state 133 Suspend state [all …]
|
| /freebsd/sys/arm/freescale/imx/ |
| H A D | imx_wdogreg.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 9 * Redistribution and use in source and binary forms, with or without 14 * 2. Redistributions in binary form must reproduce the above copyright 15 * notice, this list of conditions and the following disclaimer in the 21 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 36 #define WDOG_CR_WDW (1u << 7) /* Suspend when in WAIT mode */ 41 #define WDOG_CR_WDBG (1u << 1) /* Suspend when DBG mode */ [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm64/rockchip/ |
| H A D | rk3399-pinephone-pro.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 * https://files.pine64.org/doc/PinePhonePro/PinephonePro-Schematic-V1.0-20211127.pdf 12 /dts-v1/; 13 #include <dt-bindings/input/gpio-keys.h> 14 #include <dt-bindings/input/linux-event-codes.h> 15 #include <dt-bindings/leds/common.h> 20 compatible = "pine64,pinephone-pro", "rockchip,rk3399"; 21 chassis-type = "handset"; 30 stdout-path = "serial2:115200n8"; 33 adc-keys { [all …]
|
| /freebsd/share/man/man9/ |
| H A D | kthread.9 | 1 .\" Copyright (c) 2000-2001 6 .\" Redistribution and use in source and binary forms, with or without 11 .\" 2. Redistributions in binary form must reproduce the above copyright 12 .\" notice, this list of conditions and the following disclaimer in the 18 .\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 22 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 85 function appears in both pages as its functionality is split. 103 .Bd -literal -offset indent 114 .Bl -tag -width ".Va global_threadpp" -offset indent [all …]
|
| H A D | kproc.9 | 1 .\" Copyright (c) 2000-2001 6 .\" Redistribution and use in source and binary forms, with or without 11 .\" 2. Redistributions in binary form must reproduce the above copyright 12 .\" notice, this list of conditions and the following disclaimer in the 18 .\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 22 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 85 function appears in both pages as its functionality is split. 103 .Bd -literal -offset indent 114 .Bl -tag -width ".Va global_procpp" -offset indent [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/powerpc/ |
| H A D | sleep.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 13 Devices on SOCs often have mechanisms for placing devices into low-power 15 this information is more complicated than a cell-index property can 16 reasonably describe. Thus, each device controlled in such a manner 21 controller-specific sleep specifier of zero or more cells. 27 - Dynamic: The device may be disabled or enabled at any time. 28 - System Suspend: The device may request to be disabled or remain [all …]
|