Home
last modified time | relevance | path

Searched +full:sync +full:- +full:1 (Results 1 – 25 of 1106) sorted by relevance

12345678910>>...45

/freebsd-src/sys/dev/usb/serial/
H A Duipaq.c4 /*-
5 * SPDX-License-Identifier: BSD-2-Clause
7 * Copyright (c) 2000-2005 The NetBSD Foundation, Inc.
17 * 1. Redistributions of source code must retain the above copyright
78 #define UIPAQ_CONFIG_INDEX 0 /* config number 1 */
127 .flags = {.pipe_bof = 1,.force_short_xfer = 1,},
136 .flags = {.pipe_bof = 1,.short_xfer_ok = 1,},
159 /* Socket USB Sync */
161 /* USB Sync 0301 */
163 /* USB Sync 0302 */
[all …]
/freebsd-src/contrib/processor-trace/libipt/test/src/
H A Dptunit-sync.c2 * Copyright (c) 2014-2019, Intel Corporation
34 #include "intel-pt.h"
37 /* A test fixture for sync tests. */
52 memset(sfix->buffer, 0xcd, sizeof(sfix->buffer)); in sfix_init()
54 memset(&sfix->config, 0, sizeof(sfix->config)); in sfix_init()
55 sfix->config.size = sizeof(sfix->config); in sfix_init()
56 sfix->config.begin = sfix->buffer; in sfix_init()
57 sfix->config.end = sfix->buffer + sizeof(sfix->buffer); in sfix_init()
78 const uint8_t *sync; in sync_fwd_null() local
81 errcode = pt_sync_forward(NULL, sfix->config.begin, &sfix->config); in sync_fwd_null()
[all …]
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_sync/
H A Dzpool_sync_001_pos.ksh1 #!/bin/ksh -p
23 # Verify 'zpool sync' can sync txgs to the pool(s) main vdevs.
26 # 1. Create a pool
28 # 3. Create a file in the pool if we're not using force sync
29 # 4. Use zpool sync to sync pool
36 typeset -i txg=$(zdb -u $1 | sed -n 's/^[ ][ ]*txg = \(.*\)$/\1/p')
40 set -A args "sync $TESTPOOL" "sync -f $TESTPOOL" "sync" "sync -f"
42 log_assert "Verify 'zpool sync' can sync a pool"
44 typeset -i i=0
45 typeset -i orig_txg=0
[all …]
H A Dzpool_sync_002_neg.ksh1 #!/bin/ksh -p
23 # A badly formed parameter passed to 'zpool sync' should
27 # 1. Create an array containing bad 'zpool sync' parameters.
28 # 2. For each element, execute the sub-command.
34 set -A args "1" "-a" "-?" "--%" "-123456" "0.5" "-o" "-b" "-b no" "-z 2"
36 log_assert "Execute 'zpool sync' using invalid parameters."
38 typeset -i i=0
39 while [[ $i -lt ${#args[*]} ]]; do
40 log_mustnot zpool sync ${args[i]}
41 ((i = i + 1))
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/sound/
H A Dqcom,q6dsp-lpass-ports.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/qcom,q6dsp-lpass-ports.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
18 - qcom,q6afe-dais
20 '#sound-dai-cells':
21 const: 1
23 '#address-cells':
24 const: 1
[all …]
/freebsd-src/sys/contrib/openzfs/module/zfs/
H A Dzcp_synctask.c71 * If 'sync' is false, executes a dry run and returns the error code.
74 * (meaning we are running a zfs.sync function in open-context) then we
83 dsl_syncfunc_t *syncfunc, void *arg, boolean_t sync, const char *err_dsname) in zcp_sync_task() argument
88 err = checkfunc(arg, ri->zri_tx); in zcp_sync_task()
89 if (!sync) in zcp_sync_task()
92 if (!ri->zri_sync) { in zcp_sync_task()
93 return (luaL_error(state, "running functions from the zfs.sync " in zcp_sync_task()
94 "submodule requires passing sync=TRUE to " in zcp_sync_task()
95 "lzc_channel_program() (i.e. do not specify the \"-n\" " in zcp_sync_task()
100 syncfunc(arg, ri->zri_tx); in zcp_sync_task()
[all …]
/freebsd-src/usr.sbin/bhyve/
H A Dmevent_test.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
10 * 1. Redistributions of source code must retain the above copyright
33 * cc mevent_test.c mevent.c -lpthread
78 for (j = 1; j < TEVSZ; j++) { in timer_print()
80 diff = (tevbuf[j] - tevbuf[j-1]) * 1000000 / tsc_freq; in timer_print()
89 sum/(TEVSZ - 1)); in timer_print()
118 struct esync *sync = param; in echoer_callback() local
120 pthread_mutex_lock(&sync->e_mt); in echoer_callback()
121 pthread_cond_signal(&sync->e_cond); in echoer_callback()
[all …]
/freebsd-src/tools/test/stress2/tools/
H A Dbench.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
9 * 1. Redistributions of source code must retain the above copyright
46 #define SYNC 0 macro
66 setproctitle("%s sync", __func__); in cr1()
67 atomic_add_int(&share[SYNC], 1); in cr1()
68 while (share[SYNC] != (volatile u_int)tests * PARALLEL) in cr1()
76 DEFFILEMODE)) == -1) in cr1()
77 err(1, "open(%s)", file); in cr1()
85 if (unlink(file) == -1) in cr1()
[all …]
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/
H A Dtst.parse_args_neg.ksh1 #!/bin/ksh -p
21 # Try calling zfs.sync.destroy with various arguments that are not
27 set -A progs "zfs.sync.destroy(\"foo\", \"bar\")" \
28 "zfs.sync.destroy(\"foo\", 12345)" \
29 "zfs.sync.destroy(12345)" \
30 "zfs.sync.destroy()" \
31 "zfs.sync.destroy{\"foo\", bar=true}" \
32 "zfs.sync.destroy{\"foo\", defer=12345}" \
33 "zfs.sync.destroy{\"foo\", defer=true, 12345}" \
34 "zfs.sync.destroy{\"foo\", defer=true, bar=12345}" \
[all …]
H A Dtst.snapshot_neg.zcp1 --
2 -- This file and its contents are supplied under the terms of the
3 -- Common Development and Distribution License ("CDDL"), version 1.0.
4 -- You may only use this file in accordance with the terms of version
5 -- 1.0 of the CDDL.
6 --
7 -- A full copy of the text of the CDDL should have accompanied this
8 -- source. A copy of the CDDL is also available via the Internet at
9 -- http://www.illumos.org/license/CDDL.
10 --
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/soc/fsl/cpm_qe/
H A Dfsl,cpm1-tsa.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,cpm1-tsa.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: PowerQUICC CPM Time-slot assigner (TSA) controller
10 - Herve Codina <herve.codina@bootlin.com>
13 The TSA is the time-slot assigner that can be found on some PowerQUICC SoC.
14 Its purpose is to route some TDM time-slots to other internal serial
20 - enum:
21 - fsl,mpc885-tsa
[all …]
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/removal/
H A Dremoval_nopwrite.ksh1 #! /bin/ksh -p
40 log_must zfs set copies=1 $origin
42 dd if=/dev/urandom of=$TESTDIR/file_8k bs=1024k count=$MEGS oflag=sync \
43 conv=notrunc >/dev/null 2>&1 || log_fail "dd into $TESTDIR/file failed."
45 dd if=/dev/urandom of=$TESTDIR/file_8k_copies bs=1024k count=$MEGS oflag=sync \
46 conv=notrunc >/dev/null 2>&1 || log_fail "dd into $TESTDIR/file failed."
48 log_must zfs set copies=1 $origin
50 dd if=/dev/urandom of=$TESTDIR/file_128k bs=1024k count=$MEGS oflag=sync \
51 conv=notrunc >/dev/null 2>&1 || log_fail "dd into $TESTDIR/file failed."
54 count=$MEGS oflag=sync conv=notrunc >/dev/null 2>&1 || \
[all …]
/freebsd-src/sys/contrib/openzfs/man/man8/
H A Dzfs-program.816 .Dt ZFS-PROGRAM 8
20 .Nm zfs-program
26 .Op Fl t Ar instruction-limit
27 .Op Fl m Ar memory-limit
52 .Bl -tag -width "-t"
53 .It Fl j , -json
55 When this flag is specified and standard output is empty -
59 Executes a read-onl
[all...]
/freebsd-src/tools/test/stress2/misc/
H A Difconfig2.sh4 # SPDX-License-Identifier: BSD-2-Clause
11 # 1. Redistributions of source code must retain the above copyright
37 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
38 if=`ifconfig | grep -w mtu | grep -v RUNNING | sed 's/:.*//' | head -1`
39 [ -z "$if" ] &&
41 awk '/^[a-z].*: / {gsub(":", ""); ifn = $1}; /no car/{print ifn; exit}'`
43 [ -z "$if" ] && exit 0
45 ifconfig $if | grep -q RUNNING && running=1
47 sync=/tmp/`basename $0`.sync
48 rm -f $sync
[all …]
H A Dadvlock.sh10 # 1. Redistributions of source code must retain the above copyright
36 # The second change closes a race where a read-only open() with O_SHLOCK or
37 # O_EXLOCK may return successfully while the write count is non-zero due to
51 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
56 sed '1,/^EOF/d' < $odir/$0 > $dir/advlock.c
57 mycc -o advlock -Wall -Wextra -O0 -g advlock.c || exit 1
58 rm -f advlock.c
60 mount | grep "on $mntpoint " | grep -q /dev/md && umount -f $mntpoint
61 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart
62 mdconfig -a -t swap -s 512m -u $mdstart || exit 1
[all …]
/freebsd-src/contrib/ntp/include/
H A Dntp_syslog.h31 #define LOG_ALERT 1 /* action must be taken immediately */
37 #define LOG_DEBUG 7 /* debug-level messages */
52 #define NLOG_SYSSTATUS 0x00000004 /* system status (sync/unsync) */
59 #define NLOG_PEERSTATUS 0x00000040 /* peer status (sync/unsync) */
66 #define NLOG_CLOCKSTATUS 0x00000400 /* clock status (sync/unsync) */
69 #define NLOG_OSYNC 12 /* offset for sync flags */
70 #define NLOG_SYNCMASK 0x0000F000 /* sync log events */
71 #define NLOG_SYNCINFO 0x00001000 /* sync info log events */
72 #define NLOG_SYNCEVENT 0x00002000 /* sync events */
73 #define NLOG_SYNCSTATUS 0x00004000 /* sync status (sync/unsync) */
[all …]
/freebsd-src/usr.sbin/apmd/
H A Dapmd.810 .\" 1. Redistributions of source code must retain the above copyright
61 built-in functions in the configuration file.
66 .Bl -tag -width f_file
143 .Bd -literal
145 exec "sync && sync && sync";
146 exec "sleep 1";
156 .Ql sync
160 .Bl -bullet
163 .Bd -ragged -offset indent
170 .Bd -ragged -offset indent
[all …]
H A Dapmd.conf10 exec "sync && sync && sync";
11 exec "sleep 1";
12 exec "apm -z";
27 # exec "kill -HUP `cat /var/run/moused.pid`";
35 # exec "sync && sync && sync";
36 # exec "sleep 1";
37 # exec "apm -Z";
42 # exec "logger -p user.emerg battery status critical!";
43 # exec "echo T250L8CE-GE-C >/dev/speaker";
45 #apm_battery 1% discharging {
[all …]
/freebsd-src/contrib/ntp/ntpd/
H A Drefclock_wwv.c2 * refclock_wwv - clock driver for NIST WWV/H time/frequency station
24 #define ICOM 1
43 * kHz and mu-law companding. This is the same standard as used by the
53 * Report 97-8-1, University of Delaware, August 1997, 25 pp., available
61 * a nonzero ICOM ID select code. The C-IV trace is turned on if the
68 * port, where 0 is the mike port (default) and 1 is the line-in port.
74 * CEVNT_PROP propagation failure - no stations heard
82 #define PRECISION (-10) /* precision assumed (about 1 ms) */
99 #define AUDIO_PHI 5e-6 /* dispersion growth factor */
120 * on signal loss. SSYNC is set when the second sync pulse has been
[all …]
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/nopwrite/
H A Dnopwrite_sync.ksh23 # Verify that nopwrite works for sync writes
26 # 1. Create an origin fs with compression and sha256.
28 # 3. Use dd with the sync flag to test the sync write path.
37 datasetexists $origin && destroy_dataset $origin -R
38 log_must zfs create -o mountpoint=$TESTDIR $origin
41 log_assert "nopwrite works for sync writes"
45 dd if=/dev/urandom of=$TESTDIR/file bs=1024k count=$MEGS oflag=sync \
46 conv=notrunc >/dev/null 2>&1 || log_fail "dd into $TESTDIR/file failed."
51 oflag=sync conv=notrunc >/dev/null 2>&1 || log_fail "dd failed."
55 log_pass "nopwrite works for sync writes"
/freebsd-src/sys/contrib/device-tree/Bindings/display/panel/
H A Dpanel-timing.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/display/panel/panel-timing.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Thierry Reding <thierry.reding@gmail.com>
11 - Sam Ravnborg <sam@ravnborg.org>
20 +-------+----------+-------------------------------------+----------+
24 +-------+----------+-------------------------------------+----------+
28 +-------+----------#######################################----------+
33 |<----->|<-------->#<-------+--------------------------->#<-------->|
[all …]
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/slog/
H A Dslog_replay_fs_001.ksh1 #!/bin/ksh -p
10 # or https://opensource.org/licenses/CDDL-1.0.
42 # "freeze" command is required to flush the in-flight transactions;
48 # 1. Create an empty file system (TESTFS)
66 # 1. Create an empty file system (TESTFS)
77 log_must dd if=/dev/zero of=/$TESTPOOL/$TESTFS/sync \
78 conv=fdatasync,fsync bs=1 count=1
86 oflag=sync,direct bs=4k count=1
[all...]
/freebsd-src/sys/powerpc/aim/
H A Dmp_cpudep.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
11 * 1. Redistributions of source code must retain the above copyright
79 __asm __volatile("ld %0, 16(%2); sync; isync; \ in cpudep_ap_early_bootstrap()
80 mtspr %1, %0; sync; isync;" in cpudep_ap_early_bootstrap()
82 __asm __volatile("ld %0, 24(%2); sync; isync; \ in cpudep_ap_early_bootstrap()
83 mtspr %1, %0; sync; isync;" in cpudep_ap_early_bootstrap()
106 * Nuke FSCR, to be managed on a per-process basis in cpudep_ap_early_bootstrap()
127 pcpup->pc_curthread = pcpup->pc_idlethread; in cpudep_ap_bootstrap()
129 __asm __volatile("mr 13,%0" :: "r"(pcpup->pc_curthread)); in cpudep_ap_bootstrap()
[all …]
/freebsd-src/contrib/ntp/html/drivers/
H A Ddriver34.html1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
6 <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
14 <!-- #BeginDate format:En2m -->31-Dec-2007 19:43<!-- #EndDate -->
21 Serial Port: <tt>/dev/wwvb<i>u</i></tt>; 9600 bps, 8-bits, no parity<br>
24 …<p>This driver supports the Ultralink Model 325 (replacement for Model 320) RS-232 powered WWVB re…
29 1 = prev. received data bit, values: 0, 1 ,M or ? unknown
34 DDD = current day in the year from 1 to 365/366<br>
45 +5 = UT1 correction, +/- .1 sec increments</p>
46 …el 33X behavior. On a unmodified new ULM325 clock, the polling flag (flag1 =1) needs to be set.</p>
49 <p>S = 'S' -- sync'd in last hour, '0'-'9' - hours x 10 since last update, else '?'<br>
[all …]
/freebsd-src/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_thread.cpp1 //===-- tsan_rtl_thread.cpp --------
111 VectorClock *sync; global() member
289 VectorClock *sync; global() member
[all...]

12345678910>>...45