Home
last modified time | relevance | path

Searched +full:suspend +full:- +full:in +full:- +full:wait (Results 1 – 25 of 280) sorted by relevance

12345678910>>...12

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fault/
H A Dsuspend_on_probe_errors.ksh1 #!/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 Dsuspend_resume_single.ksh1 #!/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 Dfsl-imx-wdt.yaml1 # 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 Dvchiq_arm.c3 * 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 Dasync_destroy_001_pos.ksh1 #!/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 Dcardinfo.h4 *-------------------------------------------------------------------------
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/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_wait_release.h2 * 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/man/man8/
H A Dzpool-trim.81 .\" 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.
35 .Nm zpool-trim
36 .Nd initiate TRIM of free space in ZFS storage pool
47 Initiates an immediate on-demand TRIM operation for all of the free space in
53 A manual on-demand TRIM operation can be initiated irrespective of the
59 .Bl -tag -width Ds
[all …]
H A Dzpool-initialize.81 .\" 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.
35 .Nm zpool-initialize
47 devices, or all eligible devices in the pool if no individual devices are
50 .Bl -tag -width Ds
51 .It Fl c , -cancel
56 .It Fl s , -suspend
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/
H A Dzpool_initialize_suspend_resume.ksh1 #!/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 Dzpool_trim_suspend_resume.ksh1 #!/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 Dresilver_restart_001.ksh1 #!/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 Doperations_test.cpp4 // 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/tools/test/stress2/misc/
H A Dpcatch.sh7 # 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/usr.sbin/apmd/
H A Dapmd.87 .\" 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 …]
H A DREADME17 ---------------------------------------
26 -------------------------------------------------------
32 # gzip -cd [somewhere]/apmd-sys-R320.diff | patch
34 For PAO3 users, the patch file name would be apmd-sys-PAO3.diff
35 instead of apmd-sys-R320.diff. After this step has completed
39 ---------------------------
43 # tar xzpvf [somewhere]/apmd-usr.sbin.tar.gz
45 Before doing a make all, you need to copy apm_bios.h in the sys source
50 Then do the build and install steps in the apmd directory:
56 ---------------------------------------------------------
[all …]
/freebsd/share/man/man4/
H A Dacpi.45 .\" 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 Dimx_wdogreg.h1 /*-
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 Drk3399-pinephone-pro.dts1 // 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 Dkthread.91 .\" 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 Dkproc.91 .\" 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 Dsleep.yaml1 # 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 …]
/freebsd/sys/dev/rtwn/rtl8188e/usb/
H A Dr88eu_init.c3 /*-
6 * Copyright (c) 2015-2016 Andriy Voskoboinyk <avos@FreeBSD.org>
10 * copyright notice and this permission notice appear in all copies.
14 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
16 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
18 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
81 /* Wait for power ready bit. */ in r88eu_power_on()
88 device_printf(sc->sc_dev, in r88eu_power_on()
103 /* Disable WL suspend. */ in r88eu_power_on()
128 ((sc->sc_hwcrypto != RTWN_CRYPTO_SW) ? R92C_CR_ENSEC : 0) | in r88eu_power_on()
[all …]
/freebsd/sys/dev/rtwn/rtl8821a/
H A Dr21a_init.c1 /*-
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
71 /* Clear suspend and power down bits.*/ in r21a_power_on()
78 /* Enable WL suspend. */ in r21a_power_on()
95 /* Disable SW LPS and WL suspend. */ in r21a_power_on()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/cpu/
H A Didle-states.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/cpu/idle-states.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
11 - Anup Patel <anup@brainfault.org>
15 1 - Introduction
18 ARM and RISC-V systems contain HW capable of managing power consumption
19 dynamically, where cores can be put in different low-power states (ranging
22 run-time, can be specified through device tree bindings representing the
[all …]

12345678910>>...12